Ejemplo n.º 1
0
 public function __construct($translator, $items, $title, $atomLink)
 {
     parent::__construct($title, $translator->translate('New cache logs'), $atomLink);
     $this->translator = $translator;
     $this->items = $items;
 }
Ejemplo n.º 2
0
 public function __construct($translator, $lang)
 {
     parent::__construct($translator->translate('New caches with gpx'), $translator->translate('New caches'), 'newcaches.xml');
     $this->translator = $translator;
     $this->lang = $lang;
 }