diff options
author | Malf Furious <m@lfurio.us> | 2018-09-20 01:07:35 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-20 01:07:35 -0400 |
commit | 694f876bc8655bc00f3a4ae3d650e54d947ea42a (patch) | |
tree | 32da0bae970a3464bb3f0bfb37e65d140984da54 /app/model/pad.php | |
parent | d16ddc164b82c594680359841eeeaa1e26aceaa1 (diff) | |
download | scrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.tar.gz scrott-694f876bc8655bc00f3a4ae3d650e54d947ea42a.zip |
Add start of single-pad view
Diffstat (limited to '')
-rw-r--r-- | app/model/pad.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/model/pad.php b/app/model/pad.php new file mode 100644 index 0000000..d29b1f6 --- /dev/null +++ b/app/model/pad.php @@ -0,0 +1,21 @@ +<?php + +/* + * SCROTT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * For more information, please refer to UNLICENSE + */ + +require_once "class/pad.class.php"; + +$pad = getPageObj(); +$stages = $pad->getStages(); +$stages = array_reverse($stages); + +?> |