MyQ X Server
10.3 10.2 8.2 EoL Print Server Central Server English French German Italian Portuguese Spanish
10.3 10.2 8.2 EoL Print Server Central Server English French German Italian Portuguese Spanish

Session Class

The session object is accessible via the MyQ() global function. The Session class has the following methods:

Methods

  • User getUserByUserName(string $userName) - Find a MyQ user by their user name. If no user is found, null is returned.

  • this logError(string $message) - Create an error message in the MyQ log.

  • this logWarning(string $message) - Create a warning message in the MyQ log.

  • this logInfo(string $message) - Create an info message in the MyQ log.

  • this logNotice(string $message) - Create a notice message in the MyQ log.

  • this logDebug(string $message) - Create a debug message in the MyQ log.

  • string getJobsPath() - Get the path to the folder on the MyQ server where the print job is stored. Ends with a backslash.