<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.joomla-wiki.de/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>http://api.php?action=feedcontributions&amp;user=Bembelimen&amp;feedformat=atom</id>
		<title>Joomla! Dokumentation - Benutzerbeiträge [de]</title>
		<link rel="self" type="application/atom+xml" href="http://api.php?action=feedcontributions&amp;user=Bembelimen&amp;feedformat=atom"/>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Spezial:Beitr%C3%A4ge/Bembelimen"/>
		<updated>2012-05-20T05:49:01Z</updated>
		<subtitle>Benutzerbeiträge</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/write</id>
		<title>Joomla! Programmierung/Framework/JFile/write</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/write"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/write“ nach „JFile/write“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/write]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/upload</id>
		<title>Joomla! Programmierung/Framework/JFile/upload</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/upload"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/upload“ nach „JFile/upload“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/upload]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/stripExt</id>
		<title>Joomla! Programmierung/Framework/JFile/stripExt</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/stripExt"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/stripExt“ nach „JFile/stripExt“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/stripExt]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/read</id>
		<title>Joomla! Programmierung/Framework/JFile/read</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/read"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/read“ nach „JFile/read“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/read]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/move</id>
		<title>Joomla! Programmierung/Framework/JFile/move</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/move"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/move“ nach „JFile/move“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/move]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/makeSafe</id>
		<title>Joomla! Programmierung/Framework/JFile/makeSafe</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/makeSafe"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/makeSafe“ nach „JFile/makeSafe“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/makeSafe]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/getName</id>
		<title>Joomla! Programmierung/Framework/JFile/getName</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/getName"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/getName“ nach „JFile/getName“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/getName]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/getExt</id>
		<title>Joomla! Programmierung/Framework/JFile/getExt</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/getExt"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/getExt“ nach „JFile/getExt“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/getExt]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/exists</id>
		<title>Joomla! Programmierung/Framework/JFile/exists</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/exists"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/exists“ nach „JFile/exists“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/exists]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/delete</id>
		<title>Joomla! Programmierung/Framework/JFile/delete</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/delete"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/delete“ nach „JFile/delete“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/delete]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/copy</id>
		<title>Joomla! Programmierung/Framework/JFile/copy</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile/copy"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/copy“ nach „JFile/copy“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile/copy]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/getName</id>
		<title>JFile/getName</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/getName"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/getName“ nach „JFile/getName“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::getName''' extrahiert aus einem kompletten Pfad den Dateinamen.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static getName( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|string}} der Dateiname&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der komlette Pfad zur Datei&lt;br /&gt;
| ---&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$pfad = 'pfad'.DS.'zur'.DS.'datei.php';&lt;br /&gt;
&lt;br /&gt;
echo JFile::getName($pfad);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Ausgabe&lt;br /&gt;
 datei.php&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#getName JFile-&amp;gt;getName()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/getName&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|getName]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|getName]]&lt;br /&gt;
