22 Settings::setDefaultValue(
"svg",
"svg_directory",
"/templates/svg/", String,
"The directory that contains your SVG assets");
28 preg_match_all(
"/\\[svg:(.*?)\\]/",
$content, $matches, PREG_PATTERN_ORDER);
31 foreach($matches[1] as
$file)
static getValue($component, $name)
Retrieve the value of the specified Setting.
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
Provides a central management class for event handlers and common functionality for the svg component...
static substituteTags($content)
if(!checkRole("admin")) $c
if(array_key_exists("HTTP_IF_MODIFIED_SINCE", $_SERVER)) $content