PHP Classes
elePHPant
Icontem

Xyndravandria Erozaver: Validate function parameters with type hinting

Recommend this page to a friend!
  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 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 104 All time: 8,442 This week: 1,045Up
Version License PHP version Categories
erozaver 1.0Custom (specified...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
  Performance   Level  
Name: Mauro Di Girolamo <contact>
Classes: 4 packages by
Country: Germany Germany

Details
<h3>Xyndravandria Erozaver</h3>
<h4>Alpha 0.0.0</h4>

Xyndravandria is the name of a collection of projects designed and developed by Mauro Di Girolamo (maurodigirolamo@web.de); he is therefore the copyright (c) owner of Xyndravandria itself and all of its projects.

Xyndravandria Erozaver is released under the terms of the Xyndravandria PHP License (XyndravandriaPHPLicense.txt). You should be given a copy of the Xyndravandria PHP License (XyndravandriaPHPLicense.txt) within the same directory as the README.md; if not, you can get a copy at http://Xyndravandria.ohost.de/XyndravandriaPHPLicense.txt . There might be a release under a freer license for a later, more stable version.

The documentation is either included in ./admin_media/Documentation/ or can be read at http://Xyndravandria.ohost.de/Erozaver/Documentation/.

All projects:

<table>

   <tr>
      <th>Project</th>
      <th>Language</th>
      <th>Description</th>
   </tr>
   
   <tr>
      <td>Xyndravandria Averazain<br>http://github.com/MauroDiGirolamo/Xyndravandria_Averazain</td>
      <td>PHP</td>
      <td>Averazain is an Ajax framework supporting also JavaScript disabled clients perfectly - including search engines like Google.</td>
   </tr>
   <tr>
      <td>Xyndravandria Dyverath<br>http://github.com/MauroDiGirolamo/Xyndravandria_Dyverath</td>
      <td>PHP</td>
      <td>Dyverath is a database access wrapper.</td>
   </tr>
   <tr>
      <td>Xyndravandria Erozaver<br>http://github.com/MauroDiGirolamo/Xyndravandria_Erozaver</td>
      <td>PHP</td>
      <td>Erozaver is a class extending the type hinting given by the PHP engine (additional support for basic type hinting and size constraints).</td>
   </tr>
   <tr>
      <td>Xyndravandria Mondraviel<br>http://github.com/MauroDiGirolamo/Xyndravandria_Mondraviel</td>
      <td>PHP</td>
      <td>Mondraviel is a class used to separate HTML from PHP code by firstly register models - files containing place holders embedded in HTML code - and then later fill them dynamically with content by passing values for the place holders.</td>
   </tr>

</table>
  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  
 0%
Total:104
This week:0
All time:8,442
This week:1,045Up