[ 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
param: string $args    Parameters that are not used.
return: object The output of the query.

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

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

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

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



Generated: Tue Jan 21 01:02:02 2020 Cross-referenced by PHPXref 0.7.1