/** * Constructor * * @param int $type * @return void * @ignore */ public function __construct($type) { $typeName = array(1 => 'GIF', 2 => 'Jpeg', 3 => 'PNG', 4 => 'SWF', 5 => 'PSD', 6 => 'BMP', 7 => 'TIFF (intel)', 8 => 'TIFF (motorola)', 9 => 'JPC', 10 => 'JP2', 11 => 'JPX', 12 => 'JB2', 13 => 'SWC', 14 => 'IFF', 15 => 'WBMP', 16 => 'XBM'); if (isset($typeName[$type])) { $type = $typeName[$type]; } else { $type = 'Unknown'; } parent::__construct("Unsupported image format '{$type}'."); }
/** * Constructor * * @param int $type * @return void * @ignore */ public function __construct($type) { $chartTypeNames = array(ezcGraph::PIE => 'Pie', ezcGraph::LINE => 'Line', ezcGraph::BAR => 'Bar'); if (isset($chartTypeNames[$type])) { $chartTypeName = $chartTypeNames[$type]; } else { $chartTypeName = 'Unknown'; } parent::__construct("Invalid data set display type '{$type}' ('{$chartTypeName}') for current chart."); }
/** * Constructor * * @param string $file * @param string $extension * @return void * @ignore */ public function __construct($file, $extension) { parent::__construct("Unknown font type '{$extension}' of file '{$file}'."); }
/** * Constructor * * @param int $rows * @param int $columns * @param int $dRows * @param int $dColumns * @return void * @ignore */ public function __construct($rows, $columns, $dRows, $dColumns) { parent::__construct("Matrix '{$dRows}, {$dColumns}' is incompatible with matrix '{$rows}, {$columns}' for requested operation."); }
/** * Constructor * * @param mixed $driver * @param string $accepted * @return void * @ignore */ public function __construct($driver, $accepted) { $driverClass = get_class($driver); parent::__construct("Incompatible driver used. Driver '{$driverClass}' is not an instance of '{$accepted}'."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("Flash can only read JPEGs and PNGs."); }
/** * Constructor * * @param mixed $definition * @return void * @ignore */ public function __construct($definition) { parent::__construct("Unknown color definition '{$definition}'."); }
/** * Constructor * * @param mixed $value * @return void * @ignore */ public function __construct($value) { $type = gettype($value); parent::__construct("Could not parse date '{$value}' of type '{$type}'."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("Reducement of shape failed, because it was already too small."); }
/** * Constructor * * @param string $message * @return void * @ignore */ public function __construct($message) { parent::__construct("You provided unusable data: '{$message}'."); }
/** * Constructor * * @param ezcGraphChart $chart * @return void * @ignore */ public function __construct($chart) { parent::__construct("Chart is not yet rendered."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("You can not use non numeric keys with Average datasets."); }
/** * Constructor * * @param string $id * @return void * @ignore */ public function __construct($id) { parent::__construct("Could not find element with id '{$id}' in SVG document."); }
/** * Constructor * * @param string $name * @return void * @ignore */ public function __construct($name) { parent::__construct("No chart element with name '{$name}' found."); }
/** * Constructor * * @param string $message * @return void * @ignore */ public function __construct($message) { parent::__construct("Invalid step size on numeric axis: {$message}."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("You tried to insert to many datasets."); }
/** * Constructor * * @param string $name * @return void * @ignore */ public function __construct($name) { parent::__construct("No data with name '{$name}' found."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("Bar charts do not support axis with unregular steps sizes."); }
/** * Constructor * * @param mixed $value * @return void * @ignore */ public function __construct($value) { $type = gettype($value); parent::__construct("The array dataset can only use arrays and iterators, but you supplied '{$type}'."); }
/** * Constructor * * @param int $rows * @param int $columns * @param int $rPos * @param int $cPos * @return void * @ignore */ public function __construct($rows, $columns, $rPos, $cPos) { parent::__construct("Position '{$rPos}, {$cPos}' is out of the matrix boundings '{$rows}, {$columns}'."); }
/** * Constructor * * @param string $name * @return void * @ignore */ public function __construct($name) { parent::__construct("No dataset with identifier '{$name}' could be found."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("No data sets assigned to chart."); }
/** * Constructor * * @param int $minimum * @return void * @ignore */ public function __construct($minimum) { parent::__construct("Value '{$minimum}' exceeds displayable values on a logarithmical scaled axis."); }
/** * Constructor * * @param string $string * @param float $size * @param int $width * @param int $height * @return void * @ignore */ public function __construct($string, $size, $width, $height) { parent::__construct("Could not fit string '{$string}' with font size '{$size}' in box '{$width} * {$height}'.\nPossible solutions to solve this problem:\n - Decrease the amount of steps on the axis.\n - Increase the size of the chart.\n - Decrease the minimum font size.\n - Use a font which consumes less space for each character."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("This cannot be set on data points, but only for data sets."); }
/** * Constructor * * @param string $image * @return void * @ignore */ public function __construct($image) { parent::__construct("File '{$image}' is not a valid image."); }
/** * Constructor * * @return void * @ignore */ public function __construct() { parent::__construct("Flash can only read non interlaced JPEGs."); }