public static function getAllProvider($relatedRecords = [], $sort = [], $limit = null)
    {
        $query = self::find()->with($relatedRecords)->orderBy($sort);
        return self::convertToProvider($query, [], $limit);
    }
public static function getAllProvider($relatedRecords = [], $sort = [], $limit = null)
    {
        $query = self::find()->with($relatedRecords)->orderBy($sort);
        return self::convertToProvider($query, [], $limit);
    }
public static function getAllProvider ( $ relatedRecords = [ ] , $ sort = [ ] , $ limit = null ) { $ query = self :: find ( ) -> with ( $ relatedRecords ) -> orderBy ( $ sort ) ; return self :: convertToProvider ( $ query , [ ] , $ limit ) ; }
Get all model rows with the
@author Adeyemi Olaoye <yemi@cottacush.com>
@author Olawale Lawal <wale@cottacush.com>
@param array $relatedRecords
@param array|null $sort
@param null $limit
@return ActiveDataProvider
Get all model rows with the