Merge branch 'origin/master'

This commit is contained in:
scholzDaSense 2013-06-14 11:43:02 +02:00
commit d466b655dc
3 changed files with 10 additions and 9 deletions

View File

@ -45,8 +45,9 @@ class ResultMysqliPrepare extends \SYSTEM\DB\Result{
//$result_type not used! //$result_type not used!
public function next($object = false, $result_type = MYSQL_BOTH){ public function next($object = false, $result_type = MYSQL_BOTH){
if(\mysqli_stmt_fetch($this->res)){ if(\mysqli_stmt_fetch($this->res)){
return $this->binds;} foreach( $this->binds as $key=>$value ){
$row[ $key ] = $value;}
return $row;}
return NULL; return NULL;
} }

View File

@ -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_config');
\SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_calls'); \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_sys('\SYSTEM\SAI\saimod_sys_locale');
//\SYSTEM\SAI\sai::getInstance()->register('\SYSTEM\SAI\saimod_sys_docu'); //\SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_docu');

View File

@ -4,20 +4,20 @@ namespace SYSTEM\SAI;
abstract class SaiModule { abstract class SaiModule {
public static function html_content(){ public static function html_content(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
public static function html_li_menu(){ public static function html_li_menu(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
//true or false -> if true no call to right_right() //true or false -> if true no call to right_right()
public static function right_public(){ public static function right_public(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
//check your rights here -> returns true or false //check your rights here -> returns true or false
public static function right_right(){ public static function right_right(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
//array with paths as json //array with paths as json
public static function src_js(){ public static function src_js(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
//array with paths as json //array with paths as json
public static function src_css(){ public static function src_css(){
throw new RuntimeException("Unimplemented!");} throw new \RuntimeException("Unimplemented!");}
} }