protected function _getFindStatment($pkey) { if (!is_array($pkey)) { $pkey = array('cod_escola' => $pkey); } return parent::_getFindStatment($pkey); }
public function __construct(clsBanco $db = NULL) { $this->_attributeMap['aluno'] = 'cod_aluno'; $this->_attributeMap['alunoInep'] = 'cod_aluno_inep'; parent::__construct($db); }
public function __construct(clsBanco $db = NULL) { $this->_attributeMap['docente'] = 'cod_servidor'; $this->_attributeMap['docenteInep'] = 'cod_docente_inep'; parent::__construct($db); }