Post by px87 » Tue Nov 02, 2010 12:07 am

Hi all!

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');  
I don't know what is the function of '$registry' o where it comes.

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 :P.

Greetings.

Newbie

Posts

Joined
Tue Oct 26, 2010 1:28 pm
Who is online

Users browsing this forum: No registered users and 41 guests