System:Model:addSelectField

From Aspen Documentation

Adds an additional select field to a query.

Since 1.0

Arguments

void addSelectField (string $field)

field
Table field name.

Returns

This function does not return any values.

Examples

Example:

$this->APP->model->addSelectField('blog_title');

You may also use it add any methods not yet implemented in the model class:

$this->APP->model->addSelectField('YEAR(timestamp)');