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  

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:104
This week:0
All time:8,442
This week:1,045Up