Lines Matching refs:rules
963 * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*().
967 * @return array All the rules (but not extended).
971 static $rules;
973 if (!$rules) {
974 $rules = array_merge(
982 return $rules;
987 * Method gets the mobile detection rules + utilities.
988 * The reason this is separate is because utilities rules
994 * @return array All the rules + extended.
998 static $rules;
1000 if (!$rules) {
1001 // Merge all rules together.
1002 $rules = array_merge(
1011 return $rules;
1015 * Retrieve the current set of rules.
1116 * Search for a certain key in the rules array.
1237 * Some detection rules are relative (not standard),