예제 #1
0
파일: cirlce.php 프로젝트: kabaj/opp
 public function __construct($newX, $newY, $newKolor, $newR)
 {
     echo "Konstruktor Kola<br>";
     parent::__construct($newX, $newY, $newKolor);
     $this->setR($newR);
 }
예제 #2
0
    public function __construct($newY, $newX, $newColor, $r){
        parent::__construct($newY, $newX, $newColor);
        $this->checkR($r);
        echo "Tworzê okr¹g o parametrach x = $this->x, y = $this->y, kolor = $this->color, promieñ = $this->r<br>";

    }