[ 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

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

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

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

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

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



Generated: Wed Nov 20 01:01:59 2019 Cross-referenced by PHPXref 0.7.1