/libraries/legacy/view/legacy.php
inside comments (line 342) of function assignRef
* <code>
* $view = new JView;
*
* // Assign by name and value
* $view->assignRef('var1', $ref);
*
* // Assign directly
* $view->ref = &$var1;
* </code>
* <code>
* $view = new JView;
*
* // Assign by name and value
* $view->assignRef('var1', $ref);
*
* // Assign directly
* $view->var1 = &$ref;
* </code>
Inside the code, it is:
public function assignRef($key, &$val)
{ //...
$this->$key = &$val;
// ...
}
for instance, a code snipped:
//deprecated: $this->assignRef('lists', $this->_lists); //changed to next line:
$this->lists = &$this->_lists;
Labels |
Added:
?
|
Build | staging | ⇒ | 3.7.0 |
Category | ⇒ | Libraries |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-19 18:45:45 |
Closed_By | ⇒ | franz-wohlkoenig |
Status | Closed | ⇒ | New |
Status | New | ⇒ | Closed |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16065
closed as having PR #16137
@PhilETaylor thanks but it would have been nice if you had waited a little while to give them time to contribute
Could you submit a pull request to fix this please