예제 #1
0
 public function save()
 {
     parent::save();
     if (!$this->locked) {
         ttagswidget::i()->expire();
     }
 }
예제 #2
0
 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));
 }