API15

API15:JSimpleXMLElement/removeAttribute

From Joomla! Documentation

Description

Removes an attribute from the element

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

removeAttribute($name)
Parameter Name Default Value Description
$name $name

Defined in

libraries/joomla/utilities/simplexml.php

Importing

jimport( 'joomla.utilities.simplexml' );

Source Body

function removeAttribute($name)
{
        unset($this->_attributes[$name]);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples