set_parser_class ( $class )

Set a custom class for this functionality. Use this method when extending/overriding existing classes with new functionality.

The replacement class must extend from CFSimpleXML.

Access

public

Parameters

Parameter

Type

Required

Description

$class

string

Optional

The name of the new class to use for this functionality.

Returns

Type

Description

$this

A reference to the current instance.

Source

Method defined in sdk.class.php | Toggle source view (5 lines) | View on GitHub

public function set_parser_class($class = 'CFSimpleXML')
{
    $this->parser_class = $class;
    return $this;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback