/**
* 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->fetchAll($this->model->getFilter(), $this->model->getOrder());
foreach ($propertiesData as $propertyData) {
$properties[] = Config::getByName($propertyData["id"]);
}
$this->model->setThumbnails($properties);
return $properties;
}