|
From: Odysseas T. <ody...@ya...> - 2001-07-08 15:39:40
|
>
> What will happen if the load_order value is
> a number? That means, what if the value
The value of the load_order can be either a string or
a number. The only requirement is that
when given to the function
create_function('$a,$b', 'return $a["load_order"] -
$b["load_order"];'));
it behaves properly.
so any of the sets of numbers below
they will end up getting sequenced properly
during loading time.
1,2,3
'1','2','3'
45, 78, 108
-8, 1.23, 3.56, 6.78
'a', 'b', 'c'
$this->modules[$_group] will always end up being
an array that looks like
0 => mod1,
1 => mod2
2 => mod3
...
where mod1, mod2 mod3 are the first/second/third
module
in your index.php in order of appearence.
They will have been instantiated not in order of
appearence but based on their load_order:
smallest first, biggest last
odysseas
> of load_order is not quoted, but just
> a bare integer? Down the line, will this
> value be "interpreted" as an indexed array at
> that level, vhen the load_order value is used
> as a "key" later, and that value is an int?
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
|