Tuesday, 15 March 2011

joomla3.0 - Joomla 3 - What to use instead of assignRef? -



joomla3.0 - Joomla 3 - What to use instead of assignRef? -

in project have method in view:

public function elegirseleccionados(){ $this->assignref('pagination', $this->get('pagination')); $this->assignref('items', $this->get('recientes')); $this->assignref('list', $this->get('list')); parent::display(); }

assignref deprecated / removed in joomla 3.

what should utilize instead?

assignref() , assign() not needed anymore, since joomla 1.6+ requires @ to the lowest degree php 5.2 (php5 uses assign reference).

use in view.html.php

$this->pagination = $this->get('pagination')

and in template phone call $this->pagination.

to skills date check official joomla! documentation

joomla joomla3.0

No comments:

Post a Comment