Exemplo n.º 1
0
 public function getRow($select)
 {
     if (is_string($select) || is_int($select)) {
         //primary key given, skip query and use already existing row
         if (!is_array($this->getPrimaryKey())) {
             $select = $this->transformColumnName($select);
             if (isset($this->_rows[$select])) {
                 return $this->_rows[$select];
             }
         }
     }
     return parent::getRow($select);
 }