public static function addDefaultOptions(Tag &$Tag)
    {
        if (isset(TagInfo::$defaultOptions[$Tag->name])) {
            foreach (TagInfo::$defaultOptions[$Tag->name] as $defopt) {
                if (!in_array($defopt, $Tag->options)) {
                    $Tag->options[] = $defopt;
                }
            }
        }
    }
public static function addDefaultOptions(Tag &$Tag)
    {
        if (isset(TagInfo::$defaultOptions[$Tag->name])) {
            foreach (TagInfo::$defaultOptions[$Tag->name] as $defopt) {
                if (!in_array($defopt, $Tag->options)) {
                    $Tag->options[] = $defopt;
                }
            }
        }
    }
public static function addDefaultOptions ( Tag & $ Tag ) { if ( isset ( TagInfo :: $ defaultOptions [ $ Tag -> name ] ) ) { foreach ( TagInfo :: $ defaultOptions [ $ Tag -> name ] as $ defopt ) { if ( ! in_array ( $ defopt , $ Tag -> options ) ) { $ Tag -> options [ ] = $ defopt ; } } } }
Adds default options to the tag.

@param Tag &$Tag the current Tag.

@see    TagInfo::$defaultOptions
@return void
Adds default options to the tag .