Changeset 1365
- Timestamp:
- 05/14/06 15:02:45 (7 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/generator/sfPropelAdminGenerator.class.php
r1340 r1365 262 262 if ($column->isPartial()) 263 263 { 264 return "include_partial('".$column->getName()."', array(' {$this->getSingularName()}' => \${$this->getSingularName()}))";264 return "include_partial('".$column->getName()."', array('type' => 'edit', '{$this->getSingularName()}' => \${$this->getSingularName()}))"; 265 265 } 266 266 … … 512 512 if ($column->isPartial()) 513 513 { 514 return "include_partial('".$column->getName()."', array(' {$this->getSingularName()}' => \${$this->getSingularName()}))";514 return "include_partial('".$column->getName()."', array('type' => 'list', '{$this->getSingularName()}' => \${$this->getSingularName()}))"; 515 515 } 516 516 else if ($type == CreoleTypes::DATE || $type == CreoleTypes::TIMESTAMP) … … 537 537 if ($column->isPartial()) 538 538 { 539 return "include_partial(' ".$column->getName()."', array('filters' => \$filters))";539 return "include_partial('type' => 'filter', '".$column->getName()."', array('filters' => \$filters))"; 540 540 } 541 541