Login   Register  
PHP Classes
elePHPant
Icontem

Xyndravandria Erozaver: Validate function parameters with type hinting

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (121)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-22 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 102 This week: 1All time: 7,497 This week: 1,521Up
Version License PHP version Categories  
erozaver 1.0Custom (specified in a ...5PHP 5, Data types, Validation, Language
Description Author  

This class can validate function parameters with type hinting.

It registers error handlers to trap type hinting errors when using classes with names that can be used to identify the type of validation to be performed by the error handlers.

The error handlers parse the type hinting class name to extract the real argument type and validation rules that the type must satisfy.

Currently it supports validating the arguments of type integer or double. It also supports validating the parameter by rules that accept sizes that are equal to a value, less than a maximum, more than a minimum, or within a range.

Picture of Mauro Di Girolamo
Name: Mauro Di Girolamo <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 22
All time rank: 3165190 in Germany Germany
Week rank: 1150 Up58 in Germany Germany Up

  Files folder image Files  
File Role Description
Files folder imageXyndravandria (1 directory)
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  Xyndravandria  
File Role Description
Files folder imageErozaver (6 files, 1 directory)

  Files folder image Files  /  Xyndravandria  /  Erozaver  
File Role Description
Files folder imageadmin_media (1 directory)
  Accessible without login Plain text file Erozaver.php Class Class source
  Accessible without login Plain text file HasLength.php Class Class source
  Accessible without login Plain text file Implement.php Aux. Class source
  Accessible without login Plain text file README.md Data Auxiliary data
  Accessible without login Plain text file XyndravandriaErozaverException.php Class Class source
  Accessible without login Plain text file XyndravandriaPHPLicense.txt Lic. License

  Files folder image Files  /  Xyndravandria  /  Erozaver  /  admin_media  
File Role Description
Files folder imageDocumentation (2 files, 1 directory)

  Files folder image Files  /  Xyndravandria  /  Erozaver  /  admin_media  /  Documentation  
File Role Description
Files folder imagehtml (68 files, 1 directory)
  Accessible without login HTML file Index.html Doc. Documentation
  Accessible without login Plain text file MainPage.php Class Class source

  Files folder image Files  /  Xyndravandria  /  Erozaver  /  admin_media  /  Documentation  /  html  
File Role Description
Files folder imagesearch (44 files)
  Accessible without login HTML file annotated.html Doc. Documentation
  Accessible without login Plain text file annotated.js Data Auxiliary data
  Accessible without login Image file bc_s.png Icon Icon image
  Accessible without login Image file bdwn.png Icon Icon image
  Accessible without login HTML file classes.html Doc. Documentation
  Accessible without login HTML file class_xyndravandri...r_1_1_erozaver.html Doc. Documentation
  Accessible without login Plain text file class_xyndravandri...ver_1_1_erozaver.js Data Auxiliary data
  Accessible without login HTML file class_xyndravandri...aver_exception.html Doc. Documentation
  Accessible without login Image file class_xyndravandri...zaver_exception.png Icon Icon image
  Accessible without login Image file closed.png Icon Icon image
  Accessible without login HTML file dir_18fe9cd8e5109c...626696cd464f08.html Doc. Documentation
  Accessible without login HTML file dir_40ec37097e6f65...5a2c8d94ce4406.html Doc. Documentation
  Accessible without login HTML file dir_47abadc7e2dbee...db8287a782715c.html Doc. Documentation
  Accessible without login HTML file dir_74c658d38fe65e...df23fcbdf2c436.html Doc. Documentation
  Accessible without login HTML file dir_a61ed2a8bf0bdf...336ef7d67917dc.html Doc. Documentation
  Accessible without login HTML file dir_abaef4099e2c1f...9db768ae9e8108.html Doc. Documentation
  Accessible without login HTML file dir_b72b29a22e16cc...5e21919a83d676.html Doc. Documentation
  Accessible without login HTML file dir_d8ef9a5ee313ba...d0e11fbec8113b.html Doc. Documentation
  Accessible without login HTML file dir_f3a7d64f4044d1...83b7084ae0a702.html Doc. Documentation
  Accessible without login Plain text file doxygen.css Data Auxiliary data
  Accessible without login Image file doxygen.png Icon Icon image
  Accessible without login Plain text file dynsections.js Data Auxiliary data
  Accessible without login Image file ftv2blank.png Icon Icon image
  Accessible without login Image file ftv2cl.png Icon Icon image
  Accessible without login Image file ftv2doc.png Icon Icon image
  Accessible without login Image file ftv2folderclosed.png Icon Icon image
  Accessible without login Image file ftv2folderopen.png Icon Icon image
  Accessible without login Image file ftv2lastnode.png Icon Icon image
  Accessible without login Image file ftv2link.png Icon Icon image
  Accessible without login Image file ftv2mlastnode.png Icon Icon image
  Accessible without login Image file ftv2mnode.png Icon Icon image
  Accessible without login Image file ftv2mo.png Icon Icon image
  Accessible without login Image file ftv2node.png Icon Icon image
  Accessible without login Image file ftv2ns.png Icon Icon image
  Accessible without login Image file ftv2plastnode.png Icon Icon image
  Accessible without login Image file ftv2pnode.png Icon Icon image
  Accessible without login Image file ftv2splitbar.png Data Auxiliary data
  Accessible without login Image file ftv2vertline.png Icon Icon image
  Accessible without login HTML file functions.html Doc. Documentation
  Accessible without login HTML file functions_func.html Doc. Documentation
  Accessible without login HTML file functions_vars.html Doc. Documentation
  Accessible without login HTML file hierarchy.html Doc. Documentation
  Accessible without login Plain text file hierarchy.js Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file interface_xyndrava...1_1_has_length.html Doc. Documentation
  Accessible without login Plain text file interface_xyndrava...r_1_1_has_length.js Data Auxiliary data
  Accessible without login Plain text file jquery.js Data Auxiliary data
  Accessible without login HTML file namespaces.html Doc. Documentation
  Accessible without login Plain text file namespaces.js Data Auxiliary data
  Accessible without login HTML file namespace_xyndravandria.html Doc. Documentation
  Accessible without login Plain text file namespace_xyndravandria.js Data Auxiliary data
  Accessible without login HTML file namespace_xyndrava...a_1_1_erozaver.html Doc. Documentation
  Accessible without login Plain text file namespace_xyndravandria_1_1_erozaver.js Data Auxiliary data
  Accessible without login Plain text file navtree.css Data Auxiliary data
  Accessible without login Plain text file navtree.js Data Auxiliary data
  Accessible without login Plain text file navtreeindex0.js Data Auxiliary data
  Accessible without login Image file nav_f.png Icon Icon image
  Accessible without login Image file nav_g.png Icon Icon image
  Accessible without login Image file nav_h.png Icon Icon image
  Accessible without login Image file open.png Icon Icon image
  Accessible without login Plain text file resize.js Data Auxiliary data
  Accessible without login Image file sync_off.png Icon Icon image
  Accessible without login Image file sync_on.png Icon Icon image
  Accessible without login Plain text file tabs.css Data Auxiliary data
  Accessible without login Image file tab_a.png Icon Icon image
  Accessible without login Image file tab_b.png Icon Icon image
  Accessible without login Image file tab_h.png Icon Icon image
  Accessible without login Image file tab_s.png Icon Icon image

  Files folder image Files  /  Xyndravandria  /  Erozaver  /  admin_media  /  Documentation  /  html  /  search  
File Role Description
  Accessible without login HTML file all_24.html Doc. Documentation
  Accessible without login Plain text file all_24.js Data Auxiliary data
  Accessible without login HTML file all_65.html Doc. Documentation
  Accessible without login Plain text file all_65.js Data Auxiliary data
  Accessible without login HTML file all_68.html Doc. Documentation
  Accessible without login Plain text file all_68.js Data Auxiliary data
  Accessible without login HTML file all_6c.html Doc. Documentation
  Accessible without login Plain text file all_6c.js Data Auxiliary data
  Accessible without login HTML file all_72.html Doc. Documentation
  Accessible without login Plain text file all_72.js Data Auxiliary data
  Accessible without login HTML file all_74.html Doc. Documentation
  Accessible without login Plain text file all_74.js Data Auxiliary data
  Accessible without login HTML file all_75.html Doc. Documentation
  Accessible without login Plain text file all_75.js Data Auxiliary data
  Accessible without login HTML file all_78.html Doc. Documentation
  Accessible without login Plain text file all_78.js Data Auxiliary data
  Accessible without login HTML file classes_65.html Doc. Documentation
  Accessible without login Plain text file classes_65.js Data Auxiliary data
  Accessible without login HTML file classes_68.html Doc. Documentation
  Accessible without login Plain text file classes_68.js Data Auxiliary data
  Accessible without login HTML file classes_78.html Doc. Documentation
  Accessible without login Plain text file classes_78.js Data Auxiliary data
  Accessible without login Image file close.png Icon Icon image
  Accessible without login HTML file functions_68.html Doc. Documentation
  Accessible without login Plain text file functions_68.js Data Auxiliary data
  Accessible without login HTML file functions_6c.html Doc. Documentation
  Accessible without login Plain text file functions_6c.js Data Auxiliary data
  Accessible without login HTML file functions_72.html Doc. Documentation
  Accessible without login Plain text file functions_72.js Data Auxiliary data
  Accessible without login HTML file functions_75.html Doc. Documentation
  Accessible without login Plain text file functions_75.js Data Auxiliary data
  Accessible without login Image file mag_sel.png Icon Icon image
  Accessible without login HTML file namespaces_78.html Doc. Documentation
  Accessible without login Plain text file namespaces_78.js Data Auxiliary data
  Accessible without login HTML file nomatches.html Doc. Documentation
  Accessible without login Plain text file search.css Data Auxiliary data
  Accessible without login Plain text file search.js Data Auxiliary data
  Accessible without login Image file search_l.png Icon Icon image
  Accessible without login Image file search_m.png Icon Icon image
  Accessible without login Image file search_r.png Icon Icon image
  Accessible without login HTML file variables_24.html Doc. Documentation
  Accessible without login Plain text file variables_24.js Data Auxiliary data
  Accessible without login HTML file variables_74.html Doc. Documentation
  Accessible without login Plain text file variables_74.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%Total:102All time:7,497
 This week:1This week:1,521Up