Login +

Documentation

SLS_XMLToolbox::addValue

Since SillySmart 1.0

Description

Add a value to a given tag
public addValue ( string $value, [ bool $cdata ] );

Parameters

  • string $value
    value to add
  • bool $cdata
    true if you want to encapsulate data into cdata section

Return

No return.

Exemples

  •  $xml->addValue('value', true); // [CDATA[value]]
     $xml->addValue('value');// value

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.