getParam("PATH_CLASSES")."FR_ControllerTurnero.php" ; include_once $oWebConfig->getParam("PATH_CLASSES")."FR_ViewHTML.php" ; include_once $oWebConfig->getParam("PATH_MODEL_CLASSES")."MDL_Radicacion.php" ; class Index extends FR_ControllerTurnero { public function __construct() { parent::__construct() ; } public function Process() { if( $this->requestType == "GET" ) { $this->Formulario(); } else if( $this->requestType == "AJAX" ) { $action = $this->oData->action ; if( is_null( $action ) ) { $action = "" ; } switch ($action) { default: break ; } } } public function Formulario() { if( $this->requestType == "GET" ) { /*$url = $_SERVER['PHP_SELF'] ; print( 'url de llamada ' .$url); if( $url == 'localhost' ) { print_r('redirect a otro turnero'); }*/ //RADICACION $oModelRadicacion = new MDL_Radicacion(); $oRadicacionFiltro = new RadicacionFiltro(); $lRadicaciones = array(); try { $oRadicacionFiltro->setHabilitado( 1 ); $lRadicaciones = $oModelRadicacion->getRadicaciones( $oRadicacionFiltro ); if( count( $lRadicaciones ) == 0 ) { $lRadicaciones = null; } } catch ( Exception $ex ) { print( $ex->getMessage() ); die; } $this->oView = new FR_ViewHTML( "index.html" , $this->oWebConfig->getParam("TPL") ) ; $this->oView->Load() ; $this->oView->handler()->MergeBlock("blkRadicaciones" , $lRadicaciones ); $this->oView->Show() ; } } //AJAX } $oPage = new Index() ; $oPage->Process() ; ?>