ValidateAction.php 197 Bytes
Newer Older
Raph El's avatar
Raph El committed
1 2 3 4 5 6 7 8
 <?php
class ValidateAction extends CAction
{
    public function run($id=null, $type=null , $tpl=null)
    {
        

        $res = Answer::validate($_POST);
Raph El's avatar
Raph El committed
9
        Rest::json($_POST);
Raph El's avatar
Raph El committed
10 11
    }
 }