Welcome Guest, Not a member yet? Register   Sign In
is there a particular order of execution?
#1

[eluser]mistress_shiira[/eluser]
hi guys!
i was just wondering,if i have this:
Quote:
function admin(){
admin::Controller();
//i have if statements here for checking values and redirecting users to specific controllers according to their privileges
}
function index(){
//loads a certain view
}
is there an order of execution here?
#2

[eluser]schnoodles[/eluser]
OK not exactly sure which part you are talking about but Constructors get called before the Methods and within the Methods it starts from top to bottom.

If you understand what i mean that tells you what you need to know :\
#3

[eluser]mistress_shiira[/eluser]
[quote author="schnoodles" date="1194865118"]OK not exactly sure which part you are talking about but Constructors get called before the Methods and within the Methods it starts from top to bottom.

If you understand what i mean that tells you what you need to know :\[/quote]

you got what i tried to explain a while ago.Smile thanks a lot!
#4

[eluser]schnoodles[/eluser]
No problems, just glad you understood.




Theme © iAndrew 2016 - Forum software by © MyBB