Difference between revisions of "JUtility::array unshift ref"
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 22:56, 24 March 2017
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.
JUtility::array_unshift_ref[edit]
Description[edit]
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[edit]
JUtility::array_unshift_ref source code on BitBucket
Class JUtility
Subpackage Utilities
- Other versions of JUtility::array_unshift_ref
User contributed notes[edit]
Code Examples[edit]