Ejemplo n.º 1
0
    function end() {
        if (!isset($this->_view_table))
            return;
        if (!isset($this->_view_table['data']))
            $this->_view_table['data']=$this->_view_table;
        $this->_view_table['field']=$this->_table->getFields();
        $this->view->fieldlimit=$this->_table->getcols(front::$act == 'list'?'manage': 'modify');
        $this->view($this->_view_table);
        //var_dump($this->table);
        if (!preg_match('/^my_/',$this->table)){
            manage_form::table($this);
        }
        if (front::post('onlymodify')){
            $this->render();
        }else{
	        if (front::get('main')){
	            $this->render();
	        }else{
	            $this->render('index.php');
	        }
        }
    }