[ Index ]

PHP Cross Reference of GlotPress




/gp-includes/things/ -> validator-permission.php (summary)

Things: GP_Validator_Permission class

File Size: 80 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GP_Validator_Permission:: (6 methods):

Class: GP_Validator_Permission  - X-Ref

Core class used to implement the validator permissions.

restrict_fields( $rules )   X-Ref
Sets restriction rules for fields.

since: 1.0.0
param: GP_Validation_Rules $rules The validation rules instance.

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: Tue May 28 01:01:19 2024 Cross-referenced by PHPXref 0.7.1