Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     // $this->time = time();
     // $this->repeat = '1';
     // $this->name = 'Evenement sans titre du '.date('d/m/Y H:i:s');
     // $this->setRecipients(array());
 }
Exemplo n.º 2
0
 function __construct($ip = null, $port = null)
 {
     parent::__construct();
     if (null != $ip) {
         $this->ip = $ip;
         $this->name = $ip;
     }
     if (null != $port) {
         $this->port = $port;
     }
 }
Exemplo n.º 3
0
 function __construct($post = null)
 {
     parent::__construct();
     if ($post != null) {
         $this->postFile = $post;
         $this->name = basename($this->postFile['name']);
         $this->ext = self::getExtension($this->name);
         $this->size = $this->postFile['size'];
         $this->date = time();
         list($d, $m, $y) = explode('/', date('d/m/Y', $this->date));
         $tags = array($d . '/' . $m . '/' . $y);
         $tags = array_merge(preg_split("/[,. _-]/", $this->name));
         foreach ($tags as $key => $tag) {
             if (strlen($tag) < 3) {
                 unset($tags[$key]);
             }
         }
         $this->setTags($tags);
         $this->mime = $this->postFile['type'];
         $this->url = explode('/', Functions::getRootUrl());
         array_pop($this->url);
         $this->url = implode('/', $this->url) . '/' . $this->getUrl();
     }
 }
Exemplo n.º 4
0
 function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 5
0
 function __construct()
 {
     parent::__construct();
     $this->dashboard = 0;
 }
Exemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     $this->limit = -1;
     $this->require = json_encode(array());
 }
Exemplo n.º 7
0
 function __construct($tag)
 {
     parent::__construct($tag);
 }