function _getAttrString($attributes)
    {
        $strAttr = '';

        if (is_array($attributes)) {
            foreach ($attributes as $key => $value) {
                $strAttr .= ' ' . $key . '="' . htmlspecialchars($value) . '"';
            }
        }
        return $strAttr;
    }
function _getAttrString($attributes)
    {
        $strAttr = '';

        if (is_array($attributes)) {
            foreach ($attributes as $key => $value) {
                $strAttr .= ' ' . $key . '="' . htmlspecialchars($value) . '"';
            }
        }
        return $strAttr;
    }
function _getAttrString ( $ attributes ) { $ strAttr = '' ; if ( is_array ( $ attributes ) ) { foreach ( $ attributes as $ key => $ value ) { $ strAttr .= ' ' . $ key . '="' . htmlspecialchars ( $ value ) . '"' ; } } return $ strAttr ; }
Returns an HTML formatted attribute string
@param    array   $attributes
@return   string
@access   private
Returns an HTML formatted attribute string