diff --git a/db/result/ResultMysqliPrepare.php b/db/result/ResultMysqliPrepare.php index 92549b6..d009507 100644 --- a/db/result/ResultMysqliPrepare.php +++ b/db/result/ResultMysqliPrepare.php @@ -45,8 +45,9 @@ class ResultMysqliPrepare extends \SYSTEM\DB\Result{ //$result_type not used! public function next($object = false, $result_type = MYSQL_BOTH){ if(\mysqli_stmt_fetch($this->res)){ - return $this->binds;} - + foreach( $this->binds as $key=>$value ){ + $row[ $key ] = $value;} + return $row;} return NULL; } diff --git a/sai/modules/register_modules.php b/sai/modules/register_modules.php index 74de378..ebab9d1 100644 --- a/sai/modules/register_modules.php +++ b/sai/modules/register_modules.php @@ -8,4 +8,4 @@ \SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_config'); \SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_calls'); \SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_locale'); -//\SYSTEM\SAI\sai::getInstance()->register('\SYSTEM\SAI\saimod_sys_docu'); \ No newline at end of file +//\SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_docu'); \ No newline at end of file diff --git a/sai/sai/SaiModule.php b/sai/sai/SaiModule.php index a8c4aa1..1766dea 100644 --- a/sai/sai/SaiModule.php +++ b/sai/sai/SaiModule.php @@ -4,20 +4,20 @@ namespace SYSTEM\SAI; abstract class SaiModule { public static function html_content(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} public static function html_li_menu(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} //true or false -> if true no call to right_right() public static function right_public(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} //check your rights here -> returns true or false public static function right_right(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} //array with paths as json public static function src_js(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} //array with paths as json public static function src_css(){ - throw new RuntimeException("Unimplemented!");} + throw new \RuntimeException("Unimplemented!");} } \ No newline at end of file