offsetExists() public method

Tests if column exists.
public offsetExists ( $key ) : boolean
return boolean
 /**
  * 
  * @param \Nette\Database\Table\ActiveRow $row
  * @return \dbEntities\AbstractDBEntity
  */
 public function loadFromActiveRow(ActiveRow $row)
 {
     $referenceVar = $this->getReferenceArray();
     foreach ($referenceVar as $column => &$varRef) {
         if ($row->offsetExists($column)) {
             $varRef = $row[$column];
         }
     }
     return $this;
 }