Changeset 5840
- Timestamp:
- 11/04/07 15:24:54 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/plugins/sfPropelPlugin/lib/propel/builder/SfObjectBuilder.php
r5815 r5840 156 156 157 157 $script .= ' 158 public function get'.$col->getPhpName().'() 159 { 160 $obj = $this->getCurrent'.$className.'(); 161 162 return ($obj ? $obj->get'.$col->getPhpName().'() : null); 163 } 164 165 public function set'.$col->getPhpName().'($value) 166 { 167 $this->getCurrent'.$className.'()->set'.$col->getPhpName().'($value); 158 public function get'.$col->getPhpName().'($culture = null) 159 { 160 return $this->getCurrent'.$className.'($culture)->get'.$col->getPhpName().'(); 161 } 162 163 public function set'.$col->getPhpName().'($value, $culture = null) 164 { 165 $this->getCurrent'.$className.'($culture)->set'.$col->getPhpName().'($value); 168 166 } 169 167 ';