[[Kategorie:Framework|getName]]&lt;br /&gt;
[[Kategorie:JFile|getName]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/exists</id>
		<title>JFile/exists</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/exists"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/exists“ nach „JFile/exists“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::exists''' führt die standard PHP Funktion [http://www.php.net/manual/en/function.file-exists.php file_exists] aus.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static exists( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|boolean}} '''True''' wenn die Datei existiert&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Pfad zur Datei&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&lt;br /&gt;
=== Prüfen ob eine Datei existiert ===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if( JFile::exists(JPATH_ROOT.'/pfad/zur/datei.ext') )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei exisiert';&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
{{tip}} Da Joomla! automatisch die Trennzeichen für Verzeichnisse an das Betriebssystem anpasst, können wir hier auf die Benutzung der [[Joomla!_Programmierung/Framework/Konstanten|Konstante]] DS verzichten.&lt;br /&gt;
&lt;br /&gt;
Aus &amp;lt;tt&amp;gt;pfad/zur/datei&amp;lt;/tt&amp;gt; wird also unter windows automatisch &amp;lt;tt&amp;gt;pfad\zur\datei&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#exists JFile-&amp;gt;exists()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/exists&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|exists]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|exists]]&lt;br /&gt;
[[Kategorie:Framework|exists]]&lt;br /&gt;
[[Kategorie:JFile|exists]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/upload</id>
		<title>JFile/upload</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/upload"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/upload“ nach „JFile/upload“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::upload''' verschiebt eine hochgeladene Datei in ein Zielverzeichnis.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.5}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static upload( $src, $dest )&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.6}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static upload( $src, $dest, [$use_streams] )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|boolean}} '''True''' bei Erfolg&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$src&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|der Name der hochgeladenen (temporären) php Datei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$dest&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Pfad (inklusive Dateinamen) in den Die hochgeladene Datei verschoben werden soll&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|{{JVer|1.6}}&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;[$use_streams]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;bool&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Sollen Streams genutzt werden&lt;br /&gt;
|&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&lt;br /&gt;
===Eine Datei hochladen===&lt;br /&gt;
&lt;br /&gt;
====Das HTML Formular zum hochladen====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; action=&amp;quot;index.php&amp;quot; method=&amp;quot;post&amp;quot; name=&amp;quot;adminForm&amp;quot;&amp;gt;&lt;br /&gt;
   ....&lt;br /&gt;
   &amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;meine_datei&amp;quot; size=&amp;quot;57&amp;quot; /&amp;gt;&lt;br /&gt;
   ....&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Die PHP Datei zur Auswertung====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//-- Informationen der hochgeladenen Datei&lt;br /&gt;
$datei = JRequest::getVar('meine_datei', null, 'files', 'array' );&lt;br /&gt;
&lt;br /&gt;
//-- Es wurden keine Dateien gefunden&lt;br /&gt;
if( ! is_array($datei) )&lt;br /&gt;
{&lt;br /&gt;
   JError::raiseWarning(100, 'Es wurden keine Dateien gefunden');&lt;br /&gt;
&lt;br /&gt;
   return false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//-- Fehler beim hochladen der Datei&lt;br /&gt;
if( $datei['error'] || $datei['size'] &amp;lt; 1 )&lt;br /&gt;
{&lt;br /&gt;
   JError::raiseWarning(100, 'Fehler beim hochladen der Datei');&lt;br /&gt;
&lt;br /&gt;
   return false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//-- Erstellen der Pfade&lt;br /&gt;
$config = JFactory::getConfig();&lt;br /&gt;
$tmp_dest = $config-&amp;gt;getValue('config.tmp_path').DS.$datei['name'];&lt;br /&gt;
$tmp_src = $datei['tmp_name'];&lt;br /&gt;
&lt;br /&gt;
//-- Die hochgeladene Datei verschieben&lt;br /&gt;
if( ! JFile::upload($tmp_src, $tmp_dest) )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei konnte nicht hochgeladen werden';&lt;br /&gt;
&lt;br /&gt;
   return false;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#upload JFile-&amp;gt;upload()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/upload&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|upload]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|upload]]&lt;br /&gt;
[[Kategorie:Framework|upload]]&lt;br /&gt;
[[Kategorie:JFile|upload]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/write</id>
		<title>JFile/write</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/write"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/write“ nach „JFile/write“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::write''' schreibt in eine Datei.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.5}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static write( $file, $buffer )&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.6}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static write( $file, $buffer, [$use_streams] )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|boolean}} '''True''' bei Erfolg&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der komplette Pfad zur Datei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$buffer&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der zu schreibende Text&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|{{JVer|1.6}}&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;[$use_streams]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;bool&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Sollen Streams genutzt werden&lt;br /&gt;
|&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$fileName = 'pfad'.DS.'zur'.DS.'datei.txt';&lt;br /&gt;
$buffer = 'nafu';&lt;br /&gt;
&lt;br /&gt;
if( JFile::write($fileName, $buffer) )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei wurde geschrieben';&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#write JFile-&amp;gt;write()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/write&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|write]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|write]]&lt;br /&gt;
[[Kategorie:Framework|write]]&lt;br /&gt;
[[Kategorie:JFile|write]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/read</id>
		<title>JFile/read</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/read"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/read“ nach „JFile/read“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile/read''' liest den Inhalt einer Datei.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static read( $filename, [$incpath], [$amount], [$chunksize], [$offset] )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|mixed}} - {{mark|string}} Der Inhalt der Datei / {{mark|bool}} '''false''' bei einem Fehler&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$filename&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der komplette Pfad zur Datei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$incpath]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;boolean&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Soll der Include Path genutzt werden ?&lt;br /&gt;
|&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$amount]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;integer&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Die Menge die von der Datei gelesen werden soll&lt;br /&gt;
|&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$chunksize]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;integer&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Die Grösse der Stücke (chunks)&lt;br /&gt;
|&amp;lt;tt&amp;gt;8192&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$offset]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;integer&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Versatz (offset)&lt;br /&gt;
|&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$fileName = 'pfad'.DS.'zur'.DS.'datei.txt';&lt;br /&gt;
&lt;br /&gt;
if( ! $buffer = JFile::read($fileName) )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei konnte nicht gelesen werden';&lt;br /&gt;
   return false;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
echo $buffer;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#read JFile-&amp;gt;read()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/read&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|read]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|read]]&lt;br /&gt;
[[Kategorie:Framework|read]]&lt;br /&gt;
[[Kategorie:JFile|read]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/move</id>
		<title>JFile/move</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/move"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/move“ nach „JFile/move“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::move''' verschiebt eine Datei.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.5}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static move( $src, $dest, [$path] )&amp;lt;/source&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.6}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static move( $src, $dest, [$path], [$use_streams] )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|boolean}} '''True''' bei Erfolg&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$src&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Pfad zur Quelldatei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$dest&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Pfad zur Zieldatei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$path]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Ein Pfad der beiden Pfaden vorangestellt wird 	&lt;br /&gt;
|&amp;lt;tt&amp;gt;' '&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{JVer|1.6}}&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;[$use_streams]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;bool&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Sollen Streams genutzt werden&lt;br /&gt;
|&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if( ! JFile::move('pfad'.DS.'zur'.DS.'quelle.php', 'pfad'.DS.'zum'.DS.'ziel.php', JPATH_ROOT) )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei konnte nicht verschoben werden';&lt;br /&gt;
&lt;br /&gt;
   return false;&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#move JFile-&amp;gt;move()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/move&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|move]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|move]]&lt;br /&gt;
[[Kategorie:Framework|move]]&lt;br /&gt;
[[Kategorie:JFile|move]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/delete</id>
		<title>JFile/delete</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/delete"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/delete“ nach „JFile/delete“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile::delete''' löscht eine oder mehrere Dateien.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static delete( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|boolean}} ''True'' bei Erfolg&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;mixed&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Name der Datei oder ein Array mit Dateinamen&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//--Löschen einer einzelnen Datei&lt;br /&gt;
if( JFile::delete('pfad'.DS.'zur'.DS.'datei.php') )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei wurde gelöscht.';&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
//--Löschen aller Dateien in einem Ordner&lt;br /&gt;
$ordner = JPATH_COMPONET.DS.'verzeichnis';&lt;br /&gt;
$dateien = JFolder::files($ordner);&lt;br /&gt;
if( JFile::delete($dateien) )&lt;br /&gt;
{&lt;br /&gt;
   prinf 'Alle Dateien im Verzeichnis %s gelöscht', $ordner);&lt;br /&gt;
}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#delete JFile-&amp;gt;delete()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/delete&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|delete]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|delete]]&lt;br /&gt;
[[Kategorie:Framework|delete]]&lt;br /&gt;
[[Kategorie:JFile|delete]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/copy</id>
		<title>JFile/copy</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/copy"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/copy“ nach „JFile/copy“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile/copy''' Kopiert eine Datei.&lt;br /&gt;
&lt;br /&gt;
Ist der [[FTP Layer]]{{@todo|link}} aktiv, so wird dieser genutzt.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.5}}&amp;lt;/div&amp;gt;&lt;br /&gt;
{{syntax|&amp;lt;source lang=&amp;quot;php&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;static copy( $src, $dest, [$path] )&amp;lt;/source&amp;gt;}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;float: left; padding: 0.3em;&amp;quot;&amp;gt;{{JVer|1.6}}&amp;lt;/div&amp;gt;&lt;br /&gt;
{{syntax|&amp;lt;source lang=&amp;quot;php&amp;quot; enclose=&amp;quot;none&amp;quot;&amp;gt;static copy( $src, $dest, [$path], [$use_streams] )&amp;lt;/source&amp;gt;}}&lt;br /&gt;
* '''@return''' {{mark|boolean}} '''True''' bei Erfolg&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$src&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Pfad zur Quelldatei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$dest&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Pfad zur Zieldatei&lt;br /&gt;
| ---&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;[$path]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Ein Pfad der beiden Pfaden vorangestellt wird&lt;br /&gt;
|&amp;lt;tt&amp;gt;null&amp;lt;/tt&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|{{JVer|1.6}}&amp;lt;br /&amp;gt;&amp;lt;tt&amp;gt;[$use_streams]&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;boolean&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Sollen Streams{{@todo |link}} genutzt werden&lt;br /&gt;
|&amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&lt;br /&gt;
===Eine Datei kopieren===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
if( JFile::copy('pfad'.DS.'zur'.DS.'quelle.php', 'pfad'.DS.'zum'.DS.'ziel.php', JPATH_ROOT) )&lt;br /&gt;
{&lt;br /&gt;
   echo 'Die Datei wurde kopiert';&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bei einem Fehler während der Ausführung der Funktion wird eine [[Joomla!_Programmierung/Framework/JError/raiseWarning|JError::raiseWarning]] Fehlermeldung ausgegeben&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#copy JFile-&amp;gt;copy()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/copy&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|copy]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|copy]]&lt;br /&gt;
[[Kategorie:Framework|copy]]&lt;br /&gt;
[[Kategorie:JFile|copy]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/makeSafe</id>
		<title>JFile/makeSafe</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/makeSafe"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/makeSafe“ nach „JFile/makeSafe“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile/makeSafe''' gibt einen &amp;quot;sicheren&amp;quot; Dateinamen zurück.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static makeSafe( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|string}} Der bereinigte Dateiname&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
| Der Dateiname ohne Pfadangabe&lt;br /&gt;
| ---&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$input = '../../../folder/../../file.php';&lt;br /&gt;
&lt;br /&gt;
echo JFile::makeSafe($input);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Ausgabe&lt;br /&gt;
 folderfile.php&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#makeSafe JFile-&amp;gt;makeSafe()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/makeSafe&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|makeSafe]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|makeSafe]]&lt;br /&gt;
[[Kategorie:Framework|makeSafe]]&lt;br /&gt;
[[Kategorie:JFile|makeSafe]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/stripExt</id>
		<title>JFile/stripExt</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/stripExt"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/stripExt“ nach „JFile/stripExt“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__'''JFile/stripExt''' entfernt die Dateiendung einer Datei.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static stripExt( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|string}} Der Name der Datei ohne Dateiendung&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Name der Datei&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiele==&lt;br /&gt;
Dateiendung entfernen&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;echo JFile::stripExt('configuration.php');&amp;lt;/source&amp;gt;&lt;br /&gt;
Ausgabe&lt;br /&gt;
 configuration&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#stripExt JFile-&amp;gt;stripExt()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/stripExt&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|stripExt]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|stripExt]]&lt;br /&gt;
[[Kategorie:Framework|stripExt]]&lt;br /&gt;
[[Kategorie:JFile|stripExt]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile/getExt</id>
		<title>JFile/getExt</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile/getExt"/>
				<updated>2012-05-18T23:56:31Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile/getExt“ nach „JFile/getExt“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile/getExt''' gibt die Dateiendung der Datei zurück.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;static getExt( $file )&amp;lt;/source&amp;gt;&lt;br /&gt;
* '''@return''' {{mark|string}} Die Dateiendung&lt;br /&gt;
* '''@since''' {{JVer|1.5}}&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Datentyp&lt;br /&gt;
!Beschreibung&lt;br /&gt;
!Standardwert&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;tt&amp;gt;$file&amp;lt;/tt&amp;gt;&lt;br /&gt;
|&amp;lt;tt&amp;gt;string&amp;lt;/tt&amp;gt;&lt;br /&gt;
|Der Dateiname oder ein kompletter Pfad&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Beispiel==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
echo JFile::getExt('configuration.php');&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Ausgabe:&lt;br /&gt;
 php&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html#getExt JFile-&amp;gt;getExt()]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JFile/getExt&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|getExt]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|getExt]]&lt;br /&gt;
[[Kategorie:Framework|getExt]]&lt;br /&gt;
[[Kategorie:JFile|getExt]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile</id>
		<title>Joomla! Programmierung/Framework/JFile</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JFile"/>
				<updated>2012-05-18T23:56:30Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile“ nach „JFile“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JFile]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JFile</id>
		<title>JFile</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JFile"/>
				<updated>2012-05-18T23:56:30Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JFile“ nach „JFile“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JFile''' ist eine Klasse zum bearbeiten von Dateien.&lt;br /&gt;
&lt;br /&gt;
==Definiert in==&lt;br /&gt;
{{folder|/libraries/joomla}}&lt;br /&gt;
*{{folder|filesystem|red}}&lt;br /&gt;
**{{file|file.php|php}}&lt;br /&gt;
&lt;br /&gt;
* '''@static'''&lt;br /&gt;
* '''@since'''	{{JVer|1.5}}&lt;br /&gt;
==Importieren==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( 'joomla.filesystem.file' );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Erweitert==&lt;br /&gt;
* Keine&lt;br /&gt;
&lt;br /&gt;
==Wird erweitert von==&lt;br /&gt;
* Keine&lt;br /&gt;
&lt;br /&gt;
==Methoden==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Name&lt;br /&gt;
!Beschreibung&lt;br /&gt;
|-&lt;br /&gt;
| [[/getExt|getExt]]&lt;br /&gt;
|Gibt die Dateiendung der Datei zurück.&lt;br /&gt;
|-&lt;br /&gt;
| [[/stripExt|stripExt]]&lt;br /&gt;
|Entfernt die Dateiendung einer Datei.&lt;br /&gt;
|-&lt;br /&gt;
| [[/makeSafe|makeSafe]]&lt;br /&gt;
|Gibt einen &amp;quot;sicheren&amp;quot; Dateinamen zurück.&lt;br /&gt;
|-&lt;br /&gt;
| [[/copy|copy]]&lt;br /&gt;
|Kopiert eine Datei.&lt;br /&gt;
|-&lt;br /&gt;
| [[/delete|delete]]&lt;br /&gt;
|Löscht eine oder mehrere Dateien.&lt;br /&gt;
|-&lt;br /&gt;
| [[/move|move]]&lt;br /&gt;
|Verschiebt eine Datei.&lt;br /&gt;
|-&lt;br /&gt;
| [[/read|read]]&lt;br /&gt;
|Liest den Inhalt einer Datei.&lt;br /&gt;
|-&lt;br /&gt;
| [[/write|write]]&lt;br /&gt;
|Schreibt in eine Datei.&lt;br /&gt;
|-&lt;br /&gt;
| [[/upload|upload]]&lt;br /&gt;
|Verschiebt eine hochgeladene Datei in ein Zielverzeichnis.&lt;br /&gt;
|-&lt;br /&gt;
| [[/exists|exists]]&lt;br /&gt;
|Führt die standard PHP Funktion [http://www.php.net/manual/en/function.file-exists.php file_exists] aus.&lt;br /&gt;
|-&lt;br /&gt;
| [[/getName|getName]]&lt;br /&gt;
|Extrahiert aus einem kompletten Pfad den Dateinamen.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* &amp;lt;tt&amp;gt;[http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html JFile]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten|JFile]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung|JFile]]&lt;br /&gt;
[[Kategorie:Framework|JFile]]&lt;br /&gt;
[[Kategorie:JFile|JFile]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Seiten</id>
		<title>Joomla! Seiten</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Seiten"/>
				<updated>2012-05-09T02:50:50Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: Beschreibungstext geändert&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; width:100%&amp;quot;&lt;br /&gt;
| style=&amp;quot;width:50%; vertical-align:top; border:1px solid #A0522D; background-color: #FFF8DC;&amp;quot; rowspan=&amp;quot;1&amp;quot;|&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid #A0522D; background-color:#F5DEB3; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
offizielle Seiten&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://www.joomla.org www.joomla.org]:offizielle Joomla! Hauptseite&lt;br /&gt;
;[http://forum.joomla.org forum.joomla.org]:offizielles Joomla! Forum&lt;br /&gt;
;[http://extensions.joomla.org extensions.joomla.org]:offizielles Joomla! Extensionverzeichnis&lt;br /&gt;
;[http://docs.joomla.org docs.joomla.org]:offizielle Joomla! Dokumentation&lt;br /&gt;
;[http://community.joomla.org community.joomla.org]:offizielle Joomla! Communityseite&lt;br /&gt;
;[http://resources.joomla.org resources.joomla.org]:offizielles Joomla! Resourcenverzeichnis&lt;br /&gt;
;[http://developer.joomla.org developer.joomla.org]:offizielles Joomla! Entwicklerseite&lt;br /&gt;
;[http://shop.joomla.org shop.joomla.org]:offizieller Joomla! Shop&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;padding:0em 0.5em 0em 0.5em;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width:50%; vertical-align:top; border:1px solid gold; background-color: White;&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid gold; background-color:#ffffaa; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;Landesseiten&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://www.joomla.de joomla!.de]:deutsche Landesseite&lt;br /&gt;
;[http://www.joomla.ch joomla!.ch]:schweizer Landesseite&lt;br /&gt;
;[http://www.joomla.at joomla!.at]:österreichische Landesseite&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid gold; border-top:1px solid gold; background-color:#ffffaa; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;Chat&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://www.joomla-supportchat.de/ joomla-supportchat.de]:Supportchat für Joomla!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid gold; border-top:1px solid gold; background-color:#ffffaa; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;Foren&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://forum.joomla-nafu.de forum.joomla-nafu.de]:Joomla! Forum für ambitionierte Nutzer&lt;br /&gt;
;[http://www.joomla-downloads.de/forum/ joomla-downloads.de/forum]:Hilfe und Supportforum&lt;br /&gt;
;[http://www.joomlaportal.de joomlaportal.de]:Joomla CMS Support Forum&lt;br /&gt;
;[http://forum.joomla.ch forum.joomla.ch]:schweizer Landesforum&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; style=&amp;quot;margin:0em 0em 1em 0em; width:100%&amp;quot;&lt;br /&gt;
| style=&amp;quot;width:50%; vertical-align:top; border:1px solid #abd5f5; background-color: #f1f5fc;&amp;quot; rowspan=&amp;quot;1&amp;quot;|&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid #abd5f5; background-color:#d0e5f5; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
Downloadportale&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://www.joomlaos.de joomlaos.de]:Templates und Erweiterungen&lt;br /&gt;
;[http://www.joomla-downloads.de joomla-downloads.de]:Joomla! Downloads&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;padding:0em 0.5em 0em 0.5em;&amp;quot; |&lt;br /&gt;
| style=&amp;quot;width:50%; vertical-align:top; border:1px solid #A0522D; background-color: #FFF8DC;&amp;quot; rowspan=&amp;quot;1&amp;quot;|&lt;br /&gt;
&amp;lt;div style=&amp;quot;border-bottom:1px solid #A0522D; background-color:#F5DEB3; padding:0.2em 0.5em 0.2em 0.5em; font-size:110%; font-weight:bold;&amp;quot;&amp;gt;&lt;br /&gt;
Newsseiten&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0.4em 1em 0.3em 1em;&amp;quot;&amp;gt;&lt;br /&gt;
;[http://www.joomlastuff.ch joomlastuff.ch]:Die Neusten Informationen aus der Joomla!-Welt&lt;br /&gt;
;[http://www.joomla-aktuell.de joomla-aktuell.de]:Aktuelles rund um Joomla!&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Template_Override</id>
		<title>Template Override</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Template_Override"/>
				<updated>2012-04-24T14:25:21Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: Weiterleitung hinzugefügt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[Diskussion:Templates Overrides]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Override</id>
		<title>Override</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Override"/>
				<updated>2012-04-24T14:24:51Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: Weiterleitung hinzugefügt&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[Diskussion:Templates Overrides]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Diskussion:Joomla!_Programmierung/Programmierung/Templates/Overrides</id>
		<title>Diskussion:Joomla! Programmierung/Programmierung/Templates/Overrides</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Diskussion:Joomla!_Programmierung/Programmierung/Templates/Overrides"/>
				<updated>2012-04-24T14:23:34Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Diskussion:Joomla! Programmierung/Programmierung/Templates/Overrides“ nach „Diskussion:Templates Overrides“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[Diskussion:Templates Overrides]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Programmierung/Templates/Overrides</id>
		<title>Joomla! Programmierung/Programmierung/Templates/Overrides</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Programmierung/Templates/Overrides"/>
				<updated>2012-04-24T14:23:34Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Programmierung/Templates/Overrides“ nach „Templates Overrides“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[Templates Overrides]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Templates_Overrides</id>
		<title>Templates Overrides</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Templates_Overrides"/>
				<updated>2012-04-24T14:23:34Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Programmierung/Templates/Overrides“ nach „Templates Overrides“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Vorwort ==&lt;br /&gt;
Der vorliegende Text ist eine Interpretation, in erster Linie aber eine Übersetzung des Tutorials von Andrew Eddie: ''„Understanding Output Overrides in Joomla! 1.5“''. Den original Text finden Sie unter der Adresse: http://docs.joomla.org/Understanding_Output_Overrides&lt;br /&gt;
&lt;br /&gt;
== Einleitung ==&lt;br /&gt;
Als Webdesigner werden Sie bei Ihrer täglichen Arbeit mit verschiedenen, zum Teil gegensätzlichen Anforderungen konfrontiert. Diese reichen von gesetzlichen Vorgaben, Barrierefreiheit und Usability bis hin zu persönlichen Vorlieben. Entgegen dem Versuch Ihnen diese Freiheiten bei der Gestaltung der Ansichten Ihrer Webseite über möglichst viele Schalter zu gewährleisten und dadurch Gefahr zu laufen diese zu überladen, oder dem Kompromiss eines nur bedingt zufriedenstellenden Mittelwegs, gibt Joomla! Ihnen die volle Kontrolle über die Gestaltung der Ausgaben.&lt;br /&gt;
&lt;br /&gt;
Joomla! wurde bislang vorgeworfen teils altertümliche Ziele bei der Einhaltung von Webstandards zu verfolgen, oder sich nicht sonderlich mit Themen wie der [[Wikipedia:de:Barrierefreies_Internet|Gleichstellung]] zu befassen. Seit der Version 1.5 ist diese Verantwortung, oder besser – die Machbarkeit – wieder ganz bei Ihnen.&lt;br /&gt;
&lt;br /&gt;
Da nun jegliche Anpassungen (sog. Overrides) der Standard-Ausgaben über das [[Joomla!_Programmierung/Programmierung/Templates|Template]] in die Webseite eingebunden werden, erübrigen sich Probleme wie beispielsweise das versehentlichen Überschreiben von veränderten Systemdateien bei einer Aktualisierung durch einen Administrator.&lt;br /&gt;
&lt;br /&gt;
== MVC Grundlagen ==&lt;br /&gt;
Model/View/Controller, oder ins Deutsche übersetzt ''„Modell/Präsentation/Steuerung“'' ist ein Architekturmuster aus der Software-Entwicklung, bestehend aus den Schichten; Datenmodell (engl. model), Präsentation (engl. view) und Programmsteuerung (engl. controller). Ziel des Musters ist ein flexibler Programmentwurf, der eine spätere Änderung oder Erweiterung erleichtert und eine Wiederverwendbarkeit der einzelnen Komponenten ermöglicht.&lt;br /&gt;
&lt;br /&gt;
Für den Web-Entwickler ist eigentlich nur die Präsentationsschicht (View) von Interesse. Sollten sie dennoch neugierig sein, finden Sie in den weiterführenden Links eine ausführlichere Beschreibung dieses Konzepts.&lt;br /&gt;
{{weitere|Joomla! Programmierung/Model View Controller|Model View Controller}}&lt;br /&gt;
&lt;br /&gt;
Die [[Joomla! erweitern|Verschiedene Erweiterungstypen]] innerhalb von Joomla! generieren ihre Ausgabe auf unterschiedliche Weise.&lt;br /&gt;
&lt;br /&gt;
Wie Sie sicher bereits wissen sind Komponenten die umfangreichste Form von Erweiterungen. Am Beispiel der Artikelverwaltung (com_content) sehen Sie, auf welch vielfältige Weise Artikel, oder wenn Sie so möchten auch Beiträge, dargestellt werden können. So haben Sie die Wahl Artikel innerhalb eines Bereichs, einer Kategorie oder den Beitrag direkt anzeigen zu lassen. Diese Unterteilung der Darstellung wird ''„View“'' genannt und ist die Umsetzung der [[Joomla! Programmierung/Model View Controller#Pr.C3.A4sentation_.28view.29|Präsentationsschicht]] aus dem MVC Konzept.&lt;br /&gt;
&lt;br /&gt;
Komponenten haben häufig mehr als eine solche ''„View“''. Dennoch sind es nicht die ''„Views“'' die für die eigentlichen Ausgaben verantwortlich sind. Es gibt folglich eine weitere Unterteilung in sogenannte ''„Layouts“'', wobei eine ''„View“'' wiederum mehrere ''„Layouts“'' besitzen kann.&lt;br /&gt;
&lt;br /&gt;
Jede View bereitet nun die über das Model erhaltenen Informationen auf und stellt sie dem Layout oder den Layouts zur Verfügung. Nehmen wir erneut das Beispiel der Artikelverwaltung …&lt;br /&gt;
&lt;br /&gt;
Für die Anzeige von Beiträgen innerhalb einer Kategorie gibt es zwei Darstellungsmöglichkeiten. Zum einen wäre da das ''„Kategorie-Blog“'' Layout und als Alternative die ''„Kategorie-Liste“''. In beiden Fällen werden die gleichen Informationen verarbeitet, jedoch auf unterschiedliche Weise ausgegeben.&lt;br /&gt;
&lt;br /&gt;
Die Ausgabe von Modulen hingehen ist recht überschaubar. Generell besitzen Module keine Views, jedoch erlauben sie die Verwendung von Layouts, welche beispielsweise als Option innerhalb der Moduleinstellungen geändert werden können.&lt;br /&gt;
&lt;br /&gt;
== Unterscheidung zwischen Template und Layout ==&lt;br /&gt;
Während  Templates einen strukturellen Rahmen für die Seiten Ihrer Internetpräsenz festlegen, sind es die Views oder Layouts einer Komponente oder eines Moduls, welche für die eigentliche Ausgabe von Inhalten zuständig sind.&lt;br /&gt;
&lt;br /&gt;
Das folgende Bild zeig die Struktur und den Aufbau eines typischen Joomla! Templates (rhuk_milkyway). Um die Modulpositionen eines Templates sichtbar zu machen fügen Sie ans Ende der Adresse Ihrer Seite die Zeichenfolge ''„index.php?tp=1“'' ein.&lt;br /&gt;
&lt;br /&gt;
BILD&lt;br /&gt;
&lt;br /&gt;
Wie bereits erwähnt werden die Inhalte der Positionen im Template durch die Layouts der Erweiterungen bestimmt.&lt;br /&gt;
&lt;br /&gt;
=== Zusatzinformationen ===&lt;br /&gt;
Wenn auch nicht zwingend dem MVC Konzept zugehörig, gibt es zwei weitere Methoden zur Beeinflussung der Darstellung.&lt;br /&gt;
&lt;br /&gt;
Hier im Wiki befindet sich unter dem Punkt [[Joomla! Programmierung/Programmierung/Templates|Joomla! Programmierung Templates]] eine detaillierte Beschreibung zu den kurz vorzustellenden [[Joomla! Programmierung/Programmierung/Templates#modules.php|''„Modul Chromes“'']]. Darunter auch eine Anleitung zum Erstellen eigener ''„Chromes“''. Das jeweilige Chrome, oder auch - der Rahmen in dem ein Modul eingebunden ist, wird beim einfügen einer Modulposition in der {{file|index.php|php}} des Templates über das „style“ Attribut im jdoc include Tag festgelegt. Sollte Ihnen das gerade zu schnell gegangen sein folgt zur Veranschaulichung ein Beispiel, dass Sie sicher bereits schon einmal gesehen haben werden.&lt;br /&gt;
 &amp;lt;jdoc:include type=&amp;quot;modules&amp;quot; name=&amp;quot;left&amp;quot; style=&amp;quot;xhtml&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Welche Ausgabe durch die sechs von Joomla! bereits unterstützten ''„Chromes Styles“'' erzeugt wird, zeigt die folgende Grafik.&lt;br /&gt;
&lt;br /&gt;
GRAFIK&lt;br /&gt;
&lt;br /&gt;
Ein- oder ausfahrbare Menüs oder Anmeldeformulare wären ein Beispiel für eigens erstellte Chromes wie sie auch im ja_purity Template zu finden sind.&lt;br /&gt;
&lt;br /&gt;
Ein weiterer Ansatz sind die Kontrollelemente welche für die Steuerung von mehrseitigen Ansichten benutzt werden (Pagination). Dazu später mehr.&lt;br /&gt;
&lt;br /&gt;
== Ausgabetypen der Komponenten und überschreiben von Layout Dateien ==&lt;br /&gt;
Zum besseren Verständnis der Overrides ist es notwendig sich die Dateistruktur von Komponenten anzusehen. Andere Bereiche außer acht gelassen, widmen wir uns dem Verzeichnis {{folder|views}}. Dazu ein Auszug der Verzeichnisstruktur der Artikelverwaltung (com_content).&lt;br /&gt;
&lt;br /&gt;
{{folder|components}}&amp;lt;br /&amp;gt;&lt;br /&gt;
:&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|com_content}}&amp;lt;br /&amp;gt;&lt;br /&gt;
::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|views}}&amp;lt;br /&amp;gt;&lt;br /&gt;
:::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|article}}&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|tmpl}}&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|default.php|php}} (Standard Layout)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|form.php|php}} (Formular Layout)&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|view.html.php|php}} (View für die Darstellung von Html Inhalten)&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|view.pdf.php|php}} (View für die Darstellung von PDF Inhalten)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|category}}&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{folder|tmpl}}&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|default.php|php}} (Standard Layout)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|default_items.php|php}} (Standard Layout Unteransicht)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|blog.php|php}} (Blog Layout)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|blog_items.php|php}} (Blog Layout Unteransicht)&amp;lt;br /&amp;gt;&lt;br /&gt;
:::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|blog_links.php|php}} (Blog Layout Unteransicht)&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|view.html.php|php}} (View für die Darstellung von Html Inhalten)&amp;lt;br /&amp;gt;&lt;br /&gt;
::::&amp;lt;sup&amp;gt;|_&amp;lt;/sup&amp;gt; {{file|view.feed.php|php}} View für die Darstellung von RSS Feeds)&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wie hier zu sehen befinden sich die Views in einem separaten Verzeichnis. Die Artikelverwaltung besitzt drei weitere Views: archive, frontpage und section.&lt;br /&gt;
&lt;br /&gt;
=== AusgabeTypen ===&lt;br /&gt;
Wenn wir von einer View sprechen, dann ist mit großer Wahrscheinlichkeit die Datei view.html.php gemeint. Der Dateiname folgt einer Konvention und variiert je nach Ausgabe-Typ. Mögliche Ausgabe-Typen sind: view.html.php, view.feed.php, view.pdf.php, view.raw.php oder view.error.php. Das bedeutet, wann immer eine der genannten Ausgabeformen angefragt wird, erwartet das System die entsprechende Datei.&lt;br /&gt;
Weitere Informationen hierzu finden Sie in der Api Dokumentation unter JDocument. Werfen Sie auch einen Blick in das Verzeichnis /libraries/joomla/document.&lt;br /&gt;
&lt;br /&gt;
Am ehesten ist dieser Vorgang nachvollziehbar, wenn Sie in der Konfiguration Ihres Systems suchmaschinenfreundliche URLs aktivieren. Dabei sollte die Optionen „mod_rewrite nutzen“ sowie&lt;br /&gt;
„Dateiendung an URL fügen“ angewählt sein. Das Resultat könnte zum Beispiel so aussehen:&lt;br /&gt;
&lt;br /&gt;
http://domain/sport.html&lt;br /&gt;
http://domain/sport.feed&lt;br /&gt;
http://domain/sport/rudern.html&lt;br /&gt;
http://domain/sport/rudern.pdf&lt;br /&gt;
&lt;br /&gt;
Hinweis: Unter Umständen funktioniert die Aktivierung suchmaschinenfreundlicher URLs nicht in einer lokalen Testumgebung.&lt;br /&gt;
&lt;br /&gt;
Die Ausgabe der Adresse variiert selbstverständlich je nachdem wie Sie Ihr System konfiguriert haben. Der eigentliche Punkt jedoch ist, dass „sport.html“ intern die view.html.php der Kategorie verwendet, während „sport.feed“ für die Bereitstellung eines RSS Feeds auf die Datei view.feed.php zurückgreift. Als Anmerkung hierzu: Zum jetzigen Zeitpunkt ist es nicht möglich die Ausgabe von Feeds oder PDF anzupassen. Dies gilt jedoch nicht für die Ausgabe von Html und an dieser Stelle kommen die „Layouts“ ins Spiel.&lt;br /&gt;
&lt;br /&gt;
Layouts&lt;br /&gt;
Die Layouts befinden sich, vorausgesetzt die Erweiterung hält sich an das MVC Prinzip, in dem Verzeichnis /tmpl unterhalb einer View. Jede der PHP Dateien repräsentiert ein solches Layout.&lt;br /&gt;
&lt;br /&gt;
Beispiele:&lt;br /&gt;
Die Datei article/tmpl/default.php entspricht dem standard Layout eines Artikels. Bearbeitet man einen Artikel wird im Controller der Artikelverwaltung der View mitgeteilt die Datei article/tmpl/form.php zu laden. Ähnlich verhält es sich mit der Kategorie Ansicht, in der die gleichen Informationen zu den Artikeln entweder als Liste category/tmpl/default.php, oder als Blog category/tmpl/blog.php ausgegeben werden. &lt;br /&gt;
&lt;br /&gt;
Verständlicher wird das Zusammenspiel zwischen Views und deren Layouts wenn wir uns der Erstellung eines neuen Menüpunktes widmen. Der untere Bildausschnitt zeigt eine Baumstruktur der Views und dessen Layouts aus der Artikelverwaltung.&lt;br /&gt;
&lt;br /&gt;
BILD&lt;br /&gt;
&lt;br /&gt;
Vielleicht ist Ihnen aufgefallen, dass einige Layouts wie pagebreak.php nicht aufgeführt wurden und sich weiterhin eine gleichnamige XML Datei im /tmpl Verzeichnis befindet. Im Kapitel Komponenten Parameter gehen wir näher auf die Optionen dieser XML Dateien ein und erklären unter anderem wie Layouts oder auch ganze Views versteckt werden können.&lt;br /&gt;
&lt;br /&gt;
Mit den erworbenen Kenntnissen über die Zusammenhänge der Dateien sind wir nun in der Lage zum Erstellen eigener Overrides überzugehen. &lt;br /&gt;
&lt;br /&gt;
Kopieren oder Erstellen von Layouts Overrides&lt;br /&gt;
Joomla! sucht und benutzt Layout Overrides im /html Verzeichnis des jeweils aktiven Template. Das bedeutet, dass auch wenn Sie für eine bestimmte Erweiterung ein Override erstellt haben, dies nicht automatisch für alle installierten Templates gillt. Werfen wir nun einen Blick in die standard Templates von Joomla!.&lt;br /&gt;
&lt;br /&gt;
Im Verzeichnis /templates/rhuk_milkyway/html befinden sich zwar die Dateien modules.php und pagination.php, jedoch gibt es im Template rhuk_milkyway sonst keine Overrides für Komponenten oder Module. Im Beez Template hingegen werden weitestgehend alle Ausgaben der Basis-Erweiterungen über Overrides gesteuert. Das JA Purity Template stellt auch einige Overrides bereit, allerdings beschränken diese sich auf nur wenige Layouts.&lt;br /&gt;
&lt;br /&gt;
Die notwendige Struktur für Layout Overrides sehen wir am Beispiel des Templates Beez:&lt;br /&gt;
/templates&lt;br /&gt;
    /beez&lt;br /&gt;
        /html&lt;br /&gt;
            /com_content		(Name der Komponente)&lt;br /&gt;
                /articles		(Name der View)&lt;br /&gt;
                    default.php	(Name des jeweiligen Layouts)&lt;br /&gt;
                    form.php&lt;br /&gt;
&lt;br /&gt;
/html/com_name_der_komponente/name_der_view/name_des_layouts.php&lt;br /&gt;
&lt;br /&gt;
Die Dateistruktur eines Overrides entspricht annähernd der einer Komponente. Da wir nur Layouts überschreiben können, entfällt lediglich das Verzeichnis /tmpl.&lt;br /&gt;
Wie oben kurz angedeutet besitzt das rhuk_milkyway Template selbst keine Overrides für die Ausgabe von Komponenten. Um eine Alternative zur standard Darstellung eines Artikels zu erzeugen, kopieren Sie die Datei /components/com_content/views/article/tmpl/default.php in das Verzeichnis /templates/rhuk_milkyway/html/com_content/article/default.php. Sofern die Verzeichnisstruktur nicht vorhanden ist, muss diese natürlich erstellt werden.&lt;br /&gt;
&lt;br /&gt;
Die gleiche Vorgehensweise ließe sich auf die Blog Ansicht anwenden. Dazu wird die Datei /components/com_content/views/category/tmpl/blog.php nach /templates/rhuk_milkyway/html/com_content/category/blog.php kopiert. Anschließend können die Dateien den eigenen Bedürfnissen, oder auf die eines Kunden angepasst werden.&lt;br /&gt;
Achten Sie dennoch darauf vorhandene Parameter Abfragen zu berücksichtigen. Entgegen dem Hinweis aus dem original Text, selbst entscheiden zu können ob und welche Parameter für Sie von Bedeutung sind, kann das Entfernen oder anderweitige Verwenden von diesen Schaltern später für Verwirrung sorgen. Das trifft dann zu, wenn ein Benutzer im Backend versucht eine Option zu aktivieren, sich aber keine Auswirkungen darauf auf der Frontpage zeigen.&lt;br /&gt;
&lt;br /&gt;
Unter-Layouts überschreiben&lt;br /&gt;
Neben den eigentlichen Layouts findet man in der Frontpage oder Kategorie View der Artikelverwaltung eine Gruppe von Dateien mit gleichlautender Anfangsbezeichnung. &lt;br /&gt;
&lt;br /&gt;
Das Blog-Layout besitzt drei solcher Dateien. Schaut man nun in die blog.php wird deutlich wie die Unter-Layouts mit Hilfe der loadTemplate() Methode geladen werden.&lt;br /&gt;
&lt;br /&gt;
echo $this-&amp;gt;loadTemplate('item') // blog_item.php&lt;br /&gt;
echo $this-&amp;gt;loadTemplate('links') // blog_links.php&lt;br /&gt;
&lt;br /&gt;
Der Name des Basis-Layouts in dem wir uns befinden, dient als Präfix und ist innerhalb der View bekannt. Es reicht also aus das Unter-Layout direkt und ohne Angabe dieses Präfixes zu laden.&lt;br /&gt;
&lt;br /&gt;
Bereits am Beispiel des Templates JA Purity konnten wir sehen, dass man keineswegs gezwungen ist alle Layouts einer View zu überschreiben. Sofern kein Override existiert wird Joomla! weiterhin die nativen Layouts der View einer Erweiterung laden.&lt;br /&gt;
&lt;br /&gt;
== Modul Layout Overrides ==&lt;br /&gt;
Module folgen wie alle Erweiterungen innerhalb Joomla! einer bestimmten Verzeichnis- und Dateistruktur.&lt;br /&gt;
/modules&lt;br /&gt;
    /mod_latest_news&lt;br /&gt;
        /tmpl&lt;br /&gt;
            default.php		(Layout)&lt;br /&gt;
        helper.php		(Helper Klasse des Moduls)&lt;br /&gt;
        mod_latest_news.php	(Modul Einstiegspunkt)&lt;br /&gt;
        mod_latest_news.xml	(XML Manifest)&lt;br /&gt;
