[ Index ] |
PHP Cross Reference of MyBB |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 1260 lines (38 kb) |
Included or required: | 5 times |
Referenced: | 5 times |
Includes or requires: | 1 file inc/class_xml.php |
import_theme_xml($xml, $options=array() X-Ref |
Import an entire theme (stylesheets, properties & templates) from an XML file. param: string The contents of the XML file param: array Optional array of options or overrides return: boolean True on success, false on failure |
parse_theme_variables($string, $variables=array() X-Ref |
Parse theme variables in a specific string. param: string The string to parse variables for param: array Array of variables return: string Parsed string with variables replaced |
cache_stylesheet($tid, $filename, $stylesheet) X-Ref |
Caches a stylesheet to the file system. param: string The theme ID this stylesheet belongs to param: string The name of the stylesheet param: string The contents of the stylesheet |
resync_stylesheet($stylesheet) X-Ref |
No description |
fix_css_urls($url) X-Ref |
No description |
unfix_css_urls($url) X-Ref |
No description |
build_new_theme($name, $properties=null, $parent=1) X-Ref |
Build a theme based on the specified parameters. param: string The name of the theme param: array Array of theme properties (if blank, inherits from parent) param: int The parent ID for this theme (defaults to Master) return: int The new theme ID |
css_to_array($css) X-Ref |
Generates an array from an incoming CSS file. param: string The incoming CSS return: array Parsed CSS file as array, false on failure |
get_selectors_as_options($css, $selected_item="") X-Ref |
No description |
css_selectors_sort_cmp($a, $b) X-Ref |
No description |
get_css_properties($css, $id) X-Ref |
No description |
parse_css_properties($values) X-Ref |
Parses CSS supported properties and returns them as an array. param: string Value of CSS properties from within class or selector return: array Array of CSS properties |
insert_into_css($new_css, $selector="", $css="", $class_id="") X-Ref |
Inserts an incoming string of CSS in to an already defined document. If the class ID is not found, the CSS is appended to the file. param: string CSS we wish to insert at this location param: string The selector for this piece of CSS param: string The existing CSS if we have any param: string (Optional) The optional friendly class id value just incase the CSS is not found in the file |
copy_stylesheet_to_theme($stylesheet, $tid) X-Ref |
No description |
update_theme_stylesheet_list($tid) X-Ref |
No description |
make_parent_theme_list($tid) X-Ref |
No description |
make_child_theme_list($tid) X-Ref |
No description |
cache_themes() X-Ref |
No description |
build_theme_list($parent=0, $depth=0) X-Ref |
No description |
build_theme_array($ignoretid = null, $parent=0, $depth=0) X-Ref |
No description |
upgrade_css_120_to_140($css) X-Ref |
No description |
Generated: Tue Oct 8 19:19:50 2013 | Cross-referenced by PHPXref 0.7.1 |