public function __construct($type = '') { parent::__construct(); if ($type == '') { $this->type = eptSale::OTHER; } else { $this->type = $type; } }
public function __construct($type) { parent::__construct(); $this->type = $type; }
public function __construct() { parent::__construct(); }
/** * Constructor * @param string $name author name */ public function __construct($name = '') { parent::__construct(); $this->name = $name; }