1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- namespace app\models;
- use yii\base\Model;
- use app\models\entity\Accounts;
- use app\models\entity\ProjectsLocotech;
- use app\models\entity\Tasks;
- use app\models\entity\Tasktypes;
- use app\models\entity\Projecttypes;
- use app\models\entity\Jobtypes;
- use app\models\entity\AccountsJobtypes;
- use app\models\entity\Sections;
- class AnalyticsModel extends Model
- {
- public function getTasks()
- {
- $tasksEntity = Tasks::find()->all();
-
- return $tasksEntity;
- }
-
- public function getProjecttypes()
- {
- $projecttypesEntity = Projecttypes::find()->all();
- return $projecttypesEntity;
- }
-
- public function getTaskstypes()
- {
- $tasktypesEntity = Tasktypes::find()->all();
- return $tasktypesEntity;
- }
-
- public function getAccounts()
- {
- $AccountsEntity = Accounts::find()->all();
- return $AccountsEntity;
- }
-
- public function getJobtypes()
- {
- $JobtypesEntity = Jobtypes::find()->all();
- return $JobtypesEntity;
- }
-
- public function getJobtypesAccounts()
- {
- $JobtypesAccountsEntity = AccountsJobtypes::find()->all();
- return $JobtypesAccountsEntity;
- }
-
- public function getSections()
- {
- $SectionsEntity = Sections::find()->all();
- return $SectionsEntity;
- }
-
-
- }
|