fangxinfa 2015-09-23 11:19:47 2245次浏览 1条回复 0 0 0
$html = "<$name" . static::renderTagAttributes($options);
return isset(static::$voidElements[strtolower($name)]) ? $html . '/>' : "$html>$content</$name>";
  • 回复于 2017-05-12 16:00 举报

    if (count($attributes) > 1) {

            $sorted = [];
            foreach (static::$attributeOrder as $name) {
                if (isset($attributes[$name])) {
                    $sorted[$name] = $attributes[$name];
                }
            }
            $attributes = array_merge($sorted, $attributes);
        }
    
您需要登录后才可以回复。登录 | 立即注册