[ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
Things: GP_Validator_Permission class
File Size: | 80 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
GP_Validator_Permission:: (6 methods):
restrict_fields()
set_fields()
prepare_fields_for_save()
project_id_locale_slug_set_slug()
object_id()
by_project_id()
Class: GP_Validator_Permission - X-Ref
Core class used to implement the validator permissions.restrict_fields( $rules ) X-Ref |
Sets restriction rules for fields. param: GP_Validation_Rules $rules The validation rules instance. since: 1.0.0 |
set_fields( $fields ) X-Ref |
Sets fields of the current GP_Thing object. param: array $fields Fields for a GP_Thing object. |
prepare_fields_for_save( $args ) X-Ref |
No description |
project_id_locale_slug_set_slug( $object_id ) X-Ref |
No description |
object_id( $project_id, $locale_slug, $set_slug = 'default' ) X-Ref |
No description |
by_project_id( $project_id ) X-Ref |
No description |
Generated: Sun Dec 22 01:01:04 2024 | Cross-referenced by PHPXref 0.7.1 |