API17

Difference between revisions of "JView::get"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JView->get ($property, $default=null)
+
public JView::get ($property, $default=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 33: Line 33:
 
mixed The return value of the method
 
mixed The return value of the method
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/view.php
+
libraries/joomla/application/component/view.php (line 345)
 +
* see source code in [[jplatform:application/component/view.php#cl-345|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 21:32, 23 April 2011

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]

Synopsis[edit]

public JView::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[edit]

mixed The return value of the method

Defined in[edit]

libraries/joomla/application/component/view.php (line 345)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JView::get

Examples[edit]

<CodeExamplesForm />