In component controller.
class ExampleController extends JControllerLegacy {
public function display($cachable = false, $urlparams = array()) {
$this->getView();
}
Class \JViewLegacy
Redirect to dashboard.
Method creating view. /libraries/src/MVC/Controller/BaseController.php:821
Argument $type is optional, but if not transfer to method - will result in an error.
I testing on Joomla 3.9.11
Labels |
Added:
?
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Information Required |
Argument $type is optional, but if not transfer to method - will result in an error.
That's not entirely true. If type is not set the controller looks for view.php
file.
Status | Information Required | ⇒ | Discussion |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-12-22 10:46:18 |
Closed_By | ⇒ | alikon |
Closed_By | alikon | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/26218
since no response i'm closing
it can always be re-opened if needed
@alikon can you please comment?