Actions

API17

Difference between revisions of "JTableAsset::loadByName"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JTableAsset::loadByName|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JTableAsset::loadByName|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JTableAsset::loadByName ($name)
+
public function loadByName ($name)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' int
int
+
* '''Defined''' on line 66 of libraries/joomla/database/table/asset.php
===Defined in===
+
libraries/joomla/database/table/asset.php (line 66)
+
* see source code in [[jplatform:database/table/asset.php#cl-66|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JTableAsset::loadByName source code''' on [[jplatform:database/table/asset.php#cl-58|BitBucket]]
 +
* {{JVer|11.1}} Class [[JTableAsset/11.1|JTableAsset]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JTableAsset::loadByName|Other versions of JTableAsset::loadByName]]
 +
{{SeeAlso:JTableAsset::loadByName}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JTableAsset::loadByName|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JTableAsset::loadByName|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JTableAsset/11.1|JTableAsset]]
+
===User contributed notes===
* [[JTableAsset::loadByName|Other versions of this method]]
+
{{SeeAlso:JTableAsset::loadByName}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JTableAsset]][[Category:JTableAsset::loadByName]]</noinclude>
 
<noinclude>[[Category:JTableAsset]][[Category:JTableAsset::loadByName]]</noinclude>

Revision as of 20:46, 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 JTableAsset::loadByName

Description

Method to load an asset by it's name.

Description:JTableAsset::loadByName [Edit Descripton]

public function loadByName ($name)
Parameter Type Default Description
$name string The name of the asset.
  • Returns int
  • Defined on line 66 of libraries/joomla/database/table/asset.php

See also

SeeAlso:JTableAsset::loadByName [Edit See Also]

User contributed notes

<CodeExamplesForm />