API16

JSimpleXMLElement/removeAttribute

< API16:JSimpleXMLElement

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Removes an attribute from the element



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]);
}



Examples

Code Examples


Advertisement