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()); }
function __construct($ip = null, $port = null) { parent::__construct(); if (null != $ip) { $this->ip = $ip; $this->name = $ip; } if (null != $port) { $this->port = $port; } }
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(); } }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->dashboard = 0; }
function __construct() { parent::__construct(); $this->limit = -1; $this->require = json_encode(array()); }
function __construct($tag) { parent::__construct($tag); }