<?php
class ezcGraphDataSet
{
protected $pallet;
function setPalette( $palette )
{
$this->palette = $palette;
}
}
$e = new ezcGraphDataSet;
$e->setPalette( 'rgb' );
--- src/datasets/base.php
+++ src/datasets/base.php
@@ -83,7 +83,7 @@ abstract class ezcGraphDataSet implements ArrayAccess, Iterator, Countable
*
* @var ezcGraphPalette
*/
- protected $pallet;
+ protected $palette;