Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 0.74 KB  |  hits: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ae:configurations
  3.         xmlns="http://agavi.org/agavi/config/parts/validators/1.0"
  4.         xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0"
  5.         parent="%core.module_dir%/HivpnModule/config/validators.xml"
  6. >
  7.         <ae:configuration>
  8.                
  9.                 <validators>
  10.       <validator class="HivpnModule_RegisterValidator" name="type">
  11.         <arguments>
  12.           <argument>type</argument>
  13.         </arguments>
  14.         <errors>
  15.           <error>The parameter post must contain a valid type id</error>
  16.         </errors>
  17.         <ae:parameters>
  18.           <ae:parameter name="export">registerData</ae:parameter>
  19.         </ae:parameters>
  20.       </validator>
  21.     </validators>
  22.                
  23.         </ae:configuration>
  24. </ae:configurations>