Search found 10 matches
- Sun Sep 25, 2005 10:20 pm
- Forum: PHP - Theory and Design
- Topic: Generic paging class
- Replies: 1
- Views: 984
Generic paging class
I HATE writing code for pagination of records and having to keep track of the page index, number of items to display, etc...so I have considered trying to invent some generic paging class to assist in the madness... I have looked at all the PHP Paging classes out there (from what could be easily fou...
- Tue Sep 20, 2005 7:14 pm
- Forum: PHP - Code
- Topic: function call type???
- Replies: 8
- Views: 676
- Tue Sep 20, 2005 2:17 pm
- Forum: PHP - Code
- Topic: function call type???
- Replies: 8
- Views: 676
we use these in our framework /** * isStaticCall * checks the call-stack to see if its calling method is being called statically * @param $aOffset integer how many more steps back into the call stack should it step * @author feyd * @return boolean */ function isStaticCall($Offset=0) { $stack = debu...
- Tue Sep 20, 2005 2:05 pm
- Forum: PHP - Code
- Topic: function call type???
- Replies: 8
- Views: 676
It can be read from the result of debug_backtrace(), but I wouldn't rely on it, since it's a debugging function and might change when you least expect it ... Why do you need that? Cool... :) Years of using PHP and i've never even known about these functions :) However like you said, there is someth...
- Tue Sep 20, 2005 2:11 am
- Forum: PHP - Code
- Topic: function call type???
- Replies: 8
- Views: 676
function call type???
This may not even be possible, but what the heck :) Does anyone know of a way to determine whether a classes member function was called statically via the scope resolution operator :: or normally via -> Is there anyway to determine this inside the function just called??? I hoping that PHP's powerful...
- Sun Aug 28, 2005 9:06 pm
- Forum: General Discussion
- Topic: Canadian Postal Code Database
- Replies: 8
- Views: 1888
Just to reconfirm... You cannot download a freely available database of Postal Codes for Canada. It doesn't exist - i've looked and contacted CPost about it. I'm not sure if you could create your own - which I thought of doing, using their postal code maps and a lat/long plotter, but that's probably...
- Sun Aug 28, 2005 9:02 pm
- Forum: General Discussion
- Topic: PHP Editor
- Replies: 28
- Views: 3307
IMHO UltraEdit is the best editor out there for PHP, Perl , etc that don't have a dedicated IDE. It is very fast and can handle large files easily, although...files shouldn't be that large anyway :) It even has Indent/Unindent and column selection capabilities, which IMHO come in really handy when c...
- Sun Aug 28, 2005 9:00 pm
- Forum: General Discussion
- Topic: PHP Editor
- Replies: 28
- Views: 3307
- Sun Aug 28, 2005 8:37 pm
- Forum: Job Hunt
- Topic: Looking to buy an original PHP script for resale
- Replies: 21
- Views: 8773
- Sun Aug 28, 2005 8:27 pm
- Forum: Job Hunt
- Topic: Looking to buy an original PHP script for resale
- Replies: 21
- Views: 8773
Re: Looking to buy an original PHP script for resale
I would like to buy an original PHP script. I am not really particular as to the nature of the script. I will consider just about anything. The script must be your own work and not include GNU. After the sale, complete rights to the script, all source code, and documentation will transfer to me. Pl...