Xyndravandria Erozaver: Validate function parameters with type hinting

Recommend this page to a friend!
  Info   View files (121)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 104 All time: 9,327 This week: 1,045
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
Age: 28
All time rank: 3434195 in Germany Germany
Week rank: 762 36 in 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  
File Role Description
Xyndravandria (1 directory)
README.md Data Auxiliary data

  Files  /  Xyndravandria  
File Role Description
Erozaver (6 files, 1 directory)

  Files  /  Xyndravandria  /  Erozaver  
File Role Description
admin_media (1 directory)
   Erozaver.php Class Class source
   HasLength.php Class Class source
   Implement.php Aux. Class source
   README.md Data Auxiliary data
   XyndravandriaErozaverException.php Class Class source
   XyndravandriaPHPLicense.txt Lic. License

  Files  /  Xyndravandria  /  Erozaver  /  admin_media  
File Role Description
Documentation (2 files, 1 directory)

  Files  /  Xyndravandria  /  Erozaver  /  admin_media  /  Documentation  
File Role Description
html (68 files, 1 directory)
   Index.html Doc. Documentation
   MainPage.php Class Class source

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

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:104
This week:0
All time:9,327
This week:1,045

For more information send a message to info at phpclasses dot org.