public function __construct($tablename, $identityMap = array()) { parent::__construct($tablename); foreach (self::identityMapToConditionArray($identityMap) as $condition) { $this->addCondition($condition); } }
public function __construct($sTablename, $sId, $sPrimaryKeyColumn = 'id') { parent::__construct($sTablename); $this->sId = $sId; $this->sPrimaryKeyColumn = $sPrimaryKeyColumn; }