__construct() public method

public __construct ( $coordX, $coordY, $guid = null )
Example #1
0
 function __construct()
 {
     parent::__construct();
     require_once 'libs/Twig-1.16.0/lib/Twig/Autoloader.php';
     \Twig_Autoloader::register();
     //$this->loader = new \Twig_Loader_String();
     $this->loader = new \Twig_Loader_Filesystem('./');
     $this->twig = new \Twig_Environment($this->loader, array('cache' => 'libs/Twig-1.16.0/cache', 'debug' => true));
     $this->twig->addExtension(new \Twig_Extension_Debug());
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $db = new \dot\libs\DB();
 }
Example #3
0
 public function __construct($lat, $lng)
 {
     parent::__construct($lng, $lat);
 }
 public function __construct($x = 0, $y = 0, $color = RED)
 {
     parent::__construct($x, $y);
     $this->color = $color;
     echo "\nInside " . __METHOD__ . ", {$this}\n\n";
 }
Example #5
0
 public function __construct(PointDataInterface $position)
 {
     parent::__construct($position->getX(), $position->getY());
 }
 public function __construct()
 {
     parent::__construct();
 }
Example #7
0
 /**
  * Constructor
  *
  * @param  integer $x      the x-coordinate.
  * @param  integer $y      the y-coordinate.
  * @param  Color   $color  the color of this pixel.
  *
  */
 public function __construct($x, $y, ImageColor $color)
 {
     $this->color = $color;
     parent::__construct($x, $y);
 }
Example #8
0
 public function __construct($row, $column, $flag = false)
 {
     parent::__construct($row, $column);
     $this->flag = $flag;
 }
Example #9
0
 public function __construct($x, $y)
 {
     parent::__construct($x, $y);
     $this->latitude = $x;
     $this->longitude = $y;
 }