diff --git a/api/api_default.php b/api/api_default.php index 9de3251..c04a504 100644 --- a/api/api_default.php +++ b/api/api_default.php @@ -11,6 +11,10 @@ */ namespace SYSTEM\API; +/** + * api_default Interface used internally in api_default Class + * can be used insted of api_default if hashbang mechanic should not be used. + */ interface api_default_interface { /** * API Group function - implement this function and return the Groupnumber diff --git a/api/api_login.php b/api/api_login.php index c17eb5b..0fdc754 100644 --- a/api/api_login.php +++ b/api/api_login.php @@ -94,8 +94,8 @@ class api_login { * System Account Change Password * * @param string $username Username - * @param sha1 $old_password_sha1 Users Old Password SHA1 String - * @param sha1 $new_password_sha1 Users New Password SHA1 String + * @param string $old_password_sha1 Users Old Password SHA1 String + * @param string $new_password_sha1 Users New Password SHA1 String * @return JSON Returns JSON result with success/failure status */ public static function call_account_action_change_password($old_password_sha1,$new_password_sha1){ @@ -105,7 +105,7 @@ class api_login { * System Account Request Change EMail Token * * @param string $username Username - * @param email $new_email Users new EMail Address + * @param string $new_email Users new EMail Address * @return JSON Returns JSON result with success/failure status */ public static function call_account_action_change_email($new_email){ diff --git a/cron/cron.php b/cron/cron.php index fa11ec5..cd8f58e 100644 --- a/cron/cron.php +++ b/cron/cron.php @@ -58,6 +58,12 @@ class cron { return \SYSTEM\LOG\JsonResult::ok(); } + /** + * Run a specific registered Cronjob by classname if its time to do so. + * + * @param string Classname of the cronjob + * @return JSON Returns Json::ok() + */ public static function run_class($class){ $cron = \SYSTEM\SQL\SYS_SAIMOD_CRON_SINGLE_SELECT::Q1(array($class)); if(!$cron){ diff --git a/db/connection/Connection.php b/db/connection/Connection.php index 6457bdf..a4b0f27 100644 --- a/db/connection/Connection.php +++ b/db/connection/Connection.php @@ -59,6 +59,7 @@ class Connection extends ConnectionAbstr{ * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ public function prepare($stmtName, $stmt, $values, $types = null){ diff --git a/db/connection/ConnectionAMQP.php b/db/connection/ConnectionAMQP.php index 7a650d4..da2cc6e 100644 --- a/db/connection/ConnectionAMQP.php +++ b/db/connection/ConnectionAMQP.php @@ -100,6 +100,7 @@ class ConnectionAMQP extends ConnectionAbstr { * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ public function prepare($stmtName, $stmt, $values, $types = null){ diff --git a/db/connection/ConnectionAbstr.php b/db/connection/ConnectionAbstr.php index 5f4afde..98b3f02 100644 --- a/db/connection/ConnectionAbstr.php +++ b/db/connection/ConnectionAbstr.php @@ -40,6 +40,7 @@ abstract class ConnectionAbstr { * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ abstract public function prepare($stmtName, $stmt, $values, $types = null); diff --git a/db/connection/ConnectionMYS.php b/db/connection/ConnectionMYS.php index 844b246..1e910c0 100644 --- a/db/connection/ConnectionMYS.php +++ b/db/connection/ConnectionMYS.php @@ -57,6 +57,7 @@ class ConnectionMYS extends ConnectionAbstr { * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ public function prepare($stmtName, $stmt, $values, $types = null){ diff --git a/db/connection/ConnectionPG.php b/db/connection/ConnectionPG.php index 31f92c0..fac176c 100644 --- a/db/connection/ConnectionPG.php +++ b/db/connection/ConnectionPG.php @@ -49,6 +49,7 @@ class ConnectionPG extends ConnectionAbstr { * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ public function prepare($stmtName, $stmt, $values, $types = null){ diff --git a/db/connection/ConnectionSQLite.php b/db/connection/ConnectionSQLite.php index 18f2458..a0e2f89 100644 --- a/db/connection/ConnectionSQLite.php +++ b/db/connection/ConnectionSQLite.php @@ -50,6 +50,7 @@ class ConnectionSQLite extends ConnectionAbstr { * @param string $stmtName Name of the Statement - espec for PostgreSQL important * @param string $stmt SQL string of the Statement * @param array $values Array of Prepare Values + * @param string $types types sql prepare string * @return Result Returns Database Query Result. */ public function prepare($stmtName, $stmt, $values, $types = null){ diff --git a/docu/autoload.inc b/docu/autoload.inc index 18358b9..080568c 100644 --- a/docu/autoload.inc +++ b/docu/autoload.inc @@ -1,2 +1,3 @@ 'system', + 'inpath' => new \SYSTEM\PSYSTEM(), + 'outpath' => new \SYSTEM\PSYSTEM('docu/system/'), + 'inpath_md' => new \SYSTEM\PSYSTEM('docu/system/structure.xml'), + 'outpath_md' => new \SYSTEM\PSYSTEM('docu/system_wiki/'), + 'cachepath' => new \SYSTEM\PSYSTEM('docu/system/cache/'), + 'ignore' => array( 'lib/animate/*', + 'lib/bootstrap/*', + 'lib/bootstrap_growl/*', + 'lib/git/*', + 'lib/jqbootstrapvalidation/*', + 'lib/jquery/*', + 'lib/lettering/*', + 'lib/markdown/*', + 'lib/minify/*', + 'lib/phpdocumentor/*', + 'lib/scssphp/*', + 'lib/tablesorter/*', + 'lib/textillate/*', + 'lib/tinymce/*', + 'lib/jstree/*', + 'lib/phpdoc_md/*'), + 'sourcecode' => true, + 'parseprivate' => false, + 'title' => 'SYSTEM - PHP Framework'); + } +} \ No newline at end of file diff --git a/lib/animate b/lib/animate index b117ce5..6dd8080 160000 --- a/lib/animate +++ b/lib/animate @@ -1 +1 @@ -Subproject commit b117ce583f21c3258d73c0e336b5c511f5fe90a3 +Subproject commit 6dd8080bcbc247178396e6f6d6cbf0fc0aae0b40 diff --git a/lib/bootstrap b/lib/bootstrap index a731416..b21ee2a 160000 --- a/lib/bootstrap +++ b/lib/bootstrap @@ -1 +1 @@ -Subproject commit a73141649db6e58fda9d4a0d1db271c38460bce5 +Subproject commit b21ee2aa54e35388bcefbea05053045060abea8b diff --git a/lib/bootstrap_growl b/lib/bootstrap_growl index aa913c9..b674508 160000 --- a/lib/bootstrap_growl +++ b/lib/bootstrap_growl @@ -1 +1 @@ -Subproject commit aa913c90511b035125888fe45e41521f85dfbb56 +Subproject commit b674508ed84fec7643dcc0be483841d4bf2ef1f9 diff --git a/lib/git b/lib/git index c0b6ba4..0372a2f 160000 --- a/lib/git +++ b/lib/git @@ -1 +1 @@ -Subproject commit c0b6ba477ddef31f20b1363256e0a87c1c93b06e +Subproject commit 0372a2f50e97fe333f7eae0d3bfd2c47b8d4f697 diff --git a/lib/jqbootstrapvalidation b/lib/jqbootstrapvalidation index 1f6f4ea..ff0ae20 160000 --- a/lib/jqbootstrapvalidation +++ b/lib/jqbootstrapvalidation @@ -1 +1 @@ -Subproject commit 1f6f4ea7e6eab0f9c0a740530e957d3d73851d14 +Subproject commit ff0ae2033b0091f2ace860a683cedb931e2c5a9c diff --git a/lib/jquery b/lib/jquery index 5cbffcf..967f38f 160000 --- a/lib/jquery +++ b/lib/jquery @@ -1 +1 @@ -Subproject commit 5cbffcf4e9a888ee0a80addaf2a68006cc8a7124 +Subproject commit 967f38f6c8ca7569b063673f9083aa98e099be92 diff --git a/lib/jstree b/lib/jstree index b632e12..95926d3 160000 --- a/lib/jstree +++ b/lib/jstree @@ -1 +1 @@ -Subproject commit b632e12b1f2ac67ab2a6a3cb09f93524f27348bd +Subproject commit 95926d395734a9ed7f958d5422b50f21dfb8dde4 diff --git a/lib/lettering b/lib/lettering index fa77e99..0d964b1 160000 --- a/lib/lettering +++ b/lib/lettering @@ -1 +1 @@ -Subproject commit fa77e997e3fec513cf55416c9f21ce57abcdece4 +Subproject commit 0d964b18551f61385da9208bc8daecf267d1398d diff --git a/lib/markdown b/lib/markdown index 71b6af6..1caf559 160000 --- a/lib/markdown +++ b/lib/markdown @@ -1 +1 @@ -Subproject commit 71b6af6e9b3750fdc54327b53bc09631ac48ef1d +Subproject commit 1caf5595d88a06e33795304b871d3c2330e408a8 diff --git a/lib/minify b/lib/minify index dcdc55c..1e4a4f1 160000 --- a/lib/minify +++ b/lib/minify @@ -1 +1 @@ -Subproject commit dcdc55caa503283a66a5a9a1325f3f27b1475f6c +Subproject commit 1e4a4f181d3b3c28c5ac292d8c23fe93bce6dd12 diff --git a/lib/phpdoc_md b/lib/phpdoc_md index 85f3a6b..848d577 160000 --- a/lib/phpdoc_md +++ b/lib/phpdoc_md @@ -1 +1 @@ -Subproject commit 85f3a6b5a64fd99477d00e0f014789c81fa3c234 +Subproject commit 848d57765b8fb9bed5c5ab6746301e8b0439c4ca diff --git a/lib/phpdocumentor b/lib/phpdocumentor index f0c4f33..ef39cf9 160000 --- a/lib/phpdocumentor +++ b/lib/phpdocumentor @@ -1 +1 @@ -Subproject commit f0c4f33ba8bfb1904b424e1611d93974d38aa808 +Subproject commit ef39cf938da5165a38cf01b5ab980d0dbf2c1108 diff --git a/lib/scssphp b/lib/scssphp index bac779a..84ca545 160000 --- a/lib/scssphp +++ b/lib/scssphp @@ -1 +1 @@ -Subproject commit bac779a7b9ef053b8253d4d76c594b03b19157aa +Subproject commit 84ca5459fda67dbd01c3a2f1e57ea72d50b938f0 diff --git a/lib/tablesorter b/lib/tablesorter index f8158bf..2492c3e 160000 --- a/lib/tablesorter +++ b/lib/tablesorter @@ -1 +1 @@ -Subproject commit f8158bfdea25f8fae9687e5f999d2258a05f1965 +Subproject commit 2492c3e6e1042d744320cfcf551b2da9e6d8068c diff --git a/lib/textillate b/lib/textillate index 4ca4373..aab326a 160000 --- a/lib/textillate +++ b/lib/textillate @@ -1 +1 @@ -Subproject commit 4ca4373942cce18aa11b59c7c5ddfd31181f757e +Subproject commit aab326ad891a1af1570bb2c8e51abc800fa85db6 diff --git a/lib/tinymce b/lib/tinymce index 6a3078b..48460ac 160000 --- a/lib/tinymce +++ b/lib/tinymce @@ -1 +1 @@ -Subproject commit 6a3078b3f22b6d2189fdc3d5ddec49365120bc39 +Subproject commit 48460acec927a79366c789e4ddf9e40cbc3db42e diff --git a/sai/modules/saimod_sys_api/tpl/saimod_sys_api.tpl b/sai/modules/saimod_sys_api/tpl/saimod_sys_api.tpl index cbb8f76..d99ca65 100644 --- a/sai/modules/saimod_sys_api/tpl/saimod_sys_api.tpl +++ b/sai/modules/saimod_sys_api/tpl/saimod_sys_api.tpl @@ -1,6 +1,6 @@