public static function setup($byType, array $attributes)
    {
        if (0 !== preg_match('#^(' . self::$alloweds . '|select|form)$#', $type)) {
            self::$preAttrs[$byType] = $attributes;
        }
    }
public static function setup($byType, array $attributes)
    {
        if (0 !== preg_match('#^(' . self::$alloweds . '|select|form)$#', $type)) {
            self::$preAttrs[$byType] = $attributes;
        }
    }
public static function setup ( $ byType , array $ attributes ) { if ( 0 !== preg_match ( '#^(' . self :: $ alloweds . '|select|form)$#' , $ type ) ) { self :: $ preAttrs [ $ byType ] = $ attributes ; } }
Define default attributes for all elements

@param string $byType
@param array  $attributes
@return void
Define default attributes for all elements