diff options
author | Malf Furious <m@lfurio.us> | 2017-04-09 17:48:27 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-04-09 18:37:31 -0400 |
commit | 8a1a277c3cf747cbb82c9dcb660a925963f635a5 (patch) | |
tree | e42a72ae71cc625c2a62345dd38d81e7f951e58d | |
parent | 478504986a348bb53765e137a6ea8293929954aa (diff) | |
download | scrott-8a1a277c3cf747cbb82c9dcb660a925963f635a5.tar.gz scrott-8a1a277c3cf747cbb82c9dcb660a925963f635a5.zip |
Add pad function getStages()
-rw-r--r-- | app/class/pad.class.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/class/pad.class.php b/app/class/pad.class.php index d062b0c..a5c771b 100644 --- a/app/class/pad.class.php +++ b/app/class/pad.class.php @@ -85,6 +85,16 @@ class pad extends object } /* + * Get an array of all stages under this pad. The array is in + * proper sequential order. + */ + public function getStages() : array + { + $stage = new stage($this->stage); + return $stage->getArray(); + } + + /* * Insert a stage object at the front of this pad's pipeline */ public function insertStage(stage $stage) : void |