[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/things/ -> note.php (summary)

Things: GP_Note class

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

Defines 1 class

GP_Note:: (3 methods):
  save()
  edit()
  get_by_translation_id()


Class: GP_Note  - X-Ref

Core class used to implement the notes system.

save( $args = null )   X-Ref
Save the note

return: object The output of the query.
param: string $args    Parameters that are not used.
since: 3.0.0

edit( $note_id, $note, $translation )   X-Ref
Edit the note

return: object The output of the query.
param: string $note_id     Note ID.
param: string $note        Note object.
param: string $translation Translation object.
since: 3.0.0

get_by_translation_id( $translation_id, $order = null )   X-Ref
Retrieves the note for this translation id.

return: array notes
param: object $translation_id The translation id.
param: object $order The note order.
since: 3.0.0



Generated: Fri Apr 17 01:01:46 2020 Cross-referenced by PHPXref 0.7.1