Smarty Template Engine Theme Selection Class is a PHP class that can load a Smarty template theme defined in XML. It can parse a theme definition in an XML file located in the directory with the same name as the theme name. The class can return details of the theme like the name, version, creator name, URL, email address, description, and publication date. The class can also delete the directory of a given theme and its contents.