Exemplo n.º 1
0
 /**
  * Constructor activating the default information of the class
  *
  * @access	protected
  */
 public function __construct()
 {
     parent::__construct();
     $extensions = self::loadExtensions('links');
     // Load all link extensions
     foreach ($extensions as $link) {
         $this->extensions[] = $this->getLinkExtension($link);
     }
     $request = WFRequest::getInstance();
     $request->setRequest(array($this, 'getLinks'));
 }
Exemplo n.º 2
0
    /**
     * Constructor activating the default information of the class
     *
     * @access  protected
     */
    public function __construct($config = array()) {
        parent::__construct($config);

        $this->setProperties(array_merge($config, array(
            'local'     => true,
            'upload'    => array(
                'stream'    => false,
                'chunking'  => false,
                'unique_filenames' => false
            )
        )));
    }
Exemplo n.º 3
0
 /**
  * Constructor activating the default information of the class
  *
  * @access	protected
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
 }
Exemplo n.º 4
0
 /**
  * Constructor activating the default information of the class
  *
  * @access  protected
  */
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->setProperties($config);
 }
Exemplo n.º 5
0
 /**
  * @access  protected
  */
 public function __construct($config = array())
 {
     $default = array('name' => '', 'title' => '', 'params' => array());
     $config = array_merge($default, $config);
     parent::__construct($config);
 }