/**
* Loads a list of static routes for the specicifies parameters, returns an array of Staticroute elements
*
* @return array
*/
public function load()
{
$routesData = $this->db->fetchCol("SELECT id FROM staticroutes" . $this->getCondition() . $this->getOrder() . $this->getOffsetLimit(), $this->model->getConditionVariables());
$routes = array();
foreach ($routesData as $routeData) {
$routes[] = Model\Staticroute::getById($routeData);
}
$this->model->setRoutes($routes);
return $routes;
}