Including other scripts in pure mode??

Discussion about the open-source Phalanger [?] project.

Including other scripts in pure mode??

Postby noname0x100 » March 22nd, 2012, 8:57 pm

I have a script with a class, but including folders with other classes. How can I add the classes to the classes of these to use in my main class? Because in PURE MODE works "include" or "require_once" not?
noname0x100
 
Posts: 13
Joined: March 17th, 2012, 12:37 pm

Re: Including other scripts in pure mode??

Postby Jakub Misek » March 23rd, 2012, 8:54 am

Pure mode is equivalent to C# - where all the files automatically include every other. So there is not include or global code in pure mode, because it is not needed.

If you already have a code in PHP, use standard mode instead.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 29 guests

cron

User Control Panel

Login

Who is online

In total there are 29 users online :: 0 registered, 0 hidden and 29 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 29 guests