Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
opf_add_class
opf_add_class_to_attr
opf_add_class_to_class
C
opf_cut_extract
F
opf_filter_exists
opf_filter_get_additional_values
opf_filter_get_data
opf_filter_get_rel_pos
opf_filter_is_active
opf_filter_name_to_setting
opf_find_class
G
opf_glue_extract
I
opf_is_childpage
M
opf_move_up_before
R
opf_register_document_ready
opf_register_filter
opf_register_frontend_files
opf_register_onload
opf_register_onload_event
U
opf_unregister_filter
function opf_add_class(&$content,
$class,
$tag)
Add a class to a present HTML-tag, i.e.
function opf_add_class_to_attr(&$content,  
$class,  
$attr,  
$value,  
$tag = '')
Add a class to all HTML-tags that has a given attribute.
function opf_add_class_to_class(&$content,  
$class,  
$present_class,  
$tag = '')
Add a class to an already present class.
function opf_cut_extract(&$content,  
$regex,  
$subpattern = 0,
$modifers = 'iU',
$delimiter = '~',
$extracts = '')
Cuts pieces out of content using a regular expression and replace them by placeholders.
function opf_filter_exists($name,  
$verbose = FALSE)
Checks whether a given filter exists
function opf_filter_get_additional_values()
Receive additional filter arguments
function opf_filter_get_data($name = '')
Fetch data from filter.
function opf_filter_get_rel_pos($name)
Checks if a given filter was or will be executed.
function opf_filter_is_active($name)
Checkes whether a given filter is active for the actual module and page_id
function opf_filter_name_to_setting($name)
For WBCE 1.2: This function converts the name of a filter to the settings string which is associated with the active/inactive state of the given filter name.
function opf_find_class($content,  
$match,  
$tag = '',
$attr = 'class')
Check whether a class (or any other attribute) is present in content.
function opf_glue_extract(&$content,
$extracts)
bool opf_glue_extract( string &$content, string $extracts )
function opf_is_childpage($child,
$parent)
Checks whether a page is a subpage of a given page (or the same page)
function opf_move_up_before($name,  
$ref_name = "")
Upon registration move a filter up to a position before another one.
function opf_register_document_ready($js)
Register an Javascript onload-event inside page’s head-section, using jquery’s jQuery(document).ready() 
function opf_register_filter($filter,  
$serialized = FALSE)
Register a new Filter.
function opf_register_frontend_files($file,  
$type,  
$target = 'head',
$media = 'screen',
$iehack = '')
Register JS- or CSS-files to be loaded into the page’s head-section.
function opf_register_onload($script)
Register an Javascript script onload-function inside page’s body-section.
function opf_register_onload_event($function_name)
Register an Javascript onload-function inside page’s head-section, using window.attachEvent() or window.addEventListener().
function opf_unregister_filter($name)
Un-Register a Filter.
Close