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