API15

API15:JSimpleXMLElement/setData

From Joomla! Documentation

Revision as of 01:09, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Set the data of the element

[<! removed edit link to red link >]

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

Syntax

setData($data)
Parameter Name Default Value Description
$data $data

Returns

string

Defined in

libraries/joomla/utilities/simplexml.php

Importing

jimport( 'joomla.utilities.simplexml' );

Source Body

function setData($data) {
        $this->_data = $data;
}

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

Examples

Code Examples