Welcome Guest, Not a member yet? Register   Sign In
How to change data which is init by autoloader?
#5

[eluser]liren[/eluser]
[quote author="toopay" date="1302259581"]What type resource which you load by autoloader? config, package, helper or library?[/quote]

Hi toopay:

I want to autoload an array data when webapp start. the array data like this:

Code:
$arr = array(
    'menu1' => 'home page',
    'menu2' => 'cms page',
    $arr = array(
        'menu2_1' => 'cms_admin',
        'menu2_2' => 'cms_console',
        'menu2_3' => 'cms_view',
        'menu2_4' => 'cms_layoutadmin'
    ),
    'menu3' => 'forum'
);
How to put this data to memory when webapp start? [email protected]


Messages In This Thread
How to change data which is init by autoloader? - by El Forum - 04-07-2011, 06:43 PM
How to change data which is init by autoloader? - by El Forum - 04-07-2011, 09:36 PM
How to change data which is init by autoloader? - by El Forum - 04-07-2011, 11:12 PM
How to change data which is init by autoloader? - by El Forum - 04-07-2011, 11:46 PM
How to change data which is init by autoloader? - by El Forum - 04-07-2011, 11:51 PM
How to change data which is init by autoloader? - by El Forum - 04-08-2011, 12:06 AM
How to change data which is init by autoloader? - by El Forum - 04-08-2011, 12:06 AM
How to change data which is init by autoloader? - by El Forum - 04-08-2011, 12:07 AM
How to change data which is init by autoloader? - by El Forum - 04-08-2011, 12:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB