Ejemplo n.º 1
0
			$integrator->saveFinalizeCode();
		}
		else if($task == 'addItem'){
			$integrator->addItem();
		}
		else if($task == 'saveCode'){
			$integrator->saveCode();
		}
		else if($task == 'removeItem'){
			$integrator->removeItem();
		}
		else if($task == 'addCriteria'){
			$integrator->addCriteria();
		}
		else if($task == 'removeCriteria'){
			$integrator->removeCriteria();
		}
		else if($task == 'addCriteriaJoomla'){
			$integrator->addCriteriaJoomla();
		}
		else if($task == 'removeCriteriaJoomla'){
			$integrator->removeCriteriaJoomla();
		}
		else if($task == 'addCriteriaFixed'){
			$integrator->addCriteriaFixed();
		}
		else if($task == 'removeCriteriaFixed'){
			$integrator->removeCriteriaFixed();
		}
		else if($task == 'pub'){
			if(JRequest::getVar('pub') == 'publish'){