コード例 #1
0
ファイル: Column.php プロジェクト: ketheriel/ETVA
 public function isDefaultSqlType(PropelPlatformInterface $platform = null)
 {
     if (null === $this->domain || null === $this->domain->getSqlType() || null === $platform) {
         return true;
     }
     $defaultSqlType = $platform->getDomainForType($this->getType())->getSqlType();
     if ($defaultSqlType == $this->getDomain()->getSqlType()) {
         return true;
     }
     return false;
 }