SESS_MYSQL
SESS_MYSQL
Defines a session type as SQL
The global framework class
$sftp : \Alo\SFTP
SFTP connection manager
$profiler : \Alo\Profiler
Code profiler
$file : \Alo\File
File manager
$email : \Alo\Email
Email manager
$curl : \Alo\cURL
Object-oriented cURL wrapper
$cron : \Alo\Cron
Crontab manager
$form_validator : \Alo\Validators\Form
HTML form validator
$tester : \Alo\Test\AbstractTester
Code tester
$db : \Alo\Db\AbstractDb
Database connection
$cache : \Alo\Cache\AbstractCache
Cache instance
$session : \Alo\Session\AbstractSession
The session handler
$controller : \Alo\Controller\AbstractController
The loaded controller
$router : \Alo\Controller\Router
The routing class
loadSession(string $type = self::SESS_MYSQL) : \Alo\Session\AbstractSession
Loads a session
string | $type | The session class name - see Alo::SESS_* constants |
loadConfig(string $path, boolean $return_path = false) : string|boolean
Loads a configuration file based on environment: from DIR_SYS/config during setup & DIR_APP/config during production/development
string | $path | The config file relative path without the file extension, e.g. to load a file found in config/db/mysql.php provide db/mysql |
boolean | $return_path | If set to true it will return the calculated path instead of requiring the file |
The path is $return_path is true, TRUE if it is false