Data Array : Photos

Posted on Sat, 14 May 2011


Here is the data structure of the Photos array of Porn CMS included in the Photos template page. The $id key variable is received from the front-end page URL.

[id] Unique ID for this record.

CODE: SELECT ALL
$Photos[id][$id]


[title] Title of this content (rawurlencoded).
CODE: SELECT ALL
$Photos[title][$id]


[body]
 HTML enabled section from the admin (rawurlencoded).
CODE: SELECT ALL
$Photos[body][$id]


[meta] Meta description of the content (rawurlencoded).
CODE: SELECT ALL
$Photos[meta][$id]


[tags] Space delimited list of tags for this content (rawurlencoded).
CODE: SELECT ALL
$Photos[tags][$id]    


[model1] Unique ID of first model from Models Array.
CODE: SELECT ALL
$Photos[model1][$id]


[model2] Unique ID of second model from Models Array.
CODE: SELECT ALL
$Photos[model2][$id]


[status] Active status of the content. (y|n|q) 'q' means in processing queue.
CODE: SELECT ALL
$Photos[status][$id]    


[showdate] Publish date of content in the following format: 2008-01-01 00:55:00
CODE: SELECT ALL
$Photos[showdate][$id]


[dateofshoot] Shooting date of content in the following format: 2008-01-01 00:55:00
CODE: SELECT ALL
$Photos[dateofshoot][$id]


[permlevel] Flag for setting permission level of viewer. (free|paid|ppv)
CODE: SELECT ALL
$Photos[permlevel][$id]


[photocount] Number of photos in the Photo Set.
CODE: SELECT ALL
$Photos[photocount][$id]


[category] ID of matching category field from Category array.
CODE: SELECT ALL
$Videos[category][$newID]


[fbalbum] ID of Facebook Page album imported for this photo set.
CODE: SELECT ALL
$Photos[fbalbum][$id]

Tag cloud

cms tutorials design
Right column custom page. You can add anything you want here or disable it. This page displays on 2-column and 3-column Bootstrap layouts.