We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Application Cache
Get application cache status
Example:
$status = $session->application_cache()->status();
Returns: integer
Application status codes
0 uncached 1 idle 2 checking 3 downloading 4 update ready 5 obsolete
Execute SQL
$result = $session->execute_sql(array( 'dbName' => $dbname, 'query' => $query, 'args' => $args, ));
Returns: array
array( 'insertId' => ..., 'rowsAffected' => ..., 'rows' => ..., )
Get browser connection state
$state = $session->getBrowser_connection();
Returns: boolean
True if application is online; false otherwise
Set browser connection state
$session->postBrowser_connection(array( 'state' => $onlineState, // boolean ));
Upload file
$session->file(array( 'file' => $filename, ));
Returns: string Absolute path of file
Get logs
$logs = $session->log(array( 'type' => 'driver', ));
array( array( 'level' => ..., 'timestamp' => ..., 'message' => ..., ), ... )