API17

Difference between revisions of "JView::get"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JView::get/11.1 to API17:JView::get without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 21:56, 10 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JView::get[edit]

Description[edit]

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

Template:Description:JView::get [Edit Descripton]

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[edit]

Template:SeeAlso:JView::get [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />