Exemplo n.º 1
0
 protected function create()
 {
     parent::create();
     $this->basename = 'commentform';
     $this->cache = false;
     $this->addevents('oncomuser');
 }
Exemplo n.º 2
0
 protected function create()
 {
     parent::create();
     $this->basename = 'pinger';
     $this->data['services'] = '';
     $this->data['enabled'] = true;
 }
Exemplo n.º 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'] = '';
 }
Exemplo n.º 5
0
 protected function create()
 {
     parent::create();
     $this->basename = 'db.optimizer';
     $this->addmap('childtables', array());
     $this->addevents('postsdeleted');
 }
Exemplo n.º 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');
 }
Exemplo n.º 7
0
 public function load()
 {
     $result = parent::load();
     if ($this->filertype == 'auto') {
         $this->filertype = self::getprefered();
     }
     return $result;
 }
Exemplo n.º 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'] = '';
 }
Exemplo n.º 10
0
 protected function create()
 {
     parent::create();
     $this->basename = 'widget';
     $this->cache = 'cache';
     $this->id = 0;
     $this->template = 'widget';
     $this->adminclass = 'tadminwidget';
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 14
0
 public function save()
 {
     if ($this->lockcount > 0) {
         return;
     }
     if ($this->dbversion) {
         return tstorage::save($this);
     } else {
         return parent::save();
     }
 }
Exemplo n.º 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;
 }
Exemplo n.º 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';
 }
Exemplo n.º 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();
 }
Exemplo n.º 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';
 }
Exemplo n.º 19
0
 public function __destruct()
 {
     parent::__destruct();
     unset($this->owner);
 }
Exemplo n.º 20
0
 protected function create()
 {
     parent::create();
     $this->basename = 'smtpmailer';
     $this->data = $this->data + array('host' => '', 'login' => '', 'password' => '', 'port' => 25);
 }
Exemplo n.º 21
0
 public function __set($name, $value)
 {
     if (array_key_exists($name, $this->templates)) {
         $this->templates[$name] = $value;
         return;
     }
     return parent::__set($name, $value);
 }
Exemplo n.º 22
0
 protected function create()
 {
     parent::create();
     $this->basename = 'plugins' . DIRECTORY_SEPARATOR . strtolower(get_class($this));
 }
Exemplo n.º 23
0
 protected function create()
 {
     parent::create();
     $this->data['idview'] = 1;
 }
Exemplo n.º 24
0
 protected function create()
 {
     parent::create();
     $this->addevents('uploaded', 'onprops');
 }
Exemplo n.º 25
0
 protected function create()
 {
     parent::create();
     $this->cache = false;
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'themeparserver3';
     $this->fixold = true;
 }
Exemplo n.º 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';
 }
Exemplo n.º 29
0
 public function addevent($name, $class, $func)
 {
     if (!in_array($name, $this->eventnames)) {
         $this->eventnames[] = $name;
     }
     return parent::addevent($name, $class, $func);
 }