function channel() { $result = (object) array(); $result->title = $this->get_title(); $result->description = $this->get_description(); $result->link = Uri::www(); $result->last_build_date = time(); $result->language = api_get_language_isocode(); $result->update_period = 'hourly'; $result->update_frequency = 1; $result->generator = Uri::chamilo(); $items = $this->get_query()->get_items(); $items = $this->format($items); $result->items = $items; return $result; }
/** * Application web root */ public static function www() { return Uri::www(); }