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
| SIMPLX Controller V0.7 | |
| UPDATE 111109 | |
| NEW FEATURES: | |
| - Added a whole bunch of modResource fields to the Request object. This means that you can route on stuff like: | |
| pagetitle | |
| template |
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
| /*! | |
| * Backbone Module Manager - v0.1pre - 9/9/2011 | |
| * http://benalman.com/ | |
| * | |
| * Copyright (c) 2011 "Cowboy" Ben Alman | |
| * Dual licensed under the MIT and GPL licenses. | |
| * http://benalman.com/about/license/ | |
| */ | |
| function ModuleManager(fn) { |
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
| var SimplxStudio = {}; | |
| SimplxStudio.modx = {}; | |
| /* Creating JSON representation for modAccess */ | |
| SimplxStudio.modx.modAccess={ | |
| "class": "modAccess", | |
| "extends":"xPDOSimpleObject", | |
| "fields": [ | |
| "id","alias","target","principal_class","principal","authority","policy" |
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 | |
| interface ISimplxHTTPProxy{ | |
| public function setBaseURL($url); | |
| public function setServiceURI($uri); | |
| public function login($usn,$psw); | |
| public function logout(); | |
| public function get($res,$data); | |
| public function post($res,$data); | |
| public function patch($res,$data); | |
| public function put($res,$data); |
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 | |
| interface ISimplxRestProxy{ | |
| public function setServiceURI($uri); | |
| public function login($usn,$psw); | |
| public function logout(); | |
| public function get($res,$data); | |
| public function post($res,$data); | |
| public function patch($res,$data); | |
| public function put($res,$data); | |
| public function delete($res,$data); |
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
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <html> | |
| <head/> | |
| <body class="xPDOObject" data-package="modx"> | |
| <form class="modAccess" name="modAccess"> | |
| <input type="hidden" name="class" value="modAccess"/> | |
| <input type="hidden" name="extends" value="xPDOSimpleObject"/> | |
| <input type="hidden" name="id" value=""/> | |
| <fieldset> | |
| <legend>modAccess</legend> |
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 | |
| /* | |
| $Id: nusoap.php,v 1.114 2007/11/06 15:17:46 snichol Exp $ | |
| NuSOAP - Web Services Toolkit for PHP | |
| Copyright (c) 2002 NuSphere Corporation | |
| This library is free software; you can redistribute it and/or |
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 | |
| global $modx; | |
| if(!class_exists('simplx_propertyset')){ | |
| class simplx_propertyset{ | |
| public static $initialized = false; | |
| public static $currentPs; | |
| public static $defaultPs; | |
| private static $propertySetList; |
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 | |
| $simplx_debugger_js = $modx->getChunk('simplx.debugger.js'); | |
| $simplx_rpc_js = $modx->getChunk('simplx.jsonrpc.js'); | |
| $modx->regClientStartupHTMLBlock($simplx_rpc_js); | |
| $modx->regClientStartupHTMLBlock($simplx_debugger_js); |
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 | |
| global $modx; | |
| if(!class_exists('simplx_propertyset')){ | |
| class simplx_propertyset{ | |
| public static $initialized = false; | |
| public static $currentPs; | |
| public static $defaultPs; | |
| private static $propertySetList; |