array template.getobjects(object filter)
This method allows to retrieve templates that match the given filter criteria.
This method is deprecated and will be removed in the future. Please use template.get instead.
(object) Template properties to search by.
(array) Returns an array of objects with all properties.
Retrieve all data about two templates named “Template OS Linux” and “Template OS Windows”.
CTemplate::getObject() in frontends/php/include/classes/api/services/CTemplate.php.