Login   Register  
PHP Classes
elePHPant
Icontem

Advanced Sourcecode Reflection in PHP

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Artur Graniszewski
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Packages: 13 Browse all classes by Artur Graniszewski Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 31
All time rank: 39210 in Poland Poland
Week rank: 61 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
This package can retrieve extended reflection information on classes or functions.

It can extends the reflection classes and parses PHP source code to retrieve additional details on classes and functions.

Currently it returns the body of their code, the declaration, the line, column and file position in the source file, besides other details that can be retrieved by the base reflection support.

  Classes of Artur Graniszewski  >  Advanced Sourcecode Reflection in PHP  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Advanced Sourcecode Reflection in PHP
Base name: advanced-reflection
Description: Retrieve extended class reflection information
Version: 1.0.0
PHP version: 5.2.2
License: GNU Lesser General Public License (LGPL)
All time users: 684 users
All time rank: 4109
Week users: 0 users
Week rank: 1988 Equal
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes

  Files folder image Screenshots  
Screenshot #1, code listing using Advanced Reflection
File Role Description
Accessible without login Image file example1.PNG Screen Screenshot #1, code listing using Advanced Reflection


  Innovation Award  
PHP Programming Innovation award nominee
April 2011
Number 2

Prize: One copy of RadPHP XE
PHP 5 introduced reflection support in PHP, thus allowing applications to introspect PHP classes at runtime and do something useful with classes meta-information.

This class goes further by parsing the actual PHP source code to provide additional useful meta-information details besides what PHP reflection support provides.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Perfect (100.0%)
Good (91.7%)
Good (91.7%)
Good (91.7%)
-
-
Sufficient (77.5%)
26
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Project homepage Technical description of this class (polish version)
Reflection in PHP Documentation found in the php.net manual
Reflection Definition Definition found on Wikipedia
PHP Tokens Description of the parsing mechanism used by this class

  Files folder image Files  
File Role Description
Plain text file reflection_php53.php Class Main class (PHP 5.3+ only)
Plain text file reflection_php52.php Class Main class (PHP 5.2+)
Accessible without login Plain text file example_php53.php Example Example #1 (PHP 5.3+ only)
Accessible without login Plain text file example_php52.php Example Example #2 (PHP 5.2+)
Accessible without login Plain text file license.txt Lic. LGPL license
Accessible without login Plain text file readme.txt Doc. Documentation

Download all files: advanced-reflection.tar.gz advanced-reflection.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.