summaryrefslogtreecommitdiffstats
path: root/src/graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.php')
-rw-r--r--src/graph.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graph.php b/src/graph.php
index dd868cd..244dd5f 100644
--- a/src/graph.php
+++ b/src/graph.php
@@ -54,6 +54,12 @@ class ezcGraph
}
}
+ /**
+ * Creates a palette from given name
+ *
+ * @param string $name Name of the palette
+ * @return ezcGraphPalette Created palette
+ */
static public function createPalette( $name )
{
$className = 'ezcGraphPalette' . $name;
OpenPOWER on IntegriCloud