API17

Difference between revisions of "JUtility::array unshift ref"

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.  
  
{{Description:JUtility::array_unshift_ref}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JUtility::array_unshift_ref|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JUtility::array_unshift_ref (&$array, &$value)
+
public function array_unshift_ref (
 +
        &$array
 +
        &$value
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 30: Line 30:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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]]
  
===Defined in===
+
 
libraries/joomla/utilities/utility.php (line 187)
+
===User contributed notes===
* see source code in [[jplatform:utilities/utility.php#cl-187|BitBucket]]
+
=== Code Examples ===
===Referenced by===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JUtility::array_unshift_ref|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
* [[JUtility/11.1|JUtility]]
 
* [[JUtility::array_unshift_ref|Other versions of this method]]
 
{{SeeAlso:JUtility::array_unshift_ref}}
 
===Examples===
 
<CodeExamplesForm />
 
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JUtility::array_unshift_ref
 
category=JUtility::array_unshift_ref
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JUtility]][[Category:JUtility::array_unshift_ref]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

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.

Joomla 11.1 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]


User contributed notes[edit]

Code Examples[edit]