JUtility::array unshift ref: Difference between revisions
From Joomla! Documentation
m →User contributed notes: moving preparation |
m preparing for archive only |
||
| (2 intermediate revisions by the same user 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 function array_unshift_ref ( | public function array_unshift_ref ( | ||
| Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JUtility::array_unshift_ref source code''' on [[jplatform:utilities/utility.php#cl-180|BitBucket]] | * {{JVer|11.1}} '''JUtility::array_unshift_ref source code''' on [[jplatform:utilities/utility.php#cl-180|BitBucket]] | ||
* {{JVer|11.1}} Class [[JUtility | * {{JVer|11.1}} Class [[API17:JUtility|JUtility]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | ||
* [[JUtility::array_unshift_ref|Other versions of JUtility::array_unshift_ref]] | * [[API17:JUtility::array_unshift_ref|Other versions of JUtility::array_unshift_ref]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code 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=* | ||
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