/**
* Loads a list of predefined properties for the specicifies parameters, returns an array of Property\Predefined elements
*
* @return array
*/
public function load()
{
$properties = array();
$propertiesData = $this->db->fetchCol("SELECT id FROM properties_predefined" . $this->getCondition() . $this->getOrder() . $this->getOffsetLimit(), $this->model->getConditionVariables());
foreach ($propertiesData as $propertyData) {
$properties[] = Property\Predefined::getById($propertyData);
}
$this->model->setProperties($properties);
return $properties;
}