Text
in package
A text represented as an object.
Table of Contents
Properties
- $annotated : string
- $audio_pos : float
- $id : int
- $lgid : int
- $media_uri : string
- $position : string
- $source : string
- $text : string
- $title : string
Methods
- load_from_db_record() : mixed
Properties
$annotated
public
string
$annotated
Annotated version of the text.
$audio_pos
public
float
$audio_pos
Position of the associated media.
$id
public
int
$id
Text ID.
$lgid
public
int
$lgid
Language id.
$media_uri
public
string
$media_uri
Media address (local path or URL).
$position
public
string
$position
Position in text.
$source
public
string
$source
Source of text (usually URL).
$text
public
string
$text
Associated text.
$title
public
string
$title
Text title.
Methods
load_from_db_record()
public
load_from_db_record(mixed $record) : mixed
Parameters
- $record : mixed