__construct()
__construct()
Class Constructor
validate_category(array $category) : boolean
Validate a service category record data. This method must be used before adding a service category record into database in order to secure the record integrity.
array | $category | Contains the service category data. |
Returns the validation result.