public function __construct($size, $image) { parent::__construct($size, $size, $image); }
public function __construct($width) { parent::__construct($width, $width); }
public function __construct($height) { parent::__construct($height, $height); }
public function __construct($x, $y, $size) { parent::__construct($x, $y, $size, $size); $this->size = $size; //Expose size to reflection }
public function __construct($side) { parent::__construct($side, $side); }
public function __construct($x1, $y1, $x2, $y2) { parent::__construct($x1, $y1, $x2, $y2); }
function __construct($h, $w, $r, $s1) { parent::__construct($h, $w, $r); //Square heights = square widths $this->height = $s1; $this->width = $s1; $this->numSides = 4; $this->sideLengths[0] = $s1; $this->sideLengths[1] = $s1; $this->sideLengths[2] = $s1; $this->sideLengths[3] = $s1; $this->cPerim(); $this->cArea(); }
function __construct($bound, $bgcolor = NULL, $fgcolor = NULL, $surfaces = 63, $depth = 15) { parent::__construct($bound, $bgcolor, $fgcolor); $this->surfaces($surfaces); $this->depth($depth); }
public function __construct($width, $height, $margin = 0) { parent::__construct($width, $height); $this->margin = $margin; }
public function __construct($height) { // parent:: calls the parent class, Rectangle. parent::__construct($height, $height); }
public function __construct($height) { parent::__construct($height, $height); // $this->height=$height; // $this->width=$height; }
public function __construct($size, $image) { parent::__construct($size, $size, $image); $this->name = 'Square'; }