getPrimary() публичный Метод

Returns primary key value.
public getPrimary ( $need = TRUE ) : mixed
Результат mixed possible int, string, array, object (Nette\Utils\DateTime)
Пример #1
0
 /**
  * Returns primary key value.
  *
  * @param $need bool
  * @return mixed possible int, string, array, object (Nette\Utils\DateTime)
  */
 public function getPrimary($need = TRUE)
 {
     return $this->activeRow->getPrimary($need);
 }