__construct() public method

public __construct ( $owner, $strength, $production )
Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @since 1.21
  *
  * @param string $type
  */
 public function __construct($type = self::TYPE_MEDIAWIKI)
 {
     parent::__construct($type);
 }
Exemplo n.º 2
0
 public function __construct($resource)
 {
     // NEED CONFIGURATION SOMEHOW
     $resource = '/assets' . '/' . ltrim($resource, '/');
     return parent::__construct($resource);
 }
 public function __construct($db, $name, $dbname, $dbprefix, $domain, $ipaddress, $path, $username)
 {
     parent::__construct($db, $name, $dbname, $dbprefix, $domain, $ipaddress, $path, $username);
     $this->base_blog = NULL;
     $this->base_tables = array();
 }