Méthode |
Description |
|
addDateFilters ( array $options, array $filters ) : [String |
Adds date filters from $options to $filters. |
|
buildDates ( string $since = '', string $until = '' ) : [String |
Build $match dates for Mongo aggregation. |
|
constructFilter ( $options ) |
|
|
getDateOption ( array $options, String $key, Mixed $default = '' ) : MongoDate |
Gets a date option from options. |
|
getOption ( array $options, String $key, Mixed $default = null, callable $modifier = null ) : MongoDate |
Gets a option from options. |
|
setFilter ( array $options ) : [String |
Check the filters passed to see if it contains any where criteria. |
|
setInterval ( String $interval = '' ) : String |
Gets and validates the Mongo interval. |
|
setMongoDate ( String $date ) : MongoDate |
Turn submitted date into MongoDate object |
|
setType ( String $type = '' ) : String |
Gets and validates the type. |
|