configure() public method

Important call directly after the creation of this class.
public configure ( string $objectKey, Object $definition )
$objectKey string
$definition Object
コード例 #1
0
ファイル: Propel.php プロジェクト: jarves/jarves
 public function configure($objectKey, $definition)
 {
     parent::configure($objectKey, $definition);
     if ($this->propelPrimaryKeys) {
         return;
     }
     $this->query = $this->getQueryClass();
     $this->tableMap = $this->query->getTableMap();
     $this->propelPrimaryKeys = $this->tableMap->getPrimaryKeys();
 }