Ejemplo n.º 1
0
 protected function getDateTimeClass(Column $column)
 {
     if (PropelTypes::isPhpObjectType($column->getPhpType())) {
         return $column->getPhpType();
     }
     $dateTimeClass = $this->getBuildProperty('generator.dateTime.dateTimeClass');
     if (!$dateTimeClass) {
         $dateTimeClass = '\\DateTime';
     }
     return $dateTimeClass;
 }
Ejemplo n.º 2
0
 /**
  * Returns whether or not the column PHP native type is an object.
  *
  * @return boolean
  * @see PropelTypes::isPhpObjectType()
  */
 public function isPhpObjectType()
 {
     return PropelTypes::isPhpObjectType($this->getPhpType());
 }