コード例 #1
0
ファイル: Column.php プロジェクト: bondarovich/Propel2
 /**
  * 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());
 }