Api Calls'.
'
'.
''.'| '.'ID'.' | '.''.'flag'.' | '.''.'parentID'.' | '.''.'parentValue'.' | '.''.'name'.' | '.''.'allowedValues'.' | '.'
';
$con = new \SYSTEM\DB\Connection(\SYSTEM\system::getSystemDBInfo());
$res = $con->query('SELECT * FROM system.api_calls ORDER BY "ID" ASC;');
while($r = $res->next()){
$result .= ''.'| '.$r['ID'].' | '.''.$r['flag'].' | '.''.$r['parentID'].' | '.''.$r['parentValue'].' | '.''.$r['name'].' | '.''.$r['allowedValues'].' | '.'
';}
$result .= '
';
$result .= 'Page Calls
'.
''.
''.'| '.'ID'.' | '.''.'flag'.' | '.''.'parentID'.' | '.''.'parentValue'.' | '.''.'name'.' | '.''.'allowedValues'.' | '.'
';
$res = $con->query('SELECT * FROM system.page_calls ORDER BY "ID" ASC;');
while($r = $res->next()){
$result .= ''.'| '.$r['ID'].' | '.''.$r['flag'].' | '.''.$r['parentID'].' | '.''.$r['parentValue'].' | '.''.$r['name'].' | '.''.$r['allowedValues'].' | '.'
';}
$result .= '
';
return $result;
}
private static function tablerow_class($flag){
if($flag == 1){
return 'info';}
return 'success';
}
public static function html_li_menu(){return 'Calls';}
public static function right_public(){return false;}
public static function right_right(){return \SYSTEM\SECURITY\Security::check(\SYSTEM\system::getSystemDBInfo(), \SYSTEM\SECURITY\RIGHTS::SYS_SAI);}
public static function src_css(){}
public static function src_js(){}
}