&lt;br /&gt;
Für Module existiert unterhalb des Hauptverzeichnisses wie schon bei den Views einer Komponente ein /tmpl Verzeichnis. In Abhängigkeit der Funktionalität des Moduls finden sich dort eine oder mehrere Layout Dateien.&lt;br /&gt;
Hinweis: Nicht wenige Module die für Joomla! verfügbar sind halten sich nicht an diese Vorgaben. Prüfen Sie deshalb vorher wie das Modul die Ausgabe generiert. &lt;br /&gt;
Wie ein Layout Override eines Moduls innerhalb des Templates aussieht zeigt die folgende Darstellung.&lt;br /&gt;
&lt;br /&gt;
/templates&lt;br /&gt;
    /beez&lt;br /&gt;
        /html&lt;br /&gt;
            /mod_latest_news	(Name des Moduls Stammverzeichnisses)&lt;br /&gt;
                default.php		(Layout)&lt;br /&gt;
&lt;br /&gt;
 /html/mod_name_des_moduls/name_des_layouts.php. &lt;br /&gt;
&lt;br /&gt;
== Kontrollelemente für mehrseitige Ansichten ==&lt;br /&gt;
Zu guter Letzt schauen wir uns, wie Anfangs erwähnt, die Anpassung der Ausgaben für Kontrollelement von mehrseitigen Ansichten (Pagination) an.&lt;br /&gt;
&lt;br /&gt;
BILD&lt;br /&gt;
&lt;br /&gt;
Im Verzeichnis /html des Templates BEEZ befindet sich eine bereits angepasste und gut dokumentierte Datei mit der Bezeichnung pagination.php. Innerhalb dieser Datei stehen vier Funktionen für verschiedene Ausgaben der Kontrollelemente zur Verfügung. &lt;br /&gt;
&lt;br /&gt;
pagination_list_footer()&lt;br /&gt;
Diese Funktion generiert eine Auswahlliste mit der die Anzahl der anzuzeigenden Artikel oder Inhalte pro Seite gesetzt werden kann..&lt;br /&gt;
&lt;br /&gt;
pagination_list_render()&lt;br /&gt;
Innerhalb von pagination_list_render() werden die Seitenzahlen, sowie die Start, Ende und Vor/Zurück Links generiert.&lt;br /&gt;
&lt;br /&gt;
pagination_item_active()&lt;br /&gt;
Diese Funktion wirkt sich auf alle aktiven Links innerhalb der Kontrollelemente aus.&lt;br /&gt;
&lt;br /&gt;
pagination_item_inactive()&lt;br /&gt;
Wie der Name vermuten lässt kann hier die Ausgabe inaktiver Elemente beeinflusst werden.&lt;br /&gt;
&lt;br /&gt;
Spickzettel&lt;br /&gt;
Beispiele zu allen in diesem Artikel behandelten Themen zur Anpassung der Ausgaben finden sich in den Core- Erweiterungen und Templates die Joomla! nach der einer Standardinstallation mitbringt.&lt;br /&gt;
&lt;br /&gt;
Themen Auswahl&lt;br /&gt;
&lt;br /&gt;
Ausgabetypen der Komponenten und überschreiben von Layout Dateien&lt;br /&gt;
Um eine alternative Ausgabe für die Artikelansicht zu erstellen kopieren Sie die Datei:&lt;br /&gt;
/components/com_content/views/article/tmpl/default.php&lt;br /&gt;
nach:&lt;br /&gt;
/templates/NameDesTemplate/html/com_content/article/default.php&lt;br /&gt;
&lt;br /&gt;
Weitere Informationen LINK&lt;br /&gt;
&lt;br /&gt;
Modul Layout Overrides&lt;br /&gt;
Kopieren Sie das Modul Layout von:&lt;br /&gt;
/components/NameDesModuls/tmpl/default.php&lt;br /&gt;
nach:&lt;br /&gt;
/templates/NameDesTemplate/html/NameDesModuls/default.php&lt;br /&gt;
Weitere Informationen LINK&lt;br /&gt;
&lt;br /&gt;
Modul Chrome&lt;br /&gt;
Die Erstellung oder Anpassung von Modul Styles wird im Bereich Joomla! Programmierung | Programmierung | Templates ausführlich behandelt.&lt;br /&gt;
&lt;br /&gt;
Weitere Informationen LINK&lt;br /&gt;
&lt;br /&gt;
Kontrollelemente für mehrseitige Ansichten&lt;br /&gt;
Eine Beispieldatei für die Anpassung der Pagination findet sich unter:&lt;br /&gt;
/templates/beez/html/pagination.php&lt;br /&gt;
&lt;br /&gt;
== Fazit ==&lt;br /&gt;
Auch wenn dieser Artikel nicht die einzige Übersetzung des Textes von Andrew Eddie zum Thema Template Overrides in Joomla! 1.5 ist und der Erscheinungstermin für die Version 1.6 mit weiteren Neuerungen näher zu rücken scheint, so hoffen wir doch Ihnen auf verständliche Weise die Prinzipien und Vorteile der MVC Strukur, sowie die Möglichkeit der Template Overrides näher gebracht zu haben.&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Diskussion:Templates_Overrides</id>
		<title>Diskussion:Templates Overrides</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Diskussion:Templates_Overrides"/>
				<updated>2012-04-24T14:23:34Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Diskussion:Joomla! Programmierung/Programmierung/Templates/Overrides“ nach „Diskussion:Templates Overrides“&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Manchmal möchte man schon ... &lt;br /&gt;
&lt;br /&gt;
... aber dazu ist dann die Veränderung einer Core-Datei nötig. Beim nächsten Update wird die Änderung dann jedoch überschrieben. &lt;br /&gt;
&lt;br /&gt;
Ein Beispiel: Mit Menütyp &amp;quot;Layout: Kontaktkategorien&amp;quot; kann das Kontaktbild des jeweiligen Kontaktes nicht dargestellt werden.&lt;br /&gt;
&lt;br /&gt;
== Eine Lösung heißt Layout-Override. ==&lt;br /&gt;
&lt;br /&gt;
'''Ein Override ist nur für in einem Verzeichnis {{folder|view}} oder dessen Unterverzeichnis enthaltene Dateien möglich.''' &lt;br /&gt;
&lt;br /&gt;
Joomla! gibt die Kontaktkategorie-Daten durch die Datei {{file|DeinJoomla!\components\com_contact\views\category\tmpl\default_items.php|php}} aus. Diese Ausgabe kann also durch ein Layout-Override verändert werden.  &lt;br /&gt;
&lt;br /&gt;
Im Template beez wird z. B. mit Overrides gearbeitet. Dort können die folgenden Schritte gut nach vollzogen werden.&lt;br /&gt;
&lt;br /&gt;
Layout-Overrides benötigen das Verzeichnis {{folder|html}} in Ihrem Template. &lt;br /&gt;
&lt;br /&gt;
Da die &amp;quot;Original&amp;quot;-Datei in einem Unterverzeichnis von {{folder|DeinJoomla!\components\com_contact}} liegt und eine Datei aus einem Unterverzeichnis von {{file|DeinJoomla!\components\com_contact\views\category}} geändert werden soll, ist es dem entsprechend notwendig ein Verzeichnis {{folder|DeinJoomla!\templates\DeinTemplate\html\com_contact\category}} zu erstellen.&lt;br /&gt;
&lt;br /&gt;
Dorthin kommt dann eine Datei mit gleichem Namen wie die &amp;quot;Original&amp;quot;-Datei: {{file|default_items.php}}&lt;br /&gt;
&lt;br /&gt;
Sie bekommt den Inhalt:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
// @version $Id: default_items.php 10381 2008-06-01 03:35:53Z pasamio $&lt;br /&gt;
// geändert Inhalt des ersten Tabellenfeldes (Zeile 10): 2010-03-24 7list&lt;br /&gt;
defined('_JEXEC') or die('Restricted access');&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?php foreach ($this-&amp;gt;items as $item) : ?&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
	&amp;lt;td class=&amp;quot;sectiontableentry&amp;quot; headers=&amp;quot;Count&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;img src=&amp;quot;&amp;lt;?php echo $this-&amp;gt;baseurl ?&amp;gt;/images/stories/&amp;lt;?php echo $item-&amp;gt;image?&amp;gt;&amp;quot; width=&amp;quot;92&amp;quot; height=&amp;quot;117&amp;quot; alt=&amp;quot;&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;/td&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
	&amp;lt;td valign=&amp;quot;top&amp;quot; class=&amp;quot;sectiontableentry&amp;lt;?php echo $item-&amp;gt;odd; ?&amp;gt;&amp;quot; headers=&amp;quot;Position&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;?php if ($this-&amp;gt;params-&amp;gt;get('show_position')) : ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
		&amp;lt;?php if (strlen($item-&amp;gt;con_position)&amp;gt;0){echo $item-&amp;gt;con_position.&amp;quot;&amp;lt;br&amp;gt;&amp;quot;;}  ?&amp;gt;&lt;br /&gt;
	&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
		&amp;lt;a href=&amp;quot;&amp;lt;?php echo $item-&amp;gt;link; ?&amp;gt;&amp;quot; class=&amp;quot;category&amp;lt;?php echo $this-&amp;gt;params-&amp;gt;get('pageclass_sfx'); ?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;?php echo $item-&amp;gt;name; ?&amp;gt; &amp;lt;/a&amp;gt;&lt;br /&gt;
	&amp;lt;/td&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;td width=&amp;quot;20px&amp;quot;&amp;gt;&amp;lt;/td&amp;gt;	&lt;br /&gt;
 &lt;br /&gt;
	&amp;lt;td valign=&amp;quot;top&amp;quot; class=&amp;quot;sectiontableentry&amp;lt;?php echo $item-&amp;gt;odd; ?&amp;gt;&amp;quot; headers=&amp;quot;Mail&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;?php if ($this-&amp;gt;params-&amp;gt;get('show_email')) : ?&amp;gt;		&lt;br /&gt;
	&amp;lt;?php echo $item-&amp;gt;email_to; ?&amp;gt;&lt;br /&gt;
	&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
	&amp;lt;?php if ($this-&amp;gt;params-&amp;gt;get('show_telephone')) : ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
		&amp;lt;?php echo $item-&amp;gt;telephone; ?&amp;gt;&lt;br /&gt;
	&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
	&amp;lt;?php if ($this-&amp;gt;params-&amp;gt;get('show_mobile')) : ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
		&amp;lt;?php echo $item-&amp;gt;mobile; ?&amp;gt;&lt;br /&gt;
	&amp;lt;br&amp;gt;&lt;br /&gt;
	&amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
	&amp;lt;?php if ($this-&amp;gt;params-&amp;gt;get('show_fax')) : ?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
		&amp;lt;?php echo $item-&amp;gt;fax; ?&amp;gt;&lt;br /&gt;
	&amp;lt;?php endif; ?&amp;gt;		&lt;br /&gt;
	&amp;lt;/td&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;?php endforeach; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Eine weitere Lösung heißt [[Joomla! erweitern/Komponenten/3rd Party/Jumi|Jumi]]. ==&lt;br /&gt;
