public function __construct() { parent::__construct(); $this->header_set = true; $this->set_style_defaults(); $this->set_class_defaults(); }
public function __construct($cols = 0, $rows = 0, $fixed = false) { parent::__construct(); $this->numcols = $cols; $this->numrows = $rows; $this->fixed = $fixed; }
public function __construct() { parent::__construct(); $this->width = "auto"; $this->height = "auto"; $this->header = ""; $this->content = ""; $this->type = "header1"; }
public function __construct($width, $height, $bgcolor = 'rgba(255,255,255,0)') { parent::__construct($this->createCanvas($width, $height, $bgcolor)); // Set brush color to opaque black $this->color = imagecolorallocate($this->gd, 0, 0, 0); }