projects
/
Pman.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb0fb3
)
Palette.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Feb 2011 15:43:55 +0000
(23:43 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Feb 2011 15:43:55 +0000
(23:43 +0800)
Palette.php
patch
|
blob
|
history
diff --git
a/Palette.php
b/Palette.php
index
b56c3f6
..
7785aaf
100644
(file)
--- a/
Palette.php
+++ b/
Palette.php
@@
-9,8
+9,16
@@
class Pman_Builder_Palette extends Pman
return true;
}
- function get()
+ function get(
$sub
)
{
+ if (empty($sub)) {
+ return $this->roousage();
+ }
+
+
+ function roousage() // list of what elements, can have what as children..
+ {
+
// use file..
$lines = file(dirname(__FILE__).'/RooUsage.txt');
$s = -1;