API17

API17:JView::get

From Joomla! Documentation

Revision as of 03:57, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JView::get

Description

Method to get data from a registered model or a property of the view.


public function get (
        $property
        $default=null
)
Parameter Type Default Description
$property string The name of the method to call on the model or the property to get
$default string null The name of the model to reference or the default value [optional]
  • Returns mixed The return value of the method
  • Defined on line 330 of libraries/joomla/application/component/view.php

See also


User contributed notes

Code Examples