public function save() { parent::save(); if (!$this->locked) { ttagswidget::i()->expire(); } }
public function gettagrss(tcommontags $tags, $id) { $this->domrss->CreateRoot(litepublisher::$site->url . litepublisher::$urlmap->url, $tags->getvalue($id, 'title')); $items = $tags->getidposts($id); $this->getrssposts(array_slice($items, 0, litepublisher::$options->perpage)); }