System:Model:quickSelectSingleToXml

From Aspen Documentation

Generates a quick select statement for a single record and returns the result as xml

Since 1.0

Arguments

string quickSelectSingleToXml ([string $table = false], [integer $id = false])

table
Database table name.
id
Unique id of the record to return.

Returns

Returns XML as a string of the result record.

Examples

Example:

$this->APP->model->quickSelectSingleToXml('blog', 1);