Overview

Packages

  • controladores
  • modelos
  • None
  • PHP

Classes

  • Activity
  • ActivityController
  • AuthController
  • BaseController
  • Course
  • DatabaseSeeder
  • ExampleTest
  • Guardian
  • HomeController
  • Message
  • MessageController
  • OptStudentCriteriaGrade
  • Period
  • Profile
  • SchoolSetup
  • Student
  • StudentCriteriaGrade
  • StudentSubjectSubperiodAverage
  • StudentSubjectSubperiodAverageController
  • SubPeriod
  • TestCase
  • User
  • UserController

Exceptions

  • Exception
  • InvalidArgumentException
  • LogicException

Functions

  • ws_response
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * Mapeo de la tabla Subperiodos
 5:  * @package modelos
 6:  * @author Fernando Salas <rfsalas@rutatec.com>
 7:  * @since  2016-02-23
 8:  */
 9: class SubPeriod extends Eloquent {
10: 
11:     /**
12:      * @string variable tiempo en falso
13:      */
14:     public $timestamps = false;
15: 
16:     /**
17:      * @string variable llave primaria utilizada en la tabla subperiodos
18:      */
19:     protected $primaryKey = 'serial_sbp';
20:     /**
21:      * @string variable para mapeo de la tabla Subperiodos con el nombre que le corresponde en la base de datos
22:      */
23:     protected $table = 'subperiod';
24:      /**
25:      * Establece la relacion con los periodos
26:      *
27:      * @param   void
28:      * 
29:      * @return  año lectivo, serial del año lectivo
30:      * @throws  InvalidArgumentException
31:      * @since   2016-02-24
32:      * @author  Fernando Salas <rfsalas@rutatec.com>
33:      *
34:      * @edit    2016-02-24<br />
35:      *          Fernando Salas <rfsalas@rutatec.com><br />
36:      *          documentacion del metodo<br/>
37:      *          #edit1
38:      */
39:     public function period() {
40:         return $this->belongsTo('Period', 'serial_prd');
41:     }
42: 
43: }
44: 
learnbox_ws API documentation generated by ApiGen