public function index() { $this->registry->template->featured = MowattMedia_Components_WebSite::getRandom(); $sites = MowattMedia_Components_WebSite::getAll(); //shuffle($sites); $this->registry->template->sites = $sites; $this->registry->template->types = MowattMedia_Components_Project::getTypes(); $this->registry->template->events = $this->getRss(); }
public function aboutus() { $this->registry->template->featured = MowattMedia_Components_WebSite::getRandom(); $this->registry->template->types = MowattMedia_Components_Project::getTypes(); }