JUtility::array unshift ref: Difference between revisions
From Joomla! Documentation
Layout updates |
m preparing for archive only |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Prepend a reference to an element to the beginning of an array. | Prepend a reference to an element to the beginning of an array. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function array_unshift_ref ( | ||
&$array | |||
&$value | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
=== | * '''Returns''' | ||
* '''Defined''' on line 188 of libraries/joomla/utilities/utility.php | |||
===See also=== | |||
* {{JVer|11.1}} '''JUtility::array_unshift_ref source code''' on [[jplatform:utilities/utility.php#cl-180|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JUtility|JUtility]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | |||
* [[API17:JUtility::array_unshift_ref|Other versions of JUtility::array_unshift_ref]] | |||
===User contributed notes=== | |||
=== Code Examples === | |||
=== | |||
===Examples=== | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JUtility::array_unshift_ref | category=JUtility::array_unshift_ref | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:56, 25 March 2017
JUtility::array_unshift_ref
Description
Prepend a reference to an element to the beginning of an array.
public function array_unshift_ref (
&$array
&$value
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$array | |||
| &$value |
- Returns
- Defined on line 188 of libraries/joomla/utilities/utility.php
See also
JUtility::array_unshift_ref source code on BitBucket
Class JUtility
Subpackage Utilities- Other versions of JUtility::array_unshift_ref
User contributed notes
Code Examples