[ 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.

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

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.

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



Generated: Thu Dec 26 01:01:15 2024 Cross-referenced by PHPXref 0.7.1