public
|
#
setup( $model, $config = array() )
|
public
array
|
#
afterFind( object $model, array $results, boolean $primary )
Load captions in model data.
Load captions in model data.
Parameters
- $model
- The model
- $results
- Fetched models data
- $primary
- Is primary
Returns
array
|
public
|
#
afterSave( object $model, boolean $created )
Save captions after video has been saved.
Save captions after video has been saved.
Parameters
- $model
- The model
- $created
- Is this a freshly created entity?
|
protected
array
|
#
getCaptions( integer $objectId )
Return list of captions for a video.
Return list of captions for a video.
Parameters
Returns
array
|
protected
|
#
saveCaptions( integer $objectId, array $data )
Save captions for a video.
Save captions for a video.
Parameters
- $objectId
- Object ID.
- $data
- List of captions data.
|