SimplePie_Sanitize::set_url_replacements PHP Метод

set_url_replacements() публичный Метод

Defaults to |a|@href, |area|@href, |blockquote|@cite, |del|@cite, |form|@action, |img|@longdesc, |img|@src, |input|@src, |ins|@cite, |q|@cite
С версии: 1.0
public set_url_replacements ( array | null $element_attribute = null )
$element_attribute array | null Element/attribute key/value pairs, null for default
    public function set_url_replacements($element_attribute = null)
    {
        if ($element_attribute === null) {
            $element_attribute = array('a' => 'href', 'area' => 'href', 'blockquote' => 'cite', 'del' => 'cite', 'form' => 'action', 'img' => array('longdesc', 'src'), 'input' => 'src', 'ins' => 'cite', 'q' => 'cite');
        }
        $this->replace_url_attributes = (array) $element_attribute;
    }