Recommend this page to a friend! |
Download .zip |
Info | View files (6) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2005-11-13 (10 years ago) | Not enough user ratings | Total: 1,162 | All time: 3,135 This week: 974 |
Version | License | Categories | ||||
phpcallback 1.0 | GNU General Publi... | Language |
Description | Author | |||||||||||||
This class can be used to register and invoke callback functions. |
|
******************************************************************************** Package: class phpCallback -------------------------------------------------------------------------------- Package version: 1.0 -------------------------------------------------------------------------------- Copyright: (C) 2005 Konstantin S. Budylov nimous@nightworks.ru -------------------------------------------------------------------------------- Licence: General Public License. See the GPL.txt for details -------------------------------------------------------------------------------- Summary: This class is intended for management of 'callback' elements, such as Objects and it's methods, or arrays with it's values, or some functions, or whatever you want. It based on a principle of the mechanism of PHP 'call_user_func_array()' function, with preliminary addition of the 'callbacks' elements, and their subsequent call. For a calling a callback-elements JAVA-syntax (object.method) is used as I find its more readable, in comparison with PHP syntax ($object->method()) If you think differently, simply change variables '$separator' in the functions get_array_key() and set_array_key(), stored in the file functions.inc.php in this package (the values must be identical). Anyway, I find this class very convenient and useful for myself, and, if it will be useful for someone else - it will be pleasant for me. :) Please, see the example.php for details. -------------------------------------------------------------------------------- Feedback: On any questions, please, contact me by this email: nimous@nightworks.ru ******************************************************************************** |
Files |
File | Role | Description |
---|---|---|
class.phpCallback.php | Class | class phpCallback |
example.php | Example | example file |
functions.inc.php | Aux. | Required functions |
GPL.txt | Lic. | License |
README.txt | Doc. | README |
class.example_callback.php | Class | Example callback class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Comments (1) | |||||
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Pages that reference this package |
creare "call back"? su PHPclass ho trovato una classe che dovrebbe fare al caso tuo.. |