2017 © Pedro Peláez
 

yii2-extension array_search_model

search model by array

image

lotos2512/array_search_model

search model by array

  • Friday, May 11, 2018
  • by lotos2512
  • Repository
  • 1 Watchers
  • 1 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

ArraySearchModel

This library by search data from array, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require lotos2512/array_search_model dev-master

Base usage

```php $data = ChildArraySearchModel::find() ->where(['in', 'array_field', array]) ->where(['===', 'array_field_or_callback_with_result_can_be_array_or_array_value', equal_value]) ->where(['regex', array_field_or_callback_with_result_can_be_array_or_array_value, equal_value|equal_value|equal_value]) ->orderBy(callback_with_sort_function_result) ->limit(int_value) ->offset(int_value) ->indexBy('array_field') ->all();, (*4)

```, (*5)

The Versions

11/05 2018

dev-master

9999999-dev https://github.com/lotos2512/array_search_model

search model by array

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrey Golikov

yii2 array-search search data from array

19/04 2018

v0.1

0.1.0.0 https://github.com/lotos2512/array_search_model

search model by array

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrey Golikov

yii2 array-search search data from array