mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-03-10 11:56:50 +01:00
some modular work
This commit is contained in:
31
modules/customModule/models/query/CustomItemQuery.php
Normal file
31
modules/customModule/models/query/CustomItemQuery.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace app\modules\customModule\models\query;
|
||||
|
||||
use app\modules\customModule\models\CustomItem;
|
||||
use app\modules\server\models\query\BaseItemQuery;
|
||||
use yii\db\ActiveQuery;
|
||||
|
||||
/**
|
||||
* @see CustomItem
|
||||
*/
|
||||
class CustomItemQuery extends BaseItemQuery
|
||||
{
|
||||
/**
|
||||
* @inheritdoc
|
||||
* @return CustomItem[]
|
||||
*/
|
||||
public function all($db = null)
|
||||
{
|
||||
return parent::all($db);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* @return CustomItem|array|null
|
||||
*/
|
||||
public function one($db = null)
|
||||
{
|
||||
return parent::one($db);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user