Functions Specific to Supervision Server
Link to the main article: Supervision Server (SVS)
The following functions are additions to the PHP API and provide functionality needed by the SVS. They are implemented as a part of the SVS and are not part of the php_jedox_palo extension.
|
Writes a string to the log-file. For example, this could be used for debugging purposes. |
|
Sends an error message with title of the box and the message to Jedox OLAP server that will be transferred to the client. |
|
Returns the user who made the change |
|
Returns the groups of the user who made the change |
The last two functions can only be called within functions that pass the necessary parameter sid2. As an example, we take SalesCube () as the callback function of InitCubeWorker:
function SalesCube($database, $cube, $areaid, $sid2, $coordinates, $value)
{
$user = get_user_for_sid($sid2); // user who made the change
$groups = get_groups_for_sid($sid2); // groups of the user who made the change
}
Updated January 29, 2024