예제 #1
0
 /**
  * Returns the column PDO type integer for this column's mapping type.
  *
  * @return integer
  */
 public function getPDOType()
 {
     return PropelTypes::getPDOType($this->getType());
 }
예제 #2
0
파일: Column.php 프로젝트: eat24/propel
 /**
  * Returns the column PDO type integer for this column's mapping type.
  *
  * @return integer
  */
 public function getPDOType()
 {
     if ($this->isCustomType()) {
         $customType = $this->getCustomType();
         return $customType::__getPDOType();
     }
     return PropelTypes::getPDOType($this->getType());
 }