public function sasSelect()
	{
		$context = Context::getInstance();
		$module = $context->getModuleName();

		$this->setData('treeName', __('Select'));
		$this->setData('dataUrl', _url('sasGetOntologyData'));
		$this->setData('editClassUrl', tao_helpers_Uri::url('sasSet', $module));

		if($this->getRequestParameter('selectInstance') == 'true'){
			$this->setData('editInstanceUrl', tao_helpers_Uri::url('sasSet', $module));
			$this->setData('editClassUrl', false);
		}
		else{
			$this->setData('editInstanceUrl', false);
			$this->setData('editClassUrl', tao_helpers_Uri::url('sasSet', $module));
		}

		$this->setData('classLabel', $this->getRootClass()->getLabel());

		$this->setView("sas/select.tpl", 'tao');
	}
public function sasSelect()
	{
		$context = Context::getInstance();
		$module = $context->getModuleName();

		$this->setData('treeName', __('Select'));
		$this->setData('dataUrl', _url('sasGetOntologyData'));
		$this->setData('editClassUrl', tao_helpers_Uri::url('sasSet', $module));

		if($this->getRequestParameter('selectInstance') == 'true'){
			$this->setData('editInstanceUrl', tao_helpers_Uri::url('sasSet', $module));
			$this->setData('editClassUrl', false);
		}
		else{
			$this->setData('editInstanceUrl', false);
			$this->setData('editClassUrl', tao_helpers_Uri::url('sasSet', $module));
		}

		$this->setData('classLabel', $this->getRootClass()->getLabel());

		$this->setView("sas/select.tpl", 'tao');
	}
public function sasSelect ( ) { $ context = Context :: getInstance ( ) ; $ module = $ context -> getModuleName ( ) ; $ this -> setData ( 'treeName' , __ ( 'Select' ) ) ; $ this -> setData ( 'dataUrl' , _url ( 'sasGetOntologyData' ) ) ; $ this -> setData ( 'editClassUrl' , tao_helpers_Uri :: url ( 'sasSet' , $ module ) ) ; if ( $ this -> getRequestParameter ( 'selectInstance' ) == 'true' ) { $ this -> setData ( 'editInstanceUrl' , tao_helpers_Uri :: url ( 'sasSet' , $ module ) ) ; $ this -> setData ( 'editClassUrl' , false ) ; } else { $ this -> setData ( 'editInstanceUrl' , false ) ; $ this -> setData ( 'editClassUrl' , tao_helpers_Uri :: url ( 'sasSet' , $ module ) ) ; } $ this -> setData ( 'classLabel' , $ this -> getRootClass ( ) -> getLabel ( ) ) ; $ this -> setView ( "sas/select.tpl" , 'tao' ) ; }
Service of class or instance selection with a tree.
@return void
Service of class or instance selection with a tree .