class CollectionAdapter extends UpdateAdapter

Collection Update Adapter Class

Methods

__construct( JAdapter $parent, JDatabaseDriver $db, array $options = array())

Constructor

getParent()

Retrieves the parent object

array
findUpdate( array $options)

Finds an update

void
_startElement( object $parser, string $name, array $attrs = array())

Opening an XML element

Details

__construct( JAdapter $parent, JDatabaseDriver $db, array $options = array())

Constructor

Parameters

JAdapter $parent Parent object
JDatabaseDriver $db Database object
array $options Configuration Options

JAdapter getParent()

Retrieves the parent object

Return Value

JAdapter

array findUpdate( array $options)

Finds an update

Parameters

array $options Options to use: updatesiteid: the unique ID of the update site to look at

Return Value

array Update_sites and updates discovered

void _startElement( object $parser, string $name, array $attrs = array())

Opening an XML element

Parameters

object $parser Parser object
string $name Name of element that is opened
array $attrs Array of attributes for the element

Return Value

void