public function index()
    {
        $this->defaultData();

		$delivery = $this->getCurrentInstance();
		$this->setData('uri', $delivery->getUri());
		$this->setData('classUri', $this->getCurrentClass()->getUri());
		$this->setData("deliveryLabel", $delivery->getLabel());

		//compilation state:
		$compiled = $this->getClassService()->getAssembliesByTemplate($delivery, true);
		$this->setData("isCompiled", !empty($compiled));

		$this->setView("Compilation/index.tpl");
    }
public function index()
    {
        $this->defaultData();

		$delivery = $this->getCurrentInstance();
		$this->setData('uri', $delivery->getUri());
		$this->setData('classUri', $this->getCurrentClass()->getUri());
		$this->setData("deliveryLabel", $delivery->getLabel());

		//compilation state:
		$compiled = $this->getClassService()->getAssembliesByTemplate($delivery, true);
		$this->setData("isCompiled", !empty($compiled));

		$this->setView("Compilation/index.tpl");
    }
public function index ( ) { $ this -> defaultData ( ) ; $ delivery = $ this -> getCurrentInstance ( ) ; $ this -> setData ( 'uri' , $ delivery -> getUri ( ) ) ; $ this -> setData ( 'classUri' , $ this -> getCurrentClass ( ) -> getUri ( ) ) ; $ this -> setData ( "deliveryLabel" , $ delivery -> getLabel ( ) ) ; //compilation state: $ compiled = $ this -> getClassService ( ) -> getAssembliesByTemplate ( $ delivery , true ) ; $ this -> setData ( "isCompiled" , ! empty ( $ compiled ) ) ; $ this -> setView ( "Compilation/index.tpl" ) ; }
Render json data to populate the delivery tree
'modelType' must be in the request parameters

@return void
Render json data to populate the delivery tree modelType must be in the request parameters