Пример #1
0
 public function init()
 {
     $this->tableName = 'Sections';
     $this->joinTableName = 'Semesters';
     // Ensure that the ordering produced here matches the ordering in SectionsController->index.
     $this->order = ['Semesters.year', 'Sections.id'];
     parent::init();
     // This is where the records are loaded.
 }
Пример #2
0
 public function init()
 {
     $this->tableName = 'Tplans';
     parent::init();
     // This is where the records are loaded.
 }
 public function init()
 {
     $this->tableName = 'AccountsCategories';
     parent::init();
     // This is where the records are loaded.
 }
Пример #4
0
 public function init()
 {
     $this->records = [['id' => FixtureConstants::USER_ANDY_ADMIN_ID, 'username' => 'AndyAdmin', 'password' => '']];
     parent::init();
 }