public function render()
	{
		$a = Html::el('a', [
			'class' => [$this->class],
			'title' => $this->grid->getTranslator()->translate($this->getTitle()),
			'href' => $this->link,
		]);

		$this->tryAddIcon(
			$a,
			$this->getIcon(),
			$this->grid->getTranslator()->translate($this->getTitle())
		);

		$a->addText($this->grid->getTranslator()->translate($this->text));

		if ($this->isAjax()) {
			$a->class[] = 'ajax';
		}
		
		if ($this->confirmDialog !== null) {
			$a->setAttribute('data-datagrid-confirm', $this->confirmDialog);
		}
		
		
		return $a;
	}
public function render()
	{
		$a = Html::el('a', [
			'class' => [$this->class],
			'title' => $this->grid->getTranslator()->translate($this->getTitle()),
			'href' => $this->link,
		]);

		$this->tryAddIcon(
			$a,
			$this->getIcon(),
			$this->grid->getTranslator()->translate($this->getTitle())
		);

		$a->addText($this->grid->getTranslator()->translate($this->text));

		if ($this->isAjax()) {
			$a->class[] = 'ajax';
		}
		
		if ($this->confirmDialog !== null) {
			$a->setAttribute('data-datagrid-confirm', $this->confirmDialog);
		}
		
		
		return $a;
	}
public function render ( ) { $ a = Html :: el ( 'a' , [ 'class' => [ $ this -> class ] , 'title' => $ this -> grid -> getTranslator ( ) -> translate ( $ this -> getTitle ( ) ) , 'href' => $ this -> link , ] ) ; $ this -> tryAddIcon ( $ a , $ this -> getIcon ( ) , $ this -> grid -> getTranslator ( ) -> translate ( $ this -> getTitle ( ) ) ) ; $ a -> addText ( $ this -> grid -> getTranslator ( ) -> translate ( $ this -> text ) ) ; if ( $ this -> isAjax ( ) ) { $ a -> class [ ] = 'ajax' ; } if ( $ this -> confirmDialog !== null ) { $ a -> setAttribute ( 'data-datagrid-confirm' , $ this -> confirmDialog ) ; } return $ a ; }
Render export button
@return Html
Render export button