This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * PHP Reflection API | |
| * Examines the inner workings of functions, classes, and objects | |
| */ | |
| Reflection::export(new ReflectionClass('class_name')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // remember to change every instance of "pluginName" to the name of your plugin! | |
| (function($) { | |
| // here it goes! | |
| $.fn.pluginName = function(method) { | |
| // plugin's default options | |
| var defaults = { | |
| foo: 'bar' | |
| }; | |
| // this will hold the merged default and user-provided properties | |
| // you will have to access the plugin's properties through this object! |
NewerOlder