common/models/CronInfo.php
/**
     * Creates data provider instance with search query applied
     * @return ActiveDataProvider
     */
Creates data provider instance with search query applied
@return ActiveDataProvider
Creates data provider instance with search query applied @return ActiveDataProvider
public function search()
    {
        $query = self::find()->where("1=1");
        $dataProvider = new ActiveDataProvider([
            'query' => $query,
            'sort'=> [
                'defaultOrder' => ['task_id'=>SORT_DESC],
            ],
            'pagination' => false,
        ]);
        return $dataProvider;
    }
public function search ( ) { $ query = self :: find ( ) -> where ( " 1=1 " ) ; $ dataProvider = new ActiveDataProvider ( [ 'query' => $ query , 'sort' => [ 'defaultOrder' => [ 'task_id' => SORT_DESC ] , ] , 'pagination' => false , ] ) ; return $ dataProvider ; }
Creates data provider instance with search query applied
 @return ActiveDataProvider
Creates data provider instance with search query applied @return ActiveDataProvider