function paginate_find($model, $options = array()) { Paginate::$model = $model; return Paginate::find($options); }
/** * * @param type $options */ static function paginate($options = array()) { \Paginate::$model = static::name_full(); return \Paginate::find($options); }