[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/things/ -> glossary-entry.php (summary)

Things: GP_Glossary_Entry class

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

Defines 1 class

GP_Glossary_Entry:: (6 methods):
  __construct()
  key()
  setup_pos()
  restrict_fields()
  by_glossary_id()
  last_modified()


Class: GP_Glossary_Entry  - X-Ref

Core class used to implement the glossary entries.

__construct( $fields = array()   X-Ref
No description

key()   X-Ref
A determinate key for hash lookups.

since: 2.3.0
return: string The key

setup_pos()   X-Ref
Sets up the part of speech captions.


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

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

by_glossary_id( $glossary_id )   X-Ref
No description

last_modified( $glossary )   X-Ref
Retrieves the last modified date of a entry in a glossary.

since: 1.0.0
param: GP_Glossary $glossary The glossary to retrieve the last modified date.
return: string The last modified date on success, empty string on failure.



Generated: Fri Apr 19 01:01:21 2024 Cross-referenced by PHPXref 0.7.1