src/Ease/Html/Tag.php
public function tagPropertiesToString($tagProperties = null)
    {
        $tagPropertiesString = '';
        if (!$tagProperties) {
            $tagProperties = $this->tagProperties;
        }
        if (is_array($tagProperties)) {
            $tagPropertiesString = ' ';
            foreach ($tagProperties as $tagPropertyName => $tagPropertyValue) {
                if ($tagPropertyName) {
                    if (is_numeric($tagPropertyName)) {
                        if (!strstr($tagPropertiesString,
                                ' '.$tagPropertyValue.' ')) {
                            $tagPropertiesString .= ' '.$tagPropertyValue.' ';
                        }
                    } else {
                        $tagPropertiesString .= $tagPropertyName.'="'.$tagPropertyValue.'" ';
                    }
                } else {
                    $tagPropertiesString .= $tagPropertyValue.' ';
                }
            }

            $tagPropertiesString = trim($tagPropertiesString);
        }
        return $tagPropertiesString;
    }
public function tagPropertiesToString($tagProperties = null)
    {
        $tagPropertiesString = '';
        if (!$tagProperties) {
            $tagProperties = $this->tagProperties;
        }
        if (is_array($tagProperties)) {
            $tagPropertiesString = ' ';
            foreach ($tagProperties as $tagPropertyName => $tagPropertyValue) {
                if ($tagPropertyName) {
                    if (is_numeric($tagPropertyName)) {
                        if (!strstr($tagPropertiesString,
                                ' '.$tagPropertyValue.' ')) {
                            $tagPropertiesString .= ' '.$tagPropertyValue.' ';
                        }
                    } else {
                        $tagPropertiesString .= $tagPropertyName.'="'.$tagPropertyValue.'" ';
                    }
                } else {
                    $tagPropertiesString .= $tagPropertyValue.' ';
                }
            }

            $tagPropertiesString = trim($tagPropertiesString);
        }
        return $tagPropertiesString;
    }
Vrátí parametry tagu jako řetězec.

@param mixed $tagProperties asociativní pole parametrú nebo řetězec

@return string