[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

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

Things: GP_Validator_Permission class

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

Defines 1 class

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.

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

set_fields( $db_object )   X-Ref
No description

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: Wed Nov 20 01:01:59 2019 Cross-referenced by PHPXref 0.7.1