예제 #1
0
 protected function create()
 {
     parent::create();
     $this->basename = 'commentform';
     $this->cache = false;
     $this->addevents('oncomuser');
 }
예제 #2
0
 protected function create()
 {
     parent::create();
     $this->basename = 'pinger';
     $this->data['services'] = '';
     $this->data['enabled'] = true;
 }
예제 #3
0
 public function __get($name)
 {
     if (isset($this->item[$name])) {
         return $this->item[$name];
     }
     return parent::__get($name);
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'rssmultimedia';
     $this->addevents('onroot', 'onitem');
     $this->data['feedburner'] = '';
 }
예제 #5
0
 protected function create()
 {
     parent::create();
     $this->basename = 'db.optimizer';
     $this->addmap('childtables', array());
     $this->addevents('postsdeleted');
 }
예제 #6
0
 protected function create()
 {
     parent::create();
     $this->basename = 'linkgenerator';
     $this->data = array_merge($this->data, array('post' => '/[title].htm', 'menu' => '/[title].htm', 'tag' => '/tag/[title].htm', 'category' => '/category/[title].htm', 'archive' => '/[year]/[month].htm', 'file' => '/[media]/[filename]/'));
     $this->data['urlencode'] = false;
     $this->addevents('onencode');
 }
예제 #7
0
 public function load()
 {
     $result = parent::load();
     if ($this->filertype == 'auto') {
         $this->filertype = self::getprefered();
     }
     return $result;
 }
예제 #8
0
 protected function create()
 {
     parent::create();
     $this->basename = 'updater';
     $this->addevents('onupdated');
     $this->data['useshell'] = false;
     $this->versions = self::getversions();
     $this->log = false;
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'rss.holdcomments';
     $this->url = '/rss/holdcomments.xml';
     $this->data['idurl'] = 0;
     $this->data['count'] = 20;
     $this->data['template'] = '';
 }
예제 #10
0
 protected function create()
 {
     parent::create();
     $this->basename = 'widget';
     $this->cache = 'cache';
     $this->id = 0;
     $this->template = 'widget';
     $this->adminclass = 'tadminwidget';
 }
예제 #11
0
 public function afterload()
 {
     parent::afterload();
     $time = time();
     foreach ($this->keys as $handle => $item) {
         if ($item['expired'] < $time) {
             unset($this->keys[$handle]);
         }
     }
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'ajaxposteditor';
     $this->addevents('onhead', 'oneditor');
     $this->data['head'] = '';
     $this->data['visual'] = '';
     //'/plugins/tiny_mce/init.js';
     //'/plugins/ckeditor/init.js';
     $this->data['ajaxvisual'] = true;
 }
예제 #13
0
 protected function create()
 {
     parent::create();
     $this->basename = 'rss';
     $this->addevents('beforepost', 'afterpost', 'onpostitem');
     $this->data['feedburner'] = '';
     $this->data['feedburnercomments'] = '';
     $this->data['template'] = '';
     $this->data['idcomments'] = 0;
     $this->data['idpostcomments'] = 0;
 }
예제 #14
0
 public function save()
 {
     if ($this->lockcount > 0) {
         return;
     }
     if ($this->dbversion) {
         return tstorage::save($this);
     } else {
         return parent::save();
     }
 }
예제 #15
0
 protected function create()
 {
     parent::create();
     $this->basename = 'contentfilter';
     $this->addevents('oncomment', 'onaftercomment', 'beforecontent', 'aftercontent', 'beforefilter', 'afterfilter', 'onsimplefilter', 'onaftersimple');
     $this->data['automore'] = true;
     $this->data['automorelength'] = 250;
     $this->data['phpcode'] = true;
     $this->data['usefilter'] = true;
     $this->data['autolinks'] = true;
     $this->data['commentautolinks'] = true;
 }
예제 #16
0
 protected function create()
 {
     parent::create();
     $this->basename = 'cron';
     $this->addevents('added', 'deleted');
     $this->data['password'] = '';
     $this->data['path'] = '';
     $this->data['disableping'] = false;
     $this->cache = false;
     $this->disableadd = false;
     $this->table = 'cron';
 }
예제 #17
0
 protected function create()
 {
     parent::create();
     $this->basename = 'themeparser';
     $this->addevents('ongetpaths', 'beforeparse', 'parsed', 'onfix');
     $this->addmap('extrapaths', array());
     $this->data['replacelang'] = false;
     $this->data['removephp'] = true;
     $this->data['stylebefore'] = true;
     $this->fixsubcount = true;
     $this->sidebar_index = 0;
     $this->pathmap = $this->createpathmap();
 }
예제 #18
0
 protected function create()
 {
     parent::create();
     $this->basename = 'mediaparser';
     $this->addevents('added', 'onbefore', 'onresize', 'noresize', 'onimage');
     $this->data['enablepreview'] = true;
     $this->data['ratio'] = true;
     $this->data['clipbounds'] = true;
     $this->data['previewwidth'] = 120;
     $this->data['previewheight'] = 120;
     $this->data['maxwidth'] = 1200;
     $this->data['maxheight'] = 900;
     $this->data['quality_snapshot'] = 94;
     $this->data['quality_original'] = 92;
     $this->data['alwaysresize'] = false;
     $this->data['audioext'] = 'mp3|wav |flac';
     $this->data['videoext'] = 'mp4|ogv|webm';
 }
예제 #19
0
 public function __destruct()
 {
     parent::__destruct();
     unset($this->owner);
 }
예제 #20
0
 protected function create()
 {
     parent::create();
     $this->basename = 'smtpmailer';
     $this->data = $this->data + array('host' => '', 'login' => '', 'password' => '', 'port' => 25);
 }
예제 #21
0
 public function __set($name, $value)
 {
     if (array_key_exists($name, $this->templates)) {
         $this->templates[$name] = $value;
         return;
     }
     return parent::__set($name, $value);
 }
예제 #22
0
 protected function create()
 {
     parent::create();
     $this->basename = 'plugins' . DIRECTORY_SEPARATOR . strtolower(get_class($this));
 }
예제 #23
0
 protected function create()
 {
     parent::create();
     $this->data['idview'] = 1;
 }
예제 #24
0
 protected function create()
 {
     parent::create();
     $this->addevents('uploaded', 'onprops');
 }
예제 #25
0
 protected function create()
 {
     parent::create();
     $this->cache = false;
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'themeparserver3';
     $this->fixold = true;
 }
예제 #27
0
 protected function create()
 {
     parent::create();
     $this->addevents('gethead', 'getposteditor', 'editpost', 'changeposts', 'canupload', 'candeletefile');
     $this->basename = 'authorrights';
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'comments.templates';
 }
예제 #29
0
 public function addevent($name, $class, $func)
 {
     if (!in_array($name, $this->eventnames)) {
         $this->eventnames[] = $name;
     }
     return parent::addevent($name, $class, $func);
 }