Returns the number of data models in the current page.
This is equivalent to count($provider->getModels())
. When pagination is false, this is the same as totalCount.
public function getCount();
Returns the key values associated with the data models.
public abstract array getKeys ( ) return arrayThe list of key values corresponding to models. Each data model in models is uniquely identified by the corresponding key value in this array.
public function getKeys();
Returns the data models in the current page.
public function getModels();
Returns the total number of data models.
When pagination is false, this is the same as count.
public function getTotalCount();
Prepares the data models and keys.
This method will prepare the data models and keys that can be retrieved via getModels() and getKeys().
This method will be implicitly called by getModels() and getKeys() if it has not been called before.
public abstract void prepare ( $forcePrepare = false ) $forcePrepare booleanWhether to force data preparation even if it has been done before.
public function prepare($forcePrepare = false);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4