Login | Register
My pages Projects Community openCollabNet

Discussions > tsWebEditor > Re: PHP5 __autoload and auto-compleet

Project highlights: home | downloads | news | features | screenhots | support

tswebeditor
Discussion topic

Back to topic list

Re: PHP5 __autoload and auto-compleet

Author blackdex
Full name BlackDex
Date 2006-01-18 09:00:55 PST
Message >>Hello again,
>>
>>I Know i have asked this before, but this is kind of
>>another problem.
>>
>>How do i let auto-compleet work for classes?
>>
>>Like, in PHP5 there is an autoload function, this
>function
>>
>>will load the classes when needed.
>>
>>I Can call an class like this.
>>ClassName::F​unctioName('blah');
>>ClassName::CONSTANT
>>
>>
>>Is it possible to have ClassName:: to auto-compleet?
>>Like ClassName-> ??
>>
>>Thx.
>
>Hi !
>
>Classes which loaded with the __autoload function are not
>included in the code completion because tsWebEditor can
>not
>get the filename. This only works, if you execute the
>script. But i work on a way to include files with a
>comment
>like /*%i /include/*.class.php */ or something like that.
>
>thanks,
>thaler.

Ah...
That looks nice :).
Just a thought, could it be recursive.
So it will check the sub-directory's also :).

Thx.
BlackDex

« Previous message in topic | 3 of 3 | Next message in topic »

Messages

Show all messages in topic

PHP5 __autoload and auto-compleet blackdex BlackDex 2006-01-17 23:50:42 PST
     Re: PHP5 __autoload and auto-compleet thaj Thaler 2006-01-18 08:33:46 PST
         Re: PHP5 __autoload and auto-compleet blackdex BlackDex 2006-01-18 09:00:55 PST
Messages per page: