thirdparty/htmlpurifier-4.0.0-lite/library/HTMLPurifier/HTMLModule.php
public function mergeInAttrIncludes(&$attr, $attr_includes) {
        if (!is_array($attr_includes)) {
            if (empty($attr_includes)) $attr_includes = array();
            else $attr_includes = array($attr_includes);
        }
        $attr[0] = $attr_includes;
    }
public function mergeInAttrIncludes(&$attr, $attr_includes) {
        if (!is_array($attr_includes)) {
            if (empty($attr_includes)) $attr_includes = array();
            else $attr_includes = array($attr_includes);
        }
        $attr[0] = $attr_includes;
    }
public function mergeInAttrIncludes ( & $ attr , $ attr_includes ) { if ( ! is_array ( $ attr_includes ) ) { if ( empty ( $ attr_includes ) ) $ attr_includes = array ( ) ; else $ attr_includes = array ( $ attr_includes ) ; } $ attr [ 0 ] = $ attr_includes ; }
Convenience function that merges a list of attribute includes into
an attribute array.
@param $attr Reference to attr array to modify
@param $attr_includes Array of includes / string include to merge in
Convenience function that merges a list of attribute includes into an attribute array .