To access the data we need to specify the appropriate model class.
To know more about using models, read the Database Access & ORM article from the framework documentation.
"GanttTaskTable.php" file
<?php
namespace App\Model\Table;
use Cake\ORM\Table;
class GanttTaskTable extends Table {
public function initialize(array $config){
$this->table('gantt_tasks');
$this->primaryKey('id');
}
}
"GanttLinkTable.php" file
<?php
namespace App\Model\Table;
use Cake\ORM\Table;
class GanttLinkTable extends Table {
public function initialize(array $config){
$this->table('gantt_links');
$this->primaryKey('id');
}
}
"SchedulerEventTable.php" file
<?php
namespace App\Model\Table;
use Cake\ORM\Table;
class SchedulerEventTable extends Table {
public function initialize(array $config){
$this->table('scheduler_events');
$this->primaryKey('event_id');
}
}