callController.php
407 Bytes
<?php
Class CallController Extends baseController {
//protected $_navig = array('name'=>"info");
public function index(){
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$call = new Call($this->lang);
$this->error = $call->valid($this->postParam,$_FILES);
if(!$this->error){
$call->send($this->postParam);
Redirect($this->url.'/call/ok/');
}
}
}
public function ok(){
}
}
?>