Knowledgebase : PHP Templating Reference > PHP Templating API
   
INTRODUCTION Within our PHP templates, our system works in a way where specific variables are available to the templates based on the page they are on. These variables are created by the system before template code is being run. For instance: /members...
DESCRIPTION: The getCategories() function gets a list of categories that are present in the system. Based on the arguments that are passed to it will determine which and how many categories are returned. SAMPLE USAGE: $categoryobj = $api->getCategorie...
DESCRIPTION: The getComments() function gets a list of comments that are present in the system. Based on the arguments that are passed to it will determine which and how many comments are returned. SAMPLE USAGE: $commentobj = $api->getComments("conten...
DESCRIPTION: The getContent() function returns a list of content files (videos and movies) that are affiliated with a specific set id. SAMPLE USAGE: $cobj = $api->getContent(["id" => 1]); echo "nContent Belonging to Set Id 1:n"; print_r($cobj->conten...
DESCRIPTION: The getDVDs() function gets a list of DVDs that are present in the system. Based on the arguments that are passed to it will determine which and how many DVDs are returned. SAMPLE USAGE: $dvdobj = $api->getDVDs(); $dvdobj = $api->getDVDs...
DESCRIPTION: The getModels() function gets a list of models that are present in the system. Based on the arguments that are passed to it will determine which and how many models are returned. SAMPLE USAGE: $modelobj = $api->getModels(); $modelobj = $...
DESCRIPTION: The getNews() function gets a list of news entries that are present in the system. Based on the arguments that are passed to it will determine which and how many news entries are returned. SAMPLE USAGE: $newsobj = $api->getNews(); $newso...
DESCRIPTION: The getSets() function gets a list of sets that are present in the system. Based on the arguments that are passed to it will determine which and how many sets are returned. SAMPLE USAGE: $setobj = $api->getSets(); $setobj = $api->getSets...
DESCRIPTION: The getVodAreas() function gets a list of areas that are present in the system which are VOD areas. Based on the arguments that are passed to it will determine which and how many areas are returned. SAMPLE USAGE: $areaobj = $api->getVodAr...