src/Towel/Model/BaseModel.php
public function getId() {
    if (empty($this->record[$this->id_name])) {
      return FALSE;
    }

    return $this->record[$this->id_name];
  }
public function getId() {
    if (empty($this->record[$this->id_name])) {
      return FALSE;
    }

    return $this->record[$this->id_name];
  }
public function getId ( ) { if ( empty ( $ this -> record [ $ this -> id_name ] ) ) { return FALSE ; } return $ this -> record [ $ this -> id_name ] ; }
Gets the ID value or false.

@return mixed ID Value or false.
Gets the ID value or false .