Changeset 2566:9bf417837888 for inc/core/class.dc.themes.php
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- File:
-
- 1 edited
-
inc/core/class.dc.themes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.themes.php
r2492 r2566 22 22 */ 23 23 class dcThemes extends dcModules 24 { 24 { 25 25 protected static $type = 'theme'; 26 26 … … 28 28 This method registers a theme in modules list. You should use this to 29 29 register a new theme. 30 30 31 31 <var>$parent</var> is a optional value to indicate them inheritance. 32 If <var>$parent</var> is null / not set, we simply fall back to 32 If <var>$parent</var> is null / not set, we simply fall back to 33 33 the standard behavior, by using 'default'. 34 34 35 35 <var>$priority</var> is an integer. Modules are sorted by priority and name. 36 36 Lowest priority comes first. This property is currently ignored when dealing 37 37 with themes. 38 38 39 39 @param name <b>string</b> Module name 40 40 @param desc <b>string</b> Module description 41 41 @param author <b>string</b> Module author name 42 42 @param version <b>string</b> Module version 43 @param properties <b>array</b> extra properties 43 @param properties <b>array</b> extra properties 44 44 (currently available keys : parent, priority, standalone_config, type) 45 45 */ … … 65 65 66 66 parent::registerModule($name, $desc, $author, $version, $properties); 67 } 68 67 } 68 69 69 /** 70 70 Loads namespace <var>$ns</var> specific file for module with ID 71 71 <var>$id</var> 72 72 Note : actually, only 'public' namespace is supported with themes. 73 73 74 74 @param id <b>string</b> Module ID 75 75 @param ns <b>string</b> Namespace name
Note: See TracChangeset
for help on using the changeset viewer.
