src/apis/CommonController.php
public function actionSchedulerLog($model, $pk)
    {
        return new ActiveDataProvider([
            'query' => Scheduler::find()->where(['model_class' => $model, 'primary_key' => $pk]),
            'sort'=> ['defaultOrder' => ['schedule_timestamp' => SORT_ASC]],
            'pagination' => false,
        ]);
    }
public function actionSchedulerLog($model, $pk)
    {
        return new ActiveDataProvider([
            'query' => Scheduler::find()->where(['model_class' => $model, 'primary_key' => $pk]),
            'sort'=> ['defaultOrder' => ['schedule_timestamp' => SORT_ASC]],
            'pagination' => false,
        ]);
    }
public function actionSchedulerLog ( $ model , $ pk ) { return new ActiveDataProvider ( [ 'query' => Scheduler :: find ( ) -> where ( [ 'model_class' => $ model , 'primary_key' => $ pk ] ) , 'sort' => [ 'defaultOrder' => [ 'schedule_timestamp' => SORT_ASC ] ] , 'pagination' => false , ] ) ; }
Get all log entries for a given scheulder model with primary key.

@param string $model The namespace to the model
@param integer $pk The primary key
@return ActiveDataProvider
@since 2.0.0
Get all log entries for a given scheulder model with primary key .