I'm trying to integrate flex 4 (flex is a framework of flash to make RIA's) with opencart to create a easy administration panel for inexperienced users.
I need to know how to get the admin session.
I have been reading about it in the development section and I found that in the '\system\library' directory maybe is the solution, but in all the files have this part of code:
Code: Select all
public function __construct($registry) {
$this->db = $registry->get('db');
$this->request = $registry->get('request');
$this->session = $registry->get('session');
Could you say me how can I get the admin session and/or what is the function of the above code. please?
Thanks, and sorry for my bad english .
Greetings.