Data Array : Videos

Posted on Mon, 16 May 2011


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

[id] Unique ID for this record.
CODE: SELECT ALL
$Videos[id][$id]


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


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


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


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


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


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


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


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


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


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


[duration] Length of video in second. (integer)
CODE: SELECT ALL
$Videos[duration][$id]


[clipcount] Number of clips created by CMS. (integer)
CODE: SELECT ALL
$Videos[clipcount][$id]


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


[photoset] ID of matching photo set from Photos array.
CODE: SELECT ALL
$Videos[photoset][$newID]


[embed] HTML embed code for use with Social Media Video Embed option.
CODE: SELECT ALL
$Videos[embed][$newID]


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.