&lt;br /&gt;
Dazu den folgenden Code in die Datei {{file|DeinJoomla!\jumi\contact.categorie.view.feed.php}} eingeben:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/**&lt;br /&gt;
 * @version		$Id: contact.categorie.view.feed.php 2010-03-24 17:25:58Z kms-net.de&lt;br /&gt;
 * @package		Joomla&lt;br /&gt;
 * @subpackage	Contact&lt;br /&gt;
 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.&lt;br /&gt;
 * @license		GNU/GPL, see LICENSE.php&lt;br /&gt;
 * Joomla! is free software. This version may have been modified pursuant to the&lt;br /&gt;
 * GNU General Public License, and as distributed it includes or is derivative&lt;br /&gt;
 * of works licensed under the GNU General Public License or other free or open&lt;br /&gt;
 * source software licenses. See COPYRIGHT.php for copyright notices and&lt;br /&gt;
 * details.&lt;br /&gt;
 */&lt;br /&gt;
// Check to ensure this file is included in Joomla!&lt;br /&gt;
defined('_JEXEC') or die( 'Restricted access' );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$query = 'SELECT a.name AS name, `con_position` AS position, `address` AS strasse,'&lt;br /&gt;
. ' concat( `postcode` , &amp;quot; &amp;quot;, `suburb` ) AS adresse, `telephone` AS telefon,'&lt;br /&gt;
. ' `fax`, `email_to` AS email,'&lt;br /&gt;
. ' a.image AS image, a.id as id, `catid`,a.alias AS alias ,'&lt;br /&gt;
. ' c.title AS category'&lt;br /&gt;
. ' FROM joscg_contact_details AS a'&lt;br /&gt;
. ' LEFT JOIN joscg_categories AS c ON c.`id`= a.`catid`'&lt;br /&gt;
. ' WHERE `catid` = 5'&lt;br /&gt;
. ' ORDER BY a.ordering	'	;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$rows = mysql_query($query) OR die(&amp;quot;Query: &amp;lt;pre&amp;gt;&amp;quot;.$query.&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;quot;.&amp;quot;Antwort: &amp;quot;.mysql_error());&lt;br /&gt;
&lt;br /&gt;
$daten = array();&lt;br /&gt;
&lt;br /&gt;
if(mysql_num_rows($rows)) {&lt;br /&gt;
        while($row = mysql_fetch_assoc($rows)) {		&lt;br /&gt;
        	$daten[] = array($row['name'],$row['position'],$row['strasse'],$row['adresse'],$row['telefon'],$row['fax'],$row['email'],$row['image'],$row['id'],$row['catid'],$row['alias'],$row['category']);	&lt;br /&gt;
        	}&lt;br /&gt;
    	} else {&lt;br /&gt;
        	echo &amp;quot;Es sind keine Daten in der Datenbank vorhanden&amp;lt;br /&amp;gt;\n&amp;quot;;&lt;br /&gt;
    	}	&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;&amp;lt;table width='100%' border='0'&amp;gt;&amp;quot;;	&lt;br /&gt;
	foreach ($daten as $wert) {&lt;br /&gt;
       	echo &amp;quot;&amp;lt;tr valign='top'&amp;gt;&amp;quot;;&lt;br /&gt;
	   	echo &amp;quot;&amp;lt;td&amp;gt; &amp;lt;img src='images/stories/&amp;quot;.$wert[7].&amp;quot;' width='92' height='117' alt='' border='0'&amp;gt;&amp;lt;/td&amp;gt;&amp;quot;;&lt;br /&gt;
		echo &amp;quot;&amp;lt;td&amp;gt;&amp;quot;;&lt;br /&gt;
		if (strlen($wert[1])&amp;gt;0){echo $wert[1] .&amp;quot;&amp;lt;br&amp;gt;&amp;quot;;}						&lt;br /&gt;
		echo &amp;quot;&amp;lt;a href='index.php?option=com_contact&amp;amp;view=contact&amp;amp;id=&amp;quot;.$wert[8].&amp;quot;:&amp;quot;.$wert[10].&amp;quot;&amp;amp;catid=&amp;quot;.$wert[9].&amp;quot;:&amp;quot;.$wert[11].&amp;quot;&amp;amp;Itemid=15' class='category'&amp;gt;&amp;quot;.$wert[0].&amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;&lt;br /&gt;
		echo &amp;quot;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;p style='margin-bottom:10px;'&amp;gt;&amp;quot;;&lt;br /&gt;
		if (strlen($wert[4])&amp;gt;0){echo $wert[4] .&amp;quot;&amp;lt;br&amp;gt;&amp;quot; ;}&lt;br /&gt;
		echo $wert[5];			&lt;br /&gt;
		echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;td width='15'&amp;gt;&amp;lt;/td&amp;gt;&amp;quot;;	&lt;br /&gt;
		echo &amp;quot;&amp;lt;td&amp;gt;&amp;quot;;&lt;br /&gt;
		if (strlen($wert[2])&amp;gt;0){echo $wert[2] .&amp;quot;&amp;lt;br&amp;gt;&amp;quot;;}&lt;br /&gt;
		if (strlen($wert[3])&amp;gt;0){echo $wert[3] ;}&lt;br /&gt;
		echo &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;&lt;br /&gt;
		echo &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td height='10' colspan='5'&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;						&lt;br /&gt;
	}&lt;br /&gt;
echo &amp;quot;&amp;lt;/table&amp;gt;&amp;quot;;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Datei kann dann mit dem [[Joomla! erweitern/Plugins/3rd Party/Jumi|Jumi-Plugin]] im Beitrag mit {jumi [jumi/categorie.contact.view.feed.php]} eingebunden werden.&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTableNested</id>
		<title>Joomla! Programmierung/Framework/JTableNested</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTableNested"/>
				<updated>2012-04-14T11:29:37Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTableNested“ nach „JTableNested“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTableNested]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTableNested</id>
		<title>JTableNested</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTableNested"/>
				<updated>2012-04-14T11:29:37Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTableNested“ nach „JTableNested“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JTableNested''' is a table class which supports modified pre-order [[wikipedia:tree traversal|tree traversal]] behaviour.  This class is derived from the base [[JTable]] class and adds methods to support a binary tree structure in the database, with pre-order being the preferred method of traversal.  From Joomla 1.6 onwards.&lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
/joomla/database/tablenested.php&lt;br /&gt;
&lt;br /&gt;
===Extends===&lt;br /&gt;
* [[JTable]]&lt;br /&gt;
&lt;br /&gt;
===Reserved Database Field Names===&lt;br /&gt;
The operation of this class is dependent on the existence of specially-named fields (columns) in the database table.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Field name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|left_id&lt;br /&gt;
|Primary key of the node on the left branch of the current node.&lt;br /&gt;
|-&lt;br /&gt;
|right_id&lt;br /&gt;
|Primary key of the node on the right branch of the current node.&lt;br /&gt;
|-&lt;br /&gt;
|parent_id&lt;br /&gt;
|Primary key of the parent node of the current node.&lt;br /&gt;
|-&lt;br /&gt;
|level&lt;br /&gt;
|Number of steps from the root node to the current node.&lt;br /&gt;
|-&lt;br /&gt;
|path&lt;br /&gt;
|Path from the root node to the current node.&lt;br /&gt;
|-&lt;br /&gt;
|alias&lt;br /&gt;
|Optional.  Alias name for the current node.&lt;br /&gt;
|-&lt;br /&gt;
|checked_out&lt;br /&gt;
|Optional.  As per [[JTable]].&lt;br /&gt;
|-&lt;br /&gt;
|checked_out_time&lt;br /&gt;
|Optional.  As per [[JTable]].&lt;br /&gt;
|-&lt;br /&gt;
|published&lt;br /&gt;
|Optional.  As per [[JTable]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Methods===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Method name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/delete|delete]]&lt;br /&gt;
|Deletes a node, and optionally its child nodes, from the table.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/getPath|getPath]]&lt;br /&gt;
|Gets and array of nodes from the root to a given node.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/getTree|getTree]]&lt;br /&gt;
|Gets a node and all its child nodes.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/isLeaf|isLeaf]]&lt;br /&gt;
|Determines if a node is a leaf node in the tree (has no children).&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/move|move]]&lt;br /&gt;
|Moves a node and its children to a new location in the tree.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/orderDown|orderDown]]&lt;br /&gt;
|Moves a node one position to the right in the same level.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/orderUp|orderUp]]&lt;br /&gt;
|Moves a node one position to the left in the same level.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/publish|publish]]&lt;br /&gt;
|Set the publishing state for a node or list of nodes in the table.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/rebuildPath|rebuildPath]]&lt;br /&gt;
|Rebuilds a node's path field from the alias values of the node from the current node to the root node of the tree.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/setLocation|setLocation]]&lt;br /&gt;
|Set the location of a node in the tree object.&lt;br /&gt;
|-&lt;br /&gt;
|[[JTableNested/store|store]]&lt;br /&gt;
|Stores a node in the database table.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( 'joomla.database.tablenested' );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTableNested]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable</id>
		<title>JTable</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable"/>
				<updated>2012-04-14T11:28:25Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: Links angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JTable''' is an abstract class that forms the basis for all database table classes.  Some of the methods listed will be overridden by the child class so you should check the child class documentation for further information.&lt;br /&gt;
&lt;br /&gt;
Each physical database table created should have a corresponding class derived from '''JTable''' to represent it.  '''JTable''' provides many methods to make common manipulations to the table much simpler.  For example, one of the most common operations you will need to perform is to read a table row into memory given a value for the primary key.  This can be done easily using the [[/load|load]] method.  The table row can then be just as easily updated using the [[/save|save]] method, which also performs any predefined sanity checks on the table fields.&lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
/joomla/database/table.php&lt;br /&gt;
&lt;br /&gt;
===Extends===&lt;br /&gt;
* [[JObject]]&lt;br /&gt;
&lt;br /&gt;
===Extended by===&lt;br /&gt;
* [[JTableARO]]&lt;br /&gt;
* [[JTableAROGroup]]&lt;br /&gt;
* [[JTableAsset]] (from 1.6)&lt;br /&gt;
* [[JTableCategory]]&lt;br /&gt;
* [[JTableComponent]]&lt;br /&gt;
* [[JTableContent]]&lt;br /&gt;
* [[JTableMenu]]&lt;br /&gt;
* [[JTableMenuTypes]]&lt;br /&gt;
* [[JTableModule]]&lt;br /&gt;
* [[JTableNested]] (from 1.6)&lt;br /&gt;
* [[JTablePlugin]]&lt;br /&gt;
* [[JTableSection]]&lt;br /&gt;
* [[JTableSession]]&lt;br /&gt;
* [[JTableTree]] (from 1.6)&lt;br /&gt;
* [[JTableUser]]&lt;br /&gt;
&lt;br /&gt;
===Reserved Database Field Names===&lt;br /&gt;
Some of the optional features of JTable require the existence of specially-named fields in the database table.  If you require this additional functionality you should ensure that these named fields are present in the table.  These field names should be considered reserved as any attempts to use them for purposes other than those supported by JTable may result in conflict.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Field name&lt;br /&gt;
!Methods using the field name&lt;br /&gt;
|-&lt;br /&gt;
|checked_out&lt;br /&gt;
|[[/checkOut|checkOut]], [[/checkIn|checkIn]], [[/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|-&lt;br /&gt;
|checked_out_time&lt;br /&gt;
|[[/checkOut|checkOut]], [[/checkIn|checkIn]], [[/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|-&lt;br /&gt;
|hits&lt;br /&gt;
|[[/hit|hit]]&lt;br /&gt;
|-&lt;br /&gt;
|ordering&lt;br /&gt;
|[[/getNextOrder|getNextOrder]], [[/reorder|reorder]], [[/move|move]]&lt;br /&gt;
|-&lt;br /&gt;
|published&lt;br /&gt;
|[[/publish|publish]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Check-in/check-out====&lt;br /&gt;
Joomla tables implement a simple mechanism for preventing a [[wikipedia:race condition|race condition]] while editing rows in a database.  This depends on the existence of database fields called &amp;quot;checked_out&amp;quot; and &amp;quot;checked_out_time&amp;quot; and if these fields are present '''JTable''' will automatically support this mechanism so that it can be easily used in your tables too.  In addition to the [[/checkOut|checkOut]] and [[/checkIn|checkIn]] methods, there is a [[/isCheckedOut|isCheckedOut]] method to determine if a given table row is currently checked out by another user.&lt;br /&gt;
&lt;br /&gt;
====Hit counter====&lt;br /&gt;
Some Joomla tables contain a field called &amp;quot;hits&amp;quot; which records the number of times that a table row has been accessed.  '''JTable''' provides a simple method to increment this field: [[/hit|hit]].&lt;br /&gt;
&lt;br /&gt;
====Ordering====&lt;br /&gt;
Many Joomla tables support a user-defined ordering of the rows.&lt;br /&gt;
&lt;br /&gt;
To be written.&lt;br /&gt;
&lt;br /&gt;
====Publish/Unpublish====&lt;br /&gt;
To be written.&lt;br /&gt;
&lt;br /&gt;
===Get and Set Methods===&lt;br /&gt;
Properties which do not have specific get or set methods listed here can be retrieved or set using the inherited [[JObject/get|JObject-&amp;gt;get]] method.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Get method&lt;br /&gt;
!Set method&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[/getAssetNamePrefix|getAssetNamePrefix]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the name prefix to use for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getAssetSection|getAssetSection]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the access section name for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getAssetTitle|getAssetTitle]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the title to use for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getDBO|getDBO]]&lt;br /&gt;
|[[/setDBO|setDBO]]&lt;br /&gt;
|Method to set/get the [[JDatabase|JDatabase]] connector object associated with the table.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getTableName|getTableName]]&lt;br /&gt;
|&lt;br /&gt;
|Method to get the name of the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getKeyName|getTableKey]]&lt;br /&gt;
|&lt;br /&gt;
|Method to get the primary key field name for the table&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Other Methods===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Method name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[/__construct|construct]]&lt;br /&gt;
|Object constructor to set table and key field&lt;br /&gt;
|-&lt;br /&gt;
|[[/addIncludePath|addIncludePath]]&lt;br /&gt;
|Add a filesystem path where '''JTable''' should search for table class files.&lt;br /&gt;
|-&lt;br /&gt;
|[[/bind|bind]]&lt;br /&gt;
|Binds an associative array or object to the '''JTable''' instance.&lt;br /&gt;
|-&lt;br /&gt;
|[[/canDelete|canDelete]]&lt;br /&gt;
|Checks whether dependencies exist for this object in the database schema.&lt;br /&gt;
|-&lt;br /&gt;
|[[/check|check]]&lt;br /&gt;
|Perform sanity checks on the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[/checkin|checkin]]&lt;br /&gt;
|Checks a row in if the necessary instance properties and table fields exist.&lt;br /&gt;
|-&lt;br /&gt;
|[[/checkout|checkout]]&lt;br /&gt;
|Checks a row out if the necessary instance properties and table fields exist.&lt;br /&gt;
|-&lt;br /&gt;
|[[/delete|delete]]&lt;br /&gt;
|Deletes a row from the database table by primary key value.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getInstance|getInstance]]&lt;br /&gt;
|Static method to get an instance of a '''JTable''' class.&lt;br /&gt;
|-&lt;br /&gt;
|[[/getNextOrder|getNextOrder]]&lt;br /&gt;
|Gets the next ordering value for a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[/hit|hit]]&lt;br /&gt;
|Increments the hits for a row if the necessary instance property and table field exists.&lt;br /&gt;
|-&lt;br /&gt;
|[[/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|Determines if a row is checked out and therefore un-editable by a user.&lt;br /&gt;
|-&lt;br /&gt;
|[[/load|load]]&lt;br /&gt;
|Loads a row from the database by primary key and binds the fields to the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[/move|move]]&lt;br /&gt;
|Moves a row in the ordering sequence of a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[/publish|publish]]&lt;br /&gt;
|Sets the publishing state for a row or list of rows in the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[/reorder|reorder]]&lt;br /&gt;
|Compacts the ordering values of rows in a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[/reset|reset]]&lt;br /&gt;
|Resets class properties to the defaults set in the class definition.&lt;br /&gt;
|-&lt;br /&gt;
|[[/save|save]]&lt;br /&gt;
|Provides a shortcut to binding, checking and storing a '''JTable''' instance to the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[/store|store]]&lt;br /&gt;
|Stores a row in the database from the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[/toXML|toXML]]&lt;br /&gt;
|Exports the '''JTable''' instance properties to an XML string.&lt;br /&gt;
|}&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( 'joomla.database.table' );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Die JTable Klasse für neue Tabellen erweitern==&lt;br /&gt;
Die JTable Klasse kann leicht erweitert werden, um jede Tabelle Ihrer Datenbank darzustellen.&lt;br /&gt;
{{siehe auch|[[/Beispiele|Die JTable Klasse erweitern]]}}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Table/JTable.html JTable on api.joomla.org]&lt;br /&gt;
* [[How to use the database classes in your script]]&lt;br /&gt;
* [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface]]&lt;br /&gt;
* [[How to connect to an external database]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JDatabaseQuery</id>
		<title>JDatabaseQuery</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JDatabaseQuery"/>
				<updated>2012-04-14T11:25:27Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: /* = Verketten */  Überschrift angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Beschreibung==&lt;br /&gt;
'''JDatabaseQuery''' vereinfacht des Erstellen von Datenbankqueries mit einer speziell dafür ausgelegten Klasse.&lt;br /&gt;
&lt;br /&gt;
==Definiert in==&lt;br /&gt;
{{folder|/libraries/joomla}}&lt;br /&gt;
*{{folder|database|red}}&lt;br /&gt;
**{{file|databasequery.php|php}}&lt;br /&gt;
&lt;br /&gt;
==Status==&lt;br /&gt;
* '''@since'''		{{JVer|1.6}}&lt;br /&gt;
&lt;br /&gt;
==Importieren==&lt;br /&gt;
Die Klasse muss nicht importiert werden, sondern kann einfach über die [[JDatabase]] Klasse bezogen werden.&lt;br /&gt;
&lt;br /&gt;
==Erweitert==&lt;br /&gt;
* Keine&lt;br /&gt;
&lt;br /&gt;
==Wird erweitert von==&lt;br /&gt;
* Keine&lt;br /&gt;
&lt;br /&gt;
==Methoden==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Name&lt;br /&gt;
!Beschreibung&lt;br /&gt;
|-&lt;br /&gt;
| [[/clear|clear]]&lt;br /&gt;
| Setzt das gesamte Queryobjekt oder einen bestimmten Teil von ihm zurück.&lt;br /&gt;
|-&lt;br /&gt;
| [[/select|select]]&lt;br /&gt;
| Setzt eine einzelne oder mehrere [http://dev.mysql.com/doc/refman/5.1/de/select.html SELECT-Anweisung] des Queries.&lt;br /&gt;
|-&lt;br /&gt;
| [[/delete|delete]]&lt;br /&gt;
| Setzt die [http://dev.mysql.com/doc/refman/5.1/de/delete.html DELETE-Anweisung] des Queries.&lt;br /&gt;
|-&lt;br /&gt;
| [[/insert|insert]]&lt;br /&gt;
| Setzt die [http://dev.mysql.com/doc/refman/5.1/de/insert.html INSERT-Anweisung] des Queries.&lt;br /&gt;
|-&lt;br /&gt;
| [[/update|update]]&lt;br /&gt;
| Setzt die [http://dev.mysql.com/doc/refman/5.1/de/update.html UPDATE-Anweisung] des Queries.&lt;br /&gt;
|-&lt;br /&gt;
| [[/from|from]]&lt;br /&gt;
| Bestimmt eine oder mehrere Tabellen auf denen der Query ausgeführt werden soll.&lt;br /&gt;
|-&lt;br /&gt;
| [[/join|join]]&lt;br /&gt;
| Setzt einen [http://dev.mysql.com/doc/refman/5.0/en/join.html SQL JOIN] in dem Objekt.&lt;br /&gt;
|-&lt;br /&gt;
| [[/innerJoin|innerJoin]]&lt;br /&gt;
| Vereinfacht den Aufruf von [[/join|JDatabaseQuery/join]].&lt;br /&gt;
|-&lt;br /&gt;
| [[/outerJoin|outerJoin]]&lt;br /&gt;
| Vereinfacht den Aufruf von [[/join|JDatabaseQuery/join]].&lt;br /&gt;
|-&lt;br /&gt;
| [[/leftJoin|leftJoin]]&lt;br /&gt;
| Vereinfacht den Aufruf von [[/join|JDatabaseQuery/join]].&lt;br /&gt;
|-&lt;br /&gt;
| [[/rightJoin|rightJoin]]&lt;br /&gt;
| Vereinfacht den Aufruf von [[/join|JDatabaseQuery/join]].&lt;br /&gt;
|-&lt;br /&gt;
| [[/set|set]]&lt;br /&gt;
|{{@todo|beschreibung}}&lt;br /&gt;
|-&lt;br /&gt;
| [[/where|where]]&lt;br /&gt;
|{{@todo|beschreibung}}&lt;br /&gt;
|-&lt;br /&gt;
| [[/group|group]]&lt;br /&gt;
|{{@todo|beschreibung}}&lt;br /&gt;
|-&lt;br /&gt;
| [[/having|having]]&lt;br /&gt;
|{{@todo|beschreibung}}&lt;br /&gt;
|-&lt;br /&gt;
| [[/order|order]]&lt;br /&gt;
|{{@todo|beschreibung}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Beispiele ==&lt;br /&gt;
&lt;br /&gt;
=== Objekt erzeugen ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$db = JFactory::getDbo();&lt;br /&gt;
&lt;br /&gt;
/* Ein (leeres) JDatabaseQuery Objekt beziehen.&lt;br /&gt;
Ohne Parameter wird das aktuelle Queryobjekt mit seinen Werten zurückgegeben */&lt;br /&gt;
$query = $db-&amp;gt;getQuery(true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Debuggen ===&lt;br /&gt;
Bei der Übergabe an an die Datenbank und generell bei der Umwandlung des Objekts in eine Zeichenkette wird automatisch die [http://www.php.net/manual/de/language.oop5.magic.php#language.oop5.magic.tostring magische __toString() Methode] aufgerufen. Dies lässt sich auch zum Debuggen der Queries nutzen.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$query-&amp;gt;from('#__tabelle AS t');&lt;br /&gt;
$query-&amp;gt;select('feld1 AS Feld');&lt;br /&gt;
$query-&amp;gt;select('feld2 AS Feld2');&lt;br /&gt;
$query-&amp;gt;where('id = '.(int)$id);&lt;br /&gt;
$query-&amp;gt;where('title = '.$db-&amp;gt;quote('Der Titel'));&lt;br /&gt;
&lt;br /&gt;
echo '&amp;lt;pre&amp;gt;'.$query.'&amp;lt;/pre&amp;gt;';&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Ausgabe:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SELECT t.feld1 AS Feld,t.feld2 AS Feld2&lt;br /&gt;
FROM #__tabelle AS t&lt;br /&gt;
WHERE t.id = 4711 AND t.title = 'Der Titel'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Verketten ===&lt;br /&gt;
Da die Methoden von JDatabaseQuery immer 'sich selbst' zurück geben, kann man diese Methoden auch [http://www.php.de/wiki-php/index.php/Method_chaining verketten].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$query-&amp;gt;select('t.feld1')-&amp;gt;from('#__tabelle AS t');&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bei längeren Queries kann man diese auch zur besseren Übersicht auf mehrere Zeilen verteilen.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$query&lt;br /&gt;
   -&amp;gt;from('#__tabelle AS t')&lt;br /&gt;
   -&amp;gt;select('t.feld1 AS Feld')&lt;br /&gt;
   -&amp;gt;select('t.feld2 AS Feld2')&lt;br /&gt;
   -&amp;gt;where('t.id = '.(int)$id)&lt;br /&gt;
   -&amp;gt;where('t.title = '.$db-&amp;gt;quote('Der Titel'));&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Siehe auch==&lt;br /&gt;
* {{@todo|404}}&amp;lt;tt&amp;gt;]h_ttp://api.joomla.org/Joomla-Framework/Database/JDatabaseQuery.html JDatabaseQuery]&amp;lt;/tt&amp;gt; auf api.joomla.org&lt;br /&gt;
[[JDatabase/getQuery|JDatabase::getQuery]]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Experten]]&lt;br /&gt;
[[Kategorie:Joomla! Programmierung]]&lt;br /&gt;
[[Kategorie:Framework]]&lt;br /&gt;
[[Kategorie:JDatabaseQuery]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/save</id>
		<title>Joomla! Programmierung/Framework/JTable/save</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/save"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/save“ nach „JTable/save“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/save]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/reorder</id>
		<title>Joomla! Programmierung/Framework/JTable/reorder</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/reorder"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/reorder“ nach „JTable/reorder“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/reorder]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/move</id>
		<title>Joomla! Programmierung/Framework/JTable/move</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/move"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/move“ nach „JTable/move“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/move]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/load</id>
		<title>Joomla! Programmierung/Framework/JTable/load</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/load"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/load“ nach „JTable/load“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/load]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/bind</id>
		<title>Joomla! Programmierung/Framework/JTable/bind</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/bind"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/bind“ nach „JTable/bind“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/bind]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/addIncludePath</id>
		<title>Joomla! Programmierung/Framework/JTable/addIncludePath</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/addIncludePath"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/addIncludePath“ nach „JTable/addIncludePath“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/addIncludePath]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/Beispiele</id>
		<title>Joomla! Programmierung/Framework/JTable/Beispiele</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable/Beispiele"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/Beispiele“ nach „JTable/Beispiele“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable/Beispiele]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable</id>
		<title>Joomla! Programmierung/Framework/JTable</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/Joomla!_Programmierung/Framework/JTable"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable“ nach „JTable“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#WEITERLEITUNG [[JTable]]&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/Beispiele</id>
		<title>JTable/Beispiele</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/Beispiele"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/Beispiele“ nach „JTable/Beispiele“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{@todo|übersetzen}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
== Writing an extension of JTable ==&lt;br /&gt;
&lt;br /&gt;
The JTable class is an implementation of the [http://en.wikipedia.org/wiki/Active_record_pattern Active Record] design pattern. It is used throughout Joomla! for [http://en.wikipedia.org/wiki/Create,_read,_update_and_delete creating, reading, updating, and deleting] records in the database table.&lt;br /&gt;
&lt;br /&gt;
To use JTable, create an extension of the class. In this example, we have a database table containing recipes.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
defined('_JEXEC') or die();&lt;br /&gt;
&lt;br /&gt;
class TableRecipes extends JTable&lt;br /&gt;
{&lt;br /&gt;
	var $id = null;&lt;br /&gt;
	var $ingredients = null;&lt;br /&gt;
	var $instructions = null;&lt;br /&gt;
	var $serves = null;&lt;br /&gt;
	var $difficulty = null;&lt;br /&gt;
	var $prep_time = null;&lt;br /&gt;
	var $cook_time = null;&lt;br /&gt;
	var $published = 0;&lt;br /&gt;
	&lt;br /&gt;
	function __construct(&amp;amp;$db)&lt;br /&gt;
	{&lt;br /&gt;
		parent::__construct( '#__recipes', 'id', $db );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When naming your class extension, the convention is to prefix it with 'Table', then follow with a [http://en.wikipedia.org/wiki/CamelCase CamelCased] version of the table's name. All of the member variables of your class should match the column names in the database. The default values should be valid according to the table schema For instance, if you have columns that are NOT NULL, you must use a value other than 'null' as the default.&lt;br /&gt;
&lt;br /&gt;
Finally,  create a constructor for the class that accepts a reference to the current database instance. This will call the parent constructor which needs the name of the table, the name of the primary key column, and the database instance. The name of the table uses #__ instead of jos_, as the administrator can pick any table prefix desired during Joomla! installation.&lt;br /&gt;
&lt;br /&gt;
If you were using this class as a part of a component called 'Recipes', you would place this code in the file /administrator/components/com_recipes/tables/recipes.php.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using a JTable class extension ==&lt;br /&gt;
&lt;br /&gt;
Once the table class is in place, you can use it in any Joomla! extension. To include the file, place this line in your extension's source code (use com_nameofyourcomponent in place of com_recipes):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_recipes'.DS.'tables');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get an instance of the object, use this code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$row =&amp;amp; JTable::getInstance('recipes', 'Table');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that the lowercase version of the suffix of your class name is used as the first parameter, with the prefix 'Table' as the second. Also, the getInstance() member function of JTable returns the object by reference instead of value; use =&amp;amp; to enforce this. &lt;br /&gt;
&lt;br /&gt;
In a model class (extends JModel) you can also use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$row =&amp;amp; $this-&amp;gt;getTable('recipes');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that if you have not used the standard naming convention, you can supply the class prefix as the optional second parameter.&lt;br /&gt;
&lt;br /&gt;
=== Create/Update ===&lt;br /&gt;
In a typical situation, you will have an HTML form submitted by the user which will PHP will interpret for you as an associative array. The JRequest class in Joomla! has functions ready to assist with retrieving this data safely. Use JRequest::get('post') to retrieve all of the elements in the HTTP POST request as a sanitized array.&lt;br /&gt;
&lt;br /&gt;
Once you have this array, you can pass it into the bind() method of JTable. Doing this will match the associated items of the array with member variables of the class. In the following example, the array is retrieved from JRequest::get('post') and immediately passed into bind(). &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (!$row-&amp;gt;bind( JRequest::get( 'post' ) )) {&lt;br /&gt;
	return JError::raiseWarning( 500, $row-&amp;gt;getError() );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If bind() fails, you want to stop the application and explain the failure before your extension attempts to send the data. The raiseWarning() function of JError allows you to stop Joomla!, while the getError() function returns the error message stored in the JTable object.&lt;br /&gt;
&lt;br /&gt;
When binding succeeds and your object is ready, call the store() function. Again, if something goes wrong, stop the application and explain why.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if (!$row-&amp;gt;store()) {&lt;br /&gt;
	JError::raiseError(500, $row-&amp;gt;getError() );&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
* If any member variables of your JTable object are null when store() is called, they are ignored by default. This allows you to update specific columns of your table, while leaving the others untouched. If you wish to override this behavior to ensure that all columns have a value, pass true into store().&lt;br /&gt;
* The JTable::bind() and JRequest::get() functions do not enforce data types. If you need a column to be a specific type (for instance, integer), you need to add this logic to your code before calling store().&lt;br /&gt;
&lt;br /&gt;
=== Read ===&lt;br /&gt;
To load a specific row of the database with JTable, pass the key into the load() member function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$row-&amp;gt;load( $id );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This relies on the key column you specified in the second parameter of parent::__construct() when you extended JTable.&lt;br /&gt;
&lt;br /&gt;
=== Delete ===&lt;br /&gt;
Like read(), delete() allows you to destroy a specific row in the table based on the key specified earlier.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$row-&amp;gt;delete( $id );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to delete multiple rows at once, you will need to write the query manually.&lt;br /&gt;
&lt;br /&gt;
== Member Functions ==&lt;br /&gt;
{{jfr summary|class=JTable|methods=yes}}&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
When properly extended, JTable gives you all of the basic functions you need for managing and retrieving records in a database table. Member functions take care of the rest when you add member variables, the table name, and the key column.&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/addIncludePath</id>
		<title>JTable/addIncludePath</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/addIncludePath"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/addIncludePath“ nach „JTable/addIncludePath“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Adds a filesystem path where [[JTable]] should search for table class files.  You may either pass a string or an array of paths.  Duplicate paths are ignored.  Paths are added to the front of the array so that custom paths are searched first.&lt;br /&gt;
&lt;br /&gt;
Returns the array of paths.  Call addIncludePath with a null argument to get the current path array.&lt;br /&gt;
===Syntax===&lt;br /&gt;
array addIncludePath( $path )&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$path&lt;br /&gt;
|string or array&lt;br /&gt;
|A filesystem path or array of filesystem paths to add.&lt;br /&gt;
|'''null'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Example required.&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Table/JTable.html#addIncludePath JTable-&amp;gt;addIncludePath on api.joomla.org]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/save</id>
		<title>JTable/save</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/save"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/save“ nach „JTable/save“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{@todo}}&lt;br /&gt;
===Syntax===&lt;br /&gt;
''boolean'' &amp;lt;nowiki&amp;gt; save  ($source, $order_filter='', $ignore='')&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$source&lt;br /&gt;
|array&lt;br /&gt;
|Source array for binding to class vars. See [[JTable/bind]].&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|$order_filter&lt;br /&gt;
|string&lt;br /&gt;
|Filter for the order updating. See [[JTable/reorder]]&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;''&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$ignore&lt;br /&gt;
|mixed&lt;br /&gt;
|An array or space separated list of fields not to bind. See [[JTable/bind]].&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;''&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
TRUE if completely successful, FALSE if partially or not succesful.&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
JTable::save() - Combines several methods of the JTable Class.&lt;br /&gt;
# Triggers the bind() method of the object, and binds the &amp;lt;code&amp;gt; $source &amp;lt;/code&amp;gt; array to the object. See [[JTable/bind]]&lt;br /&gt;
# Triggers the check() method of the object, and checks if all properties which have been previously been bound to the object are valid. See [[JTable/check]]&lt;br /&gt;
# Triggers the store() method of  the object, and updates the row defined by the table key, or inserts a new record if the value of the table key equals 0. See [[JTable/store]]&lt;br /&gt;
# Triggers the checkin() method of the object (only if the table has the columns &amp;lt;code&amp;gt; checked_out &amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt; checked_out_time &amp;lt;/code&amp;gt;). See [[JTable/checkin]]&lt;br /&gt;
# If the &amp;lt;code&amp;gt;$order_filter&amp;lt;/code&amp;gt; parameter is set, the reorder() method is triggered, compacting the ordering sequence of the selected records. The parameter &amp;lt;code&amp;gt;$order_filter&amp;lt;/code&amp;gt; is used to create the &amp;lt;code&amp;gt; $where &amp;lt;/code&amp;gt; parameter for the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;JTable::reorder($where='')&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; method. See [[JTable/reorder]]&lt;br /&gt;
=== Preconditions ===&lt;br /&gt;
JTable is an abstract class. You need to write a child class, to use its functionality. See [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface#Creating the Table Class | Part 4 of the MVC Tutorial]]&lt;br /&gt;
&lt;br /&gt;
=== Source Code ===&lt;br /&gt;
In this particular case a look on the source code is much more self-explainatory than any example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function save( $source, $order_filter='', $ignore='' )&lt;br /&gt;
{&lt;br /&gt;
	if (!$this-&amp;gt;bind( $source, $ignore )) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;br /&gt;
	if (!$this-&amp;gt;check()) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;br /&gt;
	if (!$this-&amp;gt;store()) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;br /&gt;
	if (!$this-&amp;gt;checkin()) {&lt;br /&gt;
		return false;&lt;br /&gt;
	}&lt;br /&gt;
	if ($order_filter)&lt;br /&gt;
	{&lt;br /&gt;
		$filter_value = $this-&amp;gt;$order_filter;&lt;br /&gt;
		$this-&amp;gt;reorder( $order_filter ? $this-&amp;gt;_db-&amp;gt;nameQuote( $order_filter ).' = '.$this-&amp;gt;_db-&amp;gt;Quote( $filter_value ) : '' );&lt;br /&gt;
	}&lt;br /&gt;
	$this-&amp;gt;setError('');&lt;br /&gt;
	return true;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
==Quellcode==&lt;br /&gt;
&amp;lt;jcodedisplay&amp;gt;JTable/save&amp;lt;/jcodedisplay&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface#Creating the Table Class | Creating a JTable Child Class (MVC Tutorial Part 4)]]&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Table/JTable.html#save API Reference on JTable::save()]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/bind</id>
		<title>JTable/bind</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/bind"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/bind“ nach „JTable/bind“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Method to bind an associative array or object to the [[JTable]] instance.  This method only binds properties that are publicly accessible and optionally takes an array of properties to ignore when binding.  Binding is the process where values are copied into their equivalently named instance properties (see examples).&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
''boolean'' bind( $from, [$ignore = array()] )  &lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$from&lt;br /&gt;
|array or object&lt;br /&gt;
|An associative array or object to be bind to the [[JTable]] instance.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|$ignore&lt;br /&gt;
|array or string&lt;br /&gt;
|An optional array or space separated list of properties to ignore while binding.&lt;br /&gt;
|array()&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Returns '''true''' if bind was successful.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
In this example the class '''TableGreeting''' corresponds to a table called 'jos_greeting' in the Joomla database.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
class TableGreeting extends JTable&lt;br /&gt;
{&lt;br /&gt;
   var $id       = null;&lt;br /&gt;
   var $greeting = null;&lt;br /&gt;
   var $language = null;&lt;br /&gt;
   var $_code    = null;&lt;br /&gt;
&lt;br /&gt;
   function __construct( &amp;amp;$db )&lt;br /&gt;
   {&lt;br /&gt;
	parent::__construct( '#__greeting', 'id', $db );&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, in the model, create an array of fields/properties to be updated and bind it to the table object:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Create the array of new/amended fields/properties.&lt;br /&gt;
$from = array( 'id'        =&amp;gt; 6,&lt;br /&gt;
               'greeting'  =&amp;gt; 'Nǐ hǎo',&lt;br /&gt;
               'language'  =&amp;gt; 'Chinese',&lt;br /&gt;
               'continent' =&amp;gt; 'Asia'&lt;br /&gt;
               '_code'     =&amp;gt; 'ASC012'&lt;br /&gt;
             );&lt;br /&gt;
// Specify which columns are to be ignored. This can be a string or an array.&lt;br /&gt;
$ignore = 'id';&lt;br /&gt;
&lt;br /&gt;
// Get the table object from the model.&lt;br /&gt;
$table = $this-&amp;gt;getTable( 'greeting' );&lt;br /&gt;
&lt;br /&gt;
// Bind the array to the table object.&lt;br /&gt;
$table-&amp;gt;bind( $from, $ignore );&lt;br /&gt;
&lt;br /&gt;
// Show the result of the bind for illustration purposes only.&lt;br /&gt;
echo '&amp;lt;pre&amp;gt;';&lt;br /&gt;
print_r( $table );&lt;br /&gt;
echo '&amp;lt;/pre&amp;gt;';&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This would result in the following output:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
TableGreeting Object&lt;br /&gt;
(&lt;br /&gt;
    [id] =&amp;gt; &lt;br /&gt;
    [greeting] =&amp;gt; Nǐ hǎo&lt;br /&gt;
    [language] =&amp;gt; Chinese&lt;br /&gt;
    [_code] =&amp;gt;&lt;br /&gt;
)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Notice that&lt;br /&gt;
* the 'continent' array entry has not been bound to the table object, since 'continent' is not a property of the object.&lt;br /&gt;
* the 'id' array entry has not been bound to the table object either, since 'id' was on the ignore list.&lt;br /&gt;
* the '_code' array entry has not been bound to the table because it is a private property of the table object (its name begins with an underscore).&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Table/JTable.html#bind JTable-&amp;gt;addIncludePath on api.joomla.org]&lt;br /&gt;
* [[JTable/load|JTable-&amp;gt;load]]&lt;br /&gt;
* [[JTable/store|JTable-&amp;gt;store]]&lt;br /&gt;
* [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface#Creating the Table Class | Creating a JTable Child Class (MVC Tutorial Part 4)]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/load</id>
		<title>JTable/load</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/load"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/load“ nach „JTable/load“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{review}}&lt;br /&gt;
===Syntax===&lt;br /&gt;
''void''   load  ($oid = NULL) &lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$oid&lt;br /&gt;
|integer&lt;br /&gt;
|Optional primary key. If not specifed, the value of current key is used.&lt;br /&gt;
|''NULL''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
nothing&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
JTable::load() - Loads a row from the database and binds the fields to the object properties.&lt;br /&gt;
=== Preconditions ===&lt;br /&gt;
JTable is an abstract class. You need to write a child class, to use its functionality. See [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface#Creating the Table Class | Part 4 of the MVC Tutorial]]&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Let's say we have a table, that stores greetings of different languages:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!language&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|English&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|French&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|German&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If we'd like to load the record with the id #3, we can call the table object from within the model, and load the record:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$table = $this-&amp;gt;getTable('greeting');&lt;br /&gt;
$table-&amp;gt;load(3);&lt;br /&gt;
echo '&amp;lt;pre&amp;gt;';&lt;br /&gt;
print_r($table);&lt;br /&gt;
echo '&amp;lt;/pre&amp;gt;';&lt;br /&gt;
&lt;br /&gt;
/* RETURNS:&lt;br /&gt;
TableGreeting Object&lt;br /&gt;
(&lt;br /&gt;
    [id] =&amp;gt; 3&lt;br /&gt;
    [greeting] =&amp;gt; Guten Tag&lt;br /&gt;
    [language] =&amp;gt; German&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
*/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[JTable/bind]]&lt;br /&gt;
* [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface#Creating the Table Class | Creating a JTable Child Class (MVC Tutorial Part 4)]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/move</id>
		<title>JTable/move</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/move"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/move“ nach „JTable/move“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{review}}&lt;br /&gt;
===Syntax===&lt;br /&gt;
''void''   move  ($dirn, [$where = '']) &lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$dirn&lt;br /&gt;
|integer&lt;br /&gt;
|Direction to move the record. $dirn &amp;lt; 0 for up, $dirn &amp;gt; 0 for down.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|$where&lt;br /&gt;
|string&lt;br /&gt;
|Additional where query to limit ordering to a particular subset of records&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Returns ===&lt;br /&gt;
nothing&lt;br /&gt;
&lt;br /&gt;
=== Preconditions ===&lt;br /&gt;
Your database table must have a column named 'ordering'.&lt;br /&gt;
&lt;br /&gt;
=== What does the method do? ===&lt;br /&gt;
The goal of the method is to move a record of the table one step up, or one step down by switching the ordering values with the respective neighbour.&lt;br /&gt;
===Example===&lt;br /&gt;
Let's say we have the following database-table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|15&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Buenos Días&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Nǐ hǎo&lt;br /&gt;
|17&lt;br /&gt;
|}&lt;br /&gt;
We now want to move down the entry 'Hello' one step.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//We need an instance of the table object. In a controller or model we can do it like this...&lt;br /&gt;
$table = $this-&amp;gt;getTable('greeting');&lt;br /&gt;
//We need to load the 'Hello' entry into the table object. The id (which is the primary key of the table) of this entry is 1.&lt;br /&gt;
$table-&amp;gt;load(1);&lt;br /&gt;
//We now want to move the 'Hello' entry one step down. That means, the $dirn Parameter must be positive.&lt;br /&gt;
//We choose the value 1, but it could also be any other positive number&lt;br /&gt;
$table-&amp;gt;move(1);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The first thing the method does is to load the record which has the next higher ordering value. (If our $dirn paremeter would have been negative, it would have loaded the record with the next lower ordering value. In our case, this is the record with the id #4.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Buenos Días&lt;br /&gt;
|10&lt;br /&gt;
|}&lt;br /&gt;
The next (and last step) is that the method switches the ordering values of both records. &lt;br /&gt;
&lt;br /&gt;
'''Before:'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Buenos Días&lt;br /&gt;
|10&lt;br /&gt;
|}&lt;br /&gt;
'''After:'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Buenos Días&lt;br /&gt;
|5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the end the table looks like this:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|10&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|15&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|4&lt;br /&gt;
|Buenos Días&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|5&lt;br /&gt;
|Nǐ hǎo&lt;br /&gt;
|17&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[JTable/reorder]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable/reorder</id>
		<title>JTable/reorder</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable/reorder"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable/reorder“ nach „JTable/reorder“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{review}}&lt;br /&gt;
===Syntax===&lt;br /&gt;
''void''   reorder  ([string $where = ''])&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$where&lt;br /&gt;
|string&lt;br /&gt;
|Additional where query to limit ordering to a particular subset of records&lt;br /&gt;
|''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Preconditions ===&lt;br /&gt;
Your database table must have a column named 'ordering'.&lt;br /&gt;
&lt;br /&gt;
=== What does the method do? ===&lt;br /&gt;
The goal of the method is to compact the ordering sequence of the selected records. To do this, the method loads all records of the table (or just those that have been defined in the 'where'-clause. It then resets the ordering of all records in such a way that the ordering is continious.&lt;br /&gt;
===Example===&lt;br /&gt;
Let's say we have the following database-table:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|15&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|3&lt;br /&gt;
|}&lt;br /&gt;
We now want to compress the ordering of the table.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//We need an instance of the table object. In a controller or model we can do it like this...&lt;br /&gt;
$table = $this-&amp;gt;getTable('greeting');&lt;br /&gt;
//Let's compact the ordering sequence&lt;br /&gt;
$table-&amp;gt;reorder();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The first thing the method does is to load the table ordered by the current ordering:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|3&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|5&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|15&lt;br /&gt;
|}&lt;br /&gt;
The next (and last step) is that the method updates the ordering entries so it's a consecutive sequence:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!id&lt;br /&gt;
!greeting&lt;br /&gt;
!ordering&lt;br /&gt;
|-&lt;br /&gt;
|3&lt;br /&gt;
|Guten Tag&lt;br /&gt;
|1&lt;br /&gt;
|-&lt;br /&gt;
|1&lt;br /&gt;
|Hello&lt;br /&gt;
|2&lt;br /&gt;
|-&lt;br /&gt;
|2&lt;br /&gt;
|Bonjour&lt;br /&gt;
|3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[JTable/move]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	<entry>
		<id>http://www.joomla-wiki.de/dokumentation/JTable</id>
		<title>JTable</title>
		<link rel="alternate" type="text/html" href="http://www.joomla-wiki.de/dokumentation/JTable"/>
				<updated>2012-04-14T11:24:40Z</updated>
		
		<summary type="html">&lt;p&gt;Bembelimen: verschob „Joomla! Programmierung/Framework/JTable“ nach „JTable“: Struktur angepasst&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''JTable''' is an abstract class that forms the basis for all database table classes.  Some of the methods listed will be overridden by the child class so you should check the child class documentation for further information.&lt;br /&gt;
&lt;br /&gt;
Each physical database table created should have a corresponding class derived from '''JTable''' to represent it.  '''JTable''' provides many methods to make common manipulations to the table much simpler.  For example, one of the most common operations you will need to perform is to read a table row into memory given a value for the primary key.  This can be done easily using the [[JTable/load|load]] method.  The table row can then be just as easily updated using the [[JTable/save|save]] method, which also performs any predefined sanity checks on the table fields.&lt;br /&gt;
&lt;br /&gt;
===Defined in===&lt;br /&gt;
/joomla/database/table.php&lt;br /&gt;
&lt;br /&gt;
===Extends===&lt;br /&gt;
* [[JObject]]&lt;br /&gt;
&lt;br /&gt;
===Extended by===&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableARO|JTableARO]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableAROGroup|JTableAROGroup]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableAsset|JTableAsset]] (from 1.6)&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableCategory|JTableCategory]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableComponent|JTableComponent]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableContent|JTableContent]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableMenu|JTableMenu]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableMenuTypes|JTableMenuTypes]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableModule|JTableModule]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableNested|JTableNested]] (from 1.6)&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTablePlugin|JTablePlugin]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableSection|JTableSection]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableSession|JTableSession]]&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableTree|JTableTree]] (from 1.6)&lt;br /&gt;
* [[Joomla! Programmierung/Framework/JTableUser|JTableUser]]&lt;br /&gt;
&lt;br /&gt;
===Reserved Database Field Names===&lt;br /&gt;
Some of the optional features of JTable require the existence of specially-named fields in the database table.  If you require this additional functionality you should ensure that these named fields are present in the table.  These field names should be considered reserved as any attempts to use them for purposes other than those supported by JTable may result in conflict.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Field name&lt;br /&gt;
!Methods using the field name&lt;br /&gt;
|-&lt;br /&gt;
|checked_out&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/checkOut|checkOut]], [[Joomla! Programmierung/Framework/JTable/checkIn|checkIn]], [[Joomla! Programmierung/Framework/JTable/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|-&lt;br /&gt;
|checked_out_time&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/checkOut|checkOut]], [[Joomla! Programmierung/Framework/JTable/checkIn|checkIn]], [[Joomla! Programmierung/Framework/JTable/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|-&lt;br /&gt;
|hits&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/hit|hit]]&lt;br /&gt;
|-&lt;br /&gt;
|ordering&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getNextOrder|getNextOrder]], [[Joomla! Programmierung/Framework/JTable/reorder|reorder]], [[Joomla! Programmierung/Framework/JTable/move|move]]&lt;br /&gt;
|-&lt;br /&gt;
|published&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/publish|publish]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Check-in/check-out====&lt;br /&gt;
Joomla tables implement a simple mechanism for preventing a [[wikipedia:race condition|race condition]] while editing rows in a database.  This depends on the existence of database fields called &amp;quot;checked_out&amp;quot; and &amp;quot;checked_out_time&amp;quot; and if these fields are present '''JTable''' will automatically support this mechanism so that it can be easily used in your tables too.  In addition to the [[JTable/checkOut|checkOut]] and [[JTable/checkIn|checkIn]] methods, there is a [[JTable/isCheckedOut|isCheckedOut]] method to determine if a given table row is currently checked out by another user.&lt;br /&gt;
&lt;br /&gt;
====Hit counter====&lt;br /&gt;
Some Joomla tables contain a field called &amp;quot;hits&amp;quot; which records the number of times that a table row has been accessed.  '''JTable''' provides a simple method to increment this field: [[Joomla! Programmierung/Framework/JTable/hit|hit]].&lt;br /&gt;
&lt;br /&gt;
====Ordering====&lt;br /&gt;
Many Joomla tables support a user-defined ordering of the rows.&lt;br /&gt;
&lt;br /&gt;
To be written.&lt;br /&gt;
&lt;br /&gt;
====Publish/Unpublish====&lt;br /&gt;
To be written.&lt;br /&gt;
&lt;br /&gt;
===Get and Set Methods===&lt;br /&gt;
Properties which do not have specific get or set methods listed here can be retrieved or set using the inherited [[JObject/get|JObject-&amp;gt;get]] method.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Get method&lt;br /&gt;
!Set method&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getAssetNamePrefix|getAssetNamePrefix]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the name prefix to use for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getAssetSection|getAssetSection]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the access section name for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getAssetTitle|getAssetTitle]]&lt;br /&gt;
|&lt;br /&gt;
|Abstract method to return the title to use for the asset table.  From 1.6.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getDBO|getDBO]]&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/setDBO|setDBO]]&lt;br /&gt;
|Method to set/get the [[Joomla! Programmierung/Framework/JDatabase|JDatabase]] connector object associated with the table.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getTableName|getTableName]]&lt;br /&gt;
|&lt;br /&gt;
|Method to get the name of the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getKeyName|getTableKey]]&lt;br /&gt;
|&lt;br /&gt;
|Method to get the primary key field name for the table&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Other Methods===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Method name&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/__construct|construct]]&lt;br /&gt;
|Object constructor to set table and key field&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/addIncludePath|addIncludePath]]&lt;br /&gt;
|Add a filesystem path where '''JTable''' should search for table class files.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/bind|bind]]&lt;br /&gt;
|Binds an associative array or object to the '''JTable''' instance.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/canDelete|canDelete]]&lt;br /&gt;
|Checks whether dependencies exist for this object in the database schema.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/check|check]]&lt;br /&gt;
|Perform sanity checks on the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/checkin|checkin]]&lt;br /&gt;
|Checks a row in if the necessary instance properties and table fields exist.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/checkout|checkout]]&lt;br /&gt;
|Checks a row out if the necessary instance properties and table fields exist.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/delete|delete]]&lt;br /&gt;
|Deletes a row from the database table by primary key value.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getInstance|getInstance]]&lt;br /&gt;
|Static method to get an instance of a '''JTable''' class.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/getNextOrder|getNextOrder]]&lt;br /&gt;
|Gets the next ordering value for a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/hit|hit]]&lt;br /&gt;
|Increments the hits for a row if the necessary instance property and table field exists.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/isCheckedOut|isCheckedOut]]&lt;br /&gt;
|Determines if a row is checked out and therefore un-editable by a user.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/load|load]]&lt;br /&gt;
|Loads a row from the database by primary key and binds the fields to the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/move|move]]&lt;br /&gt;
|Moves a row in the ordering sequence of a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/publish|publish]]&lt;br /&gt;
|Sets the publishing state for a row or list of rows in the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/reorder|reorder]]&lt;br /&gt;
|Compacts the ordering values of rows in a group of rows defined by an SQL WHERE clause.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/reset|reset]]&lt;br /&gt;
|Resets class properties to the defaults set in the class definition.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/save|save]]&lt;br /&gt;
|Provides a shortcut to binding, checking and storing a '''JTable''' instance to the database table.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/store|store]]&lt;br /&gt;
|Stores a row in the database from the '''JTable''' instance properties.&lt;br /&gt;
|-&lt;br /&gt;
|[[Joomla! Programmierung/Framework/JTable/toXML|toXML]]&lt;br /&gt;
|Exports the '''JTable''' instance properties to an XML string.&lt;br /&gt;
|}&lt;br /&gt;
===Importing===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;jimport( 'joomla.database.table' );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Die JTable Klasse für neue Tabellen erweitern==&lt;br /&gt;
Die JTable Klasse kann leicht erweitert werden, um jede Tabelle Ihrer Datenbank darzustellen.&lt;br /&gt;
{{siehe auch|[[Joomla!_Programmierung/Framework/JTable/Beispiele|Die JTable Klasse erweitern]]}}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Table/JTable.html JTable on api.joomla.org]&lt;br /&gt;
* [[How to use the database classes in your script]]&lt;br /&gt;
* [[Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface]]&lt;br /&gt;
* [[How to connect to an external database]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JTable]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bembelimen</name></author>	</entry>

	</feed>
