fixed some minor errors + mysql prepare problem
This commit is contained in:
parent
9240d77127
commit
c68d967252
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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');
|
||||
//\SYSTEM\SAI\sai::getInstance()->register_sys('\SYSTEM\SAI\saimod_sys_docu');
|
||||
@ -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!");}
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user