In my project I have this method in my view:
public function elegirSeleccionados(){
$this->assignRef(\'pagination\', $this->get(\'pagination\'));
txs for this, but in my view (default.tpl) zeh val will not been shown
$this->my_string = "ledl";
<br>
return parent::display($tpl);
<bold>{$this->my_string}</bold>
assignRef() and assign() are not needed anymore, since Joomla 1.6+ requires at least PHP 5.2 (PHP5 uses assign by reference).
Use in view.html.php
$this->pagination = $this->get('pagination')
and in the template just call $this->pagination
.
To get your skills up to date check the official Joomla! Documentation