Class rex_template

Template Objekt. Zuständig für die Verarbeitung eines Templates.

Package: redaxo\structure\content
Located at redaxo/src/addons/structure/plugins/content/lib/api_template.php

Methods summary

public
# __construct( mixed $template_id )
public static
public
# getId( )
public
# getFile( )
public static
# getFilePath( mixed $template_id )
public static
public
public
# generate( )
public
public static array
# getTemplatesForCategory( integer $category_id, boolean $ignore_inactive = true )

Returns an array containing all templates which are available for the given category_id. if the category_id is non-positive all templates in the system are returned. if the category_id is invalid an empty array is returned.

public static
# hasModule( array $template_attributes, mixed $ctype, mixed $module_id )