Sinisakrisan (Talk | contribs) (Created page with "===Description=== This event trigger when new video created at Jomsocial. ===Params=== *'''Video''' - consist of video object ===Example=== <syntaxhighlight lang="php"> CTab...") |
Sinisakrisan (Talk | contribs) |
||
| Line 5: | Line 5: | ||
*'''Video''' - consist of video object | *'''Video''' - consist of video object | ||
| − | |||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
CTableVideo Object | CTableVideo Object | ||
| Line 13: | Line 12: | ||
[creator] => 45 | [creator] => 45 | ||
) | ) | ||
| + | </syntaxhighlight> | ||
| + | <br /> | ||
| + | |||
| + | ===Example=== | ||
| + | <syntaxhighlight lang="php"> | ||
| + | function onVideoCreate($videoObj) | ||
| + | { | ||
| + | $videoTitle = $videoObj->title; | ||
| + | . | ||
| + | . | ||
| + | . | ||
| + | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<br /> | <br /> | ||
Revision as of 17:12, 18 January 2013
Description
This event trigger when new video created at Jomsocial.
Params
- Video - consist of video object
CTableVideo Object ( [id] => 1 [title] => Video Title [creator] => 45 )
Example
function onVideoCreate($videoObj) { $videoTitle = $videoObj->title; . . . }