Actions

API17

Difference between revisions of "JInstallerHelper::splitSql"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JInstallerHelper::splitSql==
 
=={{JVer|11.1}} JInstallerHelper::splitSql==
 
===Description===
 
===Description===
Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';'.  
+
Splitsql.  
  
 
{{Description:JInstallerHelper::splitSql}}
 
{{Description:JInstallerHelper::splitSql}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JInstallerHelper::splitSql|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JInstallerHelper::splitSql|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JInstallerHelper::splitSql ($sql)
+
public static function splitSql ($sql)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array
array
+
* '''Defined''' on line 279 of libraries/joomla/installer/helper.php
===Defined in===
+
* '''Referenced by'''
libraries/joomla/installer/helper.php
+
** [[JInstaller::parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]]
===Referenced by===
+
** [[JInstaller::parseSQLFiles/11.1|JInstaller::parseSQLFiles]]
* [[JInstaller/parseSchemaUpdates/11.1|JInstaller::parseSchemaUpdates]]
+
* [[JInstaller/parseSQLFiles/11.1|JInstaller::parseSQLFiles]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JInstallerHelper::splitSql source code''' on [[jplatform:installer/helper.php#cl-271|BitBucket]]
 +
* {{JVer|11.1}} Class [[JInstallerHelper/11.1|JInstallerHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Installer/11.1|Installer]]
 +
* [[JInstallerHelper::splitSql|Other versions of JInstallerHelper::splitSql]]
 +
{{SeeAlso:JInstallerHelper::splitSql}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::splitSql|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JInstallerHelper::splitSql|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JInstallerHelper/11.1|JInstallerHelper]]
+
===User contributed notes===
* [[JInstallerHelper::splitSql|Other versions of this method]]
+
{{SeeAlso:JInstallerHelper::splitSql}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 46:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JInstallerHelper]][[Category:JInstallerHelper::splitSql]]</noinclude>
 
<noinclude>[[Category:JInstallerHelper]][[Category:JInstallerHelper::splitSql]]</noinclude>

Revision as of 20:13, 27 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JInstallerHelper::splitSql

Description

Splitsql.

Description:JInstallerHelper::splitSql [Edit Descripton]

public static function splitSql ($sql)
Parameter Type Default Description
$sql string

See also

SeeAlso:JInstallerHelper::splitSql [Edit See Also]

User contributed notes

<CodeExamplesForm />