Sinisakrisan (Talk | contribs) (Created page with "===Description=== This event trigger when new photo created at Jomsocial. ===Params=== *'''Photo''' - consist of photo object <syntaxhighlight lang="php"> CTablePhoto Object...") |
(→Description) |
||
Line 1: | Line 1: | ||
===Description=== | ===Description=== | ||
− | This event | + | This event is triggered when a new photo is created in JomSocial. |
===Params=== | ===Params=== |
Latest revision as of 07:16, 9 March 2013
Description
This event is triggered when a new photo is created in JomSocial.
Params
- Photo - consist of photo object
CTablePhoto Object ( [id] => 10 [albumid] => 1 [caption] => Photo Caption [created] => johnlee [published] => 1
Examples
function onPhotoCreate($photoObj) { $caption = $photoObj->caption; . . . }