This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App.AdminInventoryRoute = Ember.Route.extend({ | |
| model: function() { | |
| return this.store.find('inventory'); | |
| }, | |
| setupController: function(controller, model) { | |
| controller.set('model', model); | |
| //dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // REBRNewTestimonialViewController.m | |
| // closing-table | |
| // | |
| // Created by Micah Iriye on 7/1/14. | |
| // Copyright (c) 2014 Micah Iriye. All rights reserved. | |
| // | |
| #import "REBRNewTestimonialViewController.h" | |
| #import "REBRQuestionsModel.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Copyright (c) 2014, California State University Monterey Bay (CSUMB). | |
| All rights reserved. | |
| Redistribution and use in source and binary forms, with or without | |
| modification, are permitted provided that the following conditions are met: | |
| 1. Redistributions of source code must retain the above copyright notice, | |
| this list of conditions and the following disclaimer. | |
| 2. Redistributions in binary form must reproduce the above | |
| copyright notice, this list of conditions and the following disclaimer in the | |
| documentation and/or other materials provided with the distribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| abstract class Objects { | |
| //NESTED TABLE functionality | |
| //data should be in the form of stdClass | |
| //new nodes should be referencing parent_id of primary_key | |
| public function addNode($table = '', $data, $parent_id = 0) { | |
| $tableLowercase = strtolower($table); | |
| $primary_key = $tableLowercase . 'NestedId'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class SearchVideosController extends BaseController | |
| { | |
| protected $baseDirectory; | |
| //so we can show which file extensions are allowed to search... | |
| protected $fileExtensions = array( | |
| 'mp4', | |
| 'mov' |