/** * * @param Nivel $nivel * @return boolean */ public function igual($nivel) { if ($nivel->getIdNivel() == $this->idNivel) { return true; } else { return false; } }
public function getIdNivel() { if ($this->__isInitialized__ === false) { return (int) $this->_identifier["idNivel"]; } $this->__load(); return parent::getIdNivel(); }