Пример #1
0
 public function __construct($tablename, $identityMap = array())
 {
     parent::__construct($tablename);
     foreach (self::identityMapToConditionArray($identityMap) as $condition) {
         $this->addCondition($condition);
     }
 }
Пример #2
0
 public function __construct($sTablename, $sId, $sPrimaryKeyColumn = 'id')
 {
     parent::__construct($sTablename);
     $this->sId = $sId;
     $this->sPrimaryKeyColumn = $sPrimaryKeyColumn;
 }