Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Student extends BaseStudent {
- private $address;
- private $stepStudent;
- private $booksOrder;
- function __construct($table = null, $isNewEntry = false) {
- parent::__construct($table, $isNewEntry);
- $this->address = new Address();
- $this->address->Student = $this;
- $this->stepStudent = new StepStudent();
- $this->stepStudent->setAuditor('1');
- $this->stepStudent->setFirstStep('1');
- $this->stepStudent->setFirstGrade('1');
- $this->stepStudent->setAccessClaroline('0');
- $this->stepStudent->step_id = 8;
- $this->booksOrder = new BooksOrder();
- }
- public function getInstanceAddress() {
- return $this->address;
- }
- public function getInstanceStepStudent() {
- return $this->stepStudent;
- }
- public function getInstanceBooksOrder() {
- return $this->booksOrder;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement