API17:JView::get
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | 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
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JView::get
Description
Method to get data from a registered model or a property of the view.
Description:JView::get [Edit Descripton]
Synopsis
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
mixed The return value of the method
Defined in
libraries/joomla/application/component/view.php (line 345)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
