-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from victorhsanjos/psr-2-modules-docente
PSR-2 em modules/Docente
- Loading branch information
Showing
5 changed files
with
308 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,40 @@ | ||
<?php | ||
|
||
/** | ||
* i-Educar - Sistema de gestão escolar | ||
* | ||
* Copyright (C) 2006 Prefeitura Municipal de Itajaí | ||
* <ctima@itajai.sc.gov.br> | ||
* | ||
* Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo | ||
* sob os termos da Licença Pública Geral GNU conforme publicada pela Free | ||
* Software Foundation; tanto a versão 2 da Licença, como (a seu critério) | ||
* qualquer versão posterior. | ||
* | ||
* Este programa é distribuído na expectativa de que seja útil, porém, SEM | ||
* NENHUMA GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE OU | ||
* ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença Pública Geral | ||
* do GNU para mais detalhes. | ||
* | ||
* Você deve ter recebido uma cópia da Licença Pública Geral do GNU junto | ||
* com este programa; se não, escreva para a Free Software Foundation, Inc., no | ||
* endereço 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | ||
* | ||
* @author Eriksen Costa Paixão <eriksen.paixao_bs@cobra.com.br> | ||
* @category i-Educar | ||
* @license @@license@@ | ||
* @package Docente | ||
* @subpackage Modules | ||
* @since Arquivo disponível desde a versão 1.2.0 | ||
* @version $Id$ | ||
*/ | ||
|
||
require_once 'CoreExt/Entity.php'; | ||
|
||
/** | ||
* Docente_Model_Licenciatura class. | ||
* | ||
* @author Eriksen Costa Paixão <eriksen.paixao_bs@cobra.com.br> | ||
* @category i-Educar | ||
* @license @@license@@ | ||
* @package Docente | ||
* @subpackage Modules | ||
* @since Classe disponível desde a versão 1.2.0 | ||
* @version @@package_version@@ | ||
*/ | ||
class Docente_Model_Licenciatura extends CoreExt_Entity | ||
{ | ||
protected $_data = array( | ||
'servidor' => NULL, | ||
'licenciatura' => NULL, | ||
'curso' => NULL, | ||
'anoConclusao' => NULL, | ||
'ies' => NULL, | ||
'user' => NULL, | ||
'created_at' => NULL, | ||
'updated_at' => NULL | ||
); | ||
protected $_data = [ | ||
'servidor' => null, | ||
'licenciatura' => null, | ||
'curso' => null, | ||
'anoConclusao' => null, | ||
'ies' => null, | ||
'user' => null, | ||
'created_at' => null, | ||
'updated_at' => null | ||
]; | ||
|
||
protected $_references = array( | ||
'licenciatura' => array( | ||
'value' => NULL, | ||
'class' => 'App_Model_SimNao', | ||
'file' => 'App/Model/SimNao.php' | ||
), | ||
'ies' => array( | ||
'value' => NULL, | ||
'class' => 'Educacenso_Model_IesDataMapper', | ||
'file' => 'Educacenso/Model/IesDataMapper.php' | ||
), | ||
'curso' => array( | ||
'value' => NULL, | ||
'class' => 'Educacenso_Model_CursoSuperiorDataMapper', | ||
'file' => 'Educacenso/Model/CursoSuperiorDataMapper.php' | ||
) | ||
); | ||
protected $_references = [ | ||
'licenciatura' => [ | ||
'value' => null, | ||
'class' => 'App_Model_SimNao', | ||
'file' => 'App/Model/SimNao.php' | ||
], | ||
'ies' => [ | ||
'value' => null, | ||
'class' => 'Educacenso_Model_IesDataMapper', | ||
'file' => 'Educacenso/Model/IesDataMapper.php' | ||
], | ||
'curso' => [ | ||
'value' => null, | ||
'class' => 'Educacenso_Model_CursoSuperiorDataMapper', | ||
'file' => 'Educacenso/Model/CursoSuperiorDataMapper.php' | ||
] | ||
]; | ||
|
||
public function getDefaultValidatorCollection() | ||
{ | ||
return array(); | ||
} | ||
} | ||
public function getDefaultValidatorCollection() | ||
{ | ||
return []; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.