/** * Loads a list of Email_Log for the specified parameters, returns an array of Email_Log elements * * @return array */ public function load() { $items = $this->db->fetchCol("SELECT uuid FROM " . Resource::TABLE_NAME . " " . $this->getCondition() . $this->getOrder() . $this->getOffsetLimit(), $this->model->getConditionVariables()); $result = array(); foreach ($items as $uuid) { $result[] = UUID::getByUuid($uuid); } return $result; }