Ejemplo n.º 1
0
 /**
  * Constructor
  * 
  * @param array $options Default option array
  * @return void
  * @ignore
  */
 public function __construct(array $options = array())
 {
     ezcBase::checkDependency('Graph', ezcBase::DEP_PHP_EXTENSION, 'dom');
     $this->options = new ezcGraphSvgDriverOptions($options);
     $this->font = new ezcGraphSvgFont();
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  * 
  * @param array $options Default option array
  * @return void
  * @ignore
  */
 public function __construct(array $options = array())
 {
     ezcBase::checkDependency('Graph', ezcBase::DEP_PHP_EXTENSION, 'cairo');
     $this->options = new ezcGraphCairoDriverOptions($options);
 }
Ejemplo n.º 3
0
 public function testCheckDependencyVersion()
 {
     ezcBase::checkDependency('Tester', ezcBase::DEP_PHP_VERSION, '5.1.1');
 }