<?xml version="1.0" encoding="iso8859-1"?>
<rss version="2.0">
<channel>
<title>AKSW - Projects/OntoWiki/CodingStyleGuide</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide</link>
<description>History/revisions of AKSW/Projects/OntoWiki/CodingStyleGuide</description>
<language>en-us</language>
<item>
<title>2008-01-22 13:35:42</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2008-01-22+13%3A35%3A42</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a name=".projects.ontowiki.codingstyleguide" href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2008-01-22+13%3A35%3A42">2008-01-22 13:35:42&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide">2008-01-22 15:20:34&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Deletions:&lt;/b>&lt;br />
&lt;div class="deletions">&lt;a name="h517-1">&lt;/a>&lt;h2>Header Comment Blocks&lt;/h2>
OntoWiki is&amp;nbsp;licensed under GPL, so&amp;nbsp;a GPL&amp;nbsp;header must go&amp;nbsp;into each file:&lt;br />
/*&lt;br />
 * afile.php&lt;br />
 * Encoding: utf-8&lt;br />
 * Copyright &amp;copy; 2007, Onto&amp;nbsp;Wiki project team&lt;br />
 * This file is&amp;nbsp;part of&amp;nbsp;Onto&amp;nbsp;Wiki.&lt;br />
 * Onto&amp;nbsp;Wiki is&amp;nbsp;free software; you&amp;nbsp;can redistribute it&amp;nbsp;and/or modify&lt;br />
 * it&amp;nbsp;under the&amp;nbsp;terms of&amp;nbsp;the GNU&amp;nbsp;General Public License as&amp;nbsp;published by&lt;br />
 * the&amp;nbsp;Free Software Foundation; either version 2 of&amp;nbsp;the License, or&lt;br />
 * (at your option) any&amp;nbsp;later version.&lt;br />
 * Onto&amp;nbsp;Wiki is&amp;nbsp;distributed in&amp;nbsp;the hope that it&amp;nbsp;will be&amp;nbsp;useful,&lt;br />
 * but&amp;nbsp;WITHOUT ANY&amp;nbsp;WARRANTY; without even the&amp;nbsp;implied warranty of&lt;br />
 * MERCHANTABILITY or&amp;nbsp;FITNESS FOR&amp;nbsp;A&amp;nbsp;PARTICULAR PURPOSE. See&amp;nbsp;the&lt;br />
 * GNU&amp;nbsp;General Public License for&amp;nbsp;more details.&lt;br />
 * You&amp;nbsp;should have received a&amp;nbsp;copy of&amp;nbsp;the GNU&amp;nbsp;General Public License&lt;br />
 * along with Onto&amp;nbsp;Wiki; if&amp;nbsp;not, write to&amp;nbsp;the Free Software&lt;br />
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA&amp;nbsp;021&lt;span class="nobr">10&amp;ndash;130&lt;/span>1  USA&lt;br />
&lt;ul>&lt;li> A&amp;nbsp;short description of&amp;nbsp;the file or&amp;nbsp;class.
&lt;/li>&lt;li>
&lt;/li>&lt;li> @package: Package&amp;nbsp;Name
&lt;/li>&lt;li> @author:  Author&amp;nbsp;Name
&lt;/li>&lt;li> @version: $Id$
&lt;/li>&lt;li>/&lt;/li>&lt;/ul>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2008-01-22 12:51:19</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2008-01-22+12%3A51%3A19</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2008-01-22+12%3A51%3A19">2008-01-22 12:51:19&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2008-01-22+13%3A35%3A42">2008-01-22 13:35:42&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;ul>&lt;li> Every class starts with the&amp;nbsp;&lt;tt>Erfurt&lt;/tt> prefix followed by&amp;nbsp;an underscore.
&lt;/li>&lt;li> The&amp;nbsp;second part of&amp;nbsp;the name is&amp;nbsp;the name of&amp;nbsp;the package the&amp;nbsp;class belongs to&amp;nbsp;(in this case &lt;tt>examplepackage&lt;/tt>).
&lt;/li>&lt;li> The&amp;nbsp;third part of&amp;nbsp;the name is&amp;nbsp;the real name of&amp;nbsp;your class (in this case &lt;tt>ExampleClass&lt;/tt>).
&lt;/li>&lt;li> The&amp;nbsp;name of&amp;nbsp;a class and&amp;nbsp;it's position in&amp;nbsp;the file system should directly adhere, i.e. for&amp;nbsp;the above example, the&amp;nbsp;corresponding class should be&amp;nbsp;located in&amp;nbsp;&lt;tt>Erfurt/ExamplePackage/ExampleClass.php&lt;/tt>.
&lt;/li>&lt;li> Each file correspondends to&amp;nbsp;exactly one&amp;nbsp;class.&lt;/li>&lt;/ul>&lt;a name="h517-1">&lt;/a>&lt;h2>Inline Documentation&lt;/h2>&lt;a name="h517-2">&lt;/a>&lt;h3>Classes&lt;/h3>
Every class should be&amp;nbsp;documented as&amp;nbsp;followed:&lt;br />
 * The&amp;nbsp;first sentence is&amp;nbsp;the short description followed by&amp;nbsp;a break.&lt;br />
 * The&amp;nbsp;second clause and&amp;nbsp;all following sentences are&amp;nbsp;for a&amp;nbsp;detailed description of&lt;br />
 * the&amp;nbsp;class. Feel free to&amp;nbsp;document your class and&amp;nbsp;the function of&amp;nbsp;it as&amp;nbsp;detailed as&amp;nbsp;&lt;br />
 * possible, such that other developers or&amp;nbsp;end-users have a&amp;nbsp;good basis. &lt;br />
 * @package examplepackage&lt;br />
 * @author Philipp Frischmuth &amp;lt;philipp@frischmuth24.de&amp;gt;&lt;br />
 * @author Maybe&amp;nbsp;Another&amp;nbsp;Author &amp;lt;with.another@email.address&amp;gt;&lt;br />
 * @copyright Copyright (c) &amp;lt;YEAR_OF_CREATION&amp;gt; &amp;ndash; &amp;lt;CURRENT_YEAR&amp;gt;, {@link &lt;a href="http://aksw.org" target="_blank" title="Outgoing link (in new window)" class="outerlink">&lt;img src="http://aksw.org/themes/aksw2007/icons/world_link.png" alt="" class="contexticon" />http://aksw.org&lt;/a> AKSW}&lt;br />
 * @license &lt;a href="http://opensource.org/licenses/gpl-license.php" target="_blank" title="Outgoing link (in new window)" class="outerlink">&lt;img src="http://aksw.org/themes/aksw2007/icons/world_link.png" alt="" class="contexticon" />http://opensource.org/licenses/gpl-license.php&lt;/a> GNU&amp;nbsp;General Public License (GPL)&lt;br />
 * @see &lt;a href="http://example.com/doc/ExternalLibraryClass.html" target="_blank" title="Outgoing link (in new window)" class="outerlink">&lt;img src="http://aksw.org/themes/aksw2007/icons/world_link.png" alt="" class="contexticon" />http://example.com/doc/ExternalLibraryClass.html&lt;/a>&lt;br />
 * @version $Id: $&lt;br />
class Erfurt_ExamplePackage_ExampleClass extends External&amp;nbsp;Library&amp;nbsp;Class {&lt;br />
// ..&lt;br />
Please note the&amp;nbsp;following:&lt;br />
&lt;ul>&lt;li> The&amp;nbsp;first sentence of&amp;nbsp;the comment is&amp;nbsp;always the&amp;nbsp;short description.
&lt;/li>&lt;li> Each following sentence belongs to&amp;nbsp;the detailed description of&amp;nbsp;the class. 
&lt;/li>&lt;li> Please insert an&amp;nbsp;empty line between short description and&amp;nbsp;detailed description and&amp;nbsp;between detailed description and&amp;nbsp;following tags.
&lt;/li>&lt;li> Always use&amp;nbsp;the &lt;tt>@package&lt;/tt> tag. In&amp;nbsp;case the&amp;nbsp;class belongs to&amp;nbsp;the default package use&amp;nbsp;&lt;tt>@package erfurt&lt;/tt>.
&lt;/li>&lt;li> Use&amp;nbsp;a&amp;nbsp;new &lt;tt>@author&lt;/tt> tag&amp;nbsp;for each author.
&lt;/li>&lt;li> Use&amp;nbsp;the &lt;tt>@copyright&lt;/tt> tag&amp;nbsp;as&amp;nbsp;above, but&amp;nbsp;just use&amp;nbsp;the current year in&amp;nbsp;case current year and&amp;nbsp;year of&amp;nbsp;creation are&amp;nbsp;equal.
&lt;/li>&lt;li> Always use&amp;nbsp;the &lt;tt>@license&lt;/tt> tag, for&amp;nbsp;we&amp;nbsp;do without the&amp;nbsp;GPL preamble.
&lt;/li>&lt;li> In&amp;nbsp;case your class extends or&amp;nbsp;implements a&amp;nbsp;unknown class (e.g. the&amp;nbsp;class/interface belongs to&amp;nbsp;an external library) use&amp;nbsp;the &lt;tt>@see&lt;/tt> tag&amp;nbsp;together with an&amp;nbsp;URL pointing to&amp;nbsp;the documentation of&amp;nbsp;that class or&amp;nbsp;interface.
&lt;/li>&lt;li> Use&amp;nbsp;the &lt;tt>@version&lt;/tt> tag&amp;nbsp;as&amp;nbsp;above, but&amp;nbsp;also set&amp;nbsp;the &lt;tt>svn:keywords&lt;/tt> property if&amp;nbsp;you are&amp;nbsp;adding a&amp;nbsp;new class: &lt;tt>svn propset svn:keywords Id&amp;nbsp;Erfurt&amp;nbsp;/&amp;nbsp;Example&amp;nbsp;Package&amp;nbsp;/&amp;nbsp;Example&amp;nbsp;Class.php&lt;/tt>&lt;/li>&lt;/ul>&lt;/div>&lt;br />
&lt;b>Deletions:&lt;/b>&lt;br />
&lt;div class="deletions">&lt;ul>&lt;li> Every class starts with the&amp;nbsp;&lt;tt>Erfurt&lt;/tt> prefix followed by&amp;nbsp;an underscore
&lt;/li>&lt;li> The&amp;nbsp;second part of&amp;nbsp;the name is&amp;nbsp;the name of&amp;nbsp;the package the&amp;nbsp;class belongs to&amp;nbsp;(in this case &lt;tt>examplepackage&lt;/tt>)
&lt;/li>&lt;li> The&amp;nbsp;third part of&amp;nbsp;the name is&amp;nbsp;the real name of&amp;nbsp;your class (in this case &lt;tt>ExampleClass&lt;/tt>)
&lt;/li>&lt;li> The&amp;nbsp;name of&amp;nbsp;a class and&amp;nbsp;it's position in&amp;nbsp;the file system should directly adhere, i.e. for&amp;nbsp;the above example, the&amp;nbsp;corresponding class should be&amp;nbsp;located in&amp;nbsp;&lt;tt>Erfurt/ExamplePackage/ExampleClass.php&lt;/tt>
&lt;/li>&lt;li> Each file correspondends to&amp;nbsp;exactly one&amp;nbsp;class&lt;/li>&lt;/ul>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-08-30 13:51:07</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-08-30+13%3A51%3A07</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-08-30+13%3A51%3A07">2007-08-30 13:51:07&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2008-01-22+12%3A51%3A19">2008-01-22 12:51:19&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;a name="h517-1">&lt;/a>&lt;h2>Class Naming&lt;/h2>
In&amp;nbsp;order to&amp;nbsp;make classes auto-loadable, please use&amp;nbsp;the following scheme for&amp;nbsp;class-names:&lt;br />
class Erfurt_ExamplePackage_ExampleClass {&lt;br />
// ...&lt;br />
&lt;ul>&lt;li> Every class starts with the&amp;nbsp;&lt;tt>Erfurt&lt;/tt> prefix followed by&amp;nbsp;an underscore
&lt;/li>&lt;li> The&amp;nbsp;second part of&amp;nbsp;the name is&amp;nbsp;the name of&amp;nbsp;the package the&amp;nbsp;class belongs to&amp;nbsp;(in this case &lt;tt>examplepackage&lt;/tt>)
&lt;/li>&lt;li> The&amp;nbsp;third part of&amp;nbsp;the name is&amp;nbsp;the real name of&amp;nbsp;your class (in this case &lt;tt>ExampleClass&lt;/tt>)&lt;/li>&lt;/ul>
Please also note the&amp;nbsp;following:&lt;br />
&lt;ul>&lt;li> The&amp;nbsp;name of&amp;nbsp;a class and&amp;nbsp;it's position in&amp;nbsp;the file system should directly adhere, i.e. for&amp;nbsp;the above example, the&amp;nbsp;corresponding class should be&amp;nbsp;located in&amp;nbsp;&lt;tt>Erfurt/ExamplePackage/ExampleClass.php&lt;/tt>
&lt;/li>&lt;li> In&amp;nbsp;case a&amp;nbsp;class should belong to&amp;nbsp;the default package (erfurt) the&amp;nbsp;class would be&amp;nbsp;named as&amp;nbsp;followed:&lt;/li>&lt;/ul>
class Erfurt_ExampleClass {&lt;br />
// ...&lt;br />
&lt;ul>&lt;li> Each file correspondends to&amp;nbsp;exactly one&amp;nbsp;class&lt;/li>&lt;/ul>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-08-30 13:50:46</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-08-30+13%3A50%3A46</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-08-30+13%3A50%3A46">2007-08-30 13:50:46&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-08-30+13%3A51%3A07">2007-08-30 13:51:07&lt;/a>&lt;/b>&lt;br />
&lt;br />
No differences.&lt;/div>
</description>
</item>
<item>
<title>2007-07-26 12:40:46</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-07-26+12%3A40%3A46</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+12%3A40%3A46">2007-07-26 12:40:46&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-08-30+13%3A50%3A46">2007-08-30 13:50:46&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;a name="h517-1">&lt;/a>&lt;h2>Operators&lt;/h2>
All&amp;nbsp;operators &lt;strong>have to&amp;nbsp;be surrounded with spaces&lt;/strong>.&lt;br />
$foo = $this-&amp;gt;getFooVar();&lt;br />
$bar = $this-&amp;gt;getBarVar() . ' appended to&amp;nbsp;bar';&lt;br />
for&amp;nbsp;($i = 0; $i &amp;lt; 100; ++$i) {&lt;br />
&lt;div class="indent">&lt;div class="indent">echo ($i + 7 % 3);&lt;/div>&lt;/div>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-07-26 12:40:27</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-07-26+12%3A40%3A27</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+12%3A40%3A27">2007-07-26 12:40:27&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+12%3A40%3A46">2007-07-26 12:40:46&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;div class="indent">&lt;div class="indent">// now&amp;nbsp;we&amp;nbsp;can safely assume an&amp;nbsp;array&lt;/div>&lt;/div>&lt;/div>&lt;br />
&lt;b>Deletions:&lt;/b>&lt;br />
&lt;div class="deletions">&lt;div class="indent">&lt;div class="indent">// now&amp;nbsp;we&amp;nbsp;can safely assue an&amp;nbsp;array&lt;/div>&lt;/div>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-07-26 00:30:23</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-07-26+00%3A30%3A23</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+00%3A30%3A23">2007-07-26 00:30:23&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+12%3A40%3A27">2007-07-26 12:40:27&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;div class="indent">&lt;div class="indent">// now&amp;nbsp;we&amp;nbsp;can safely assue an&amp;nbsp;array&lt;br />
foreach ($values as $val) {&lt;br />
&lt;div class="indent">&lt;div class="indent">// ...&lt;/div>&lt;/div>&lt;/div>&lt;/div>&lt;/div>&lt;br />
&lt;b>Deletions:&lt;/b>&lt;br />
&lt;div class="deletions">&lt;div class="indent">&lt;div class="indent">// ...&lt;/div>&lt;/div>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-06-26 15:58:25</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-06-26+15%3A58%3A25</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-06-26+15%3A58%3A25">2007-06-26 15:58:25&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-07-26+00%3A30%3A23">2007-07-26 00:30:23&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">&lt;a name="h517-1">&lt;/a>&lt;h2>Type Hinting&lt;/h2>
You&amp;nbsp;are highly encouraged to&amp;nbsp;use &lt;a href="http://www.php.net/manual/en/language.oop5.typehinting.php" target="_blank" title="Outgoing link (in new window)" class="outerlink">&lt;img src="http://aksw.org/themes/aksw2007/icons/world_link.png" alt="" class="contexticon" />type hinting&lt;/a> that was&amp;nbsp;introduced with PHP&amp;nbsp;5. Type hinting allows you&amp;nbsp;to&amp;nbsp;request function parameters passed to&amp;nbsp;be of&amp;nbsp;a certain type. If&amp;nbsp;a wrong type is&amp;nbsp;passed, PHP&amp;nbsp;throws a&amp;nbsp;runtime error. Type hinting only works with objects or&amp;nbsp;arrays, i.e. you&amp;nbsp;can specify the&amp;nbsp;exact class name of&amp;nbsp;which passed objects need to&amp;nbsp;be an&amp;nbsp;instance or&amp;nbsp;you use&amp;nbsp;the type array.&lt;br />
public function myFunc(RDFSClass $class, array $values) {&lt;br />
&lt;div class="indent">&lt;div class="indent">// ...&lt;/div>&lt;/div>&lt;/div>&lt;/div>
</description>
</item>
<item>
<title>2007-06-26 15:57:49</title>
<link>http://aksw.org/Projects/OntoWiki/CodingStyleGuide/show?time=2007-06-26+15%3A57%3A49</link>
<description>&lt;div class="pageBefore">&lt;img src="http://aksw.org/images/z.gif" width="1" height="1" border="0" alt="" style="display:block" align="top" />&lt;/div>&lt;div class="page">
&lt;b>Comparison for &lt;a  href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide" class="">/Projects&amp;nbsp;/&amp;nbsp;Onto&amp;nbsp;Wiki&amp;nbsp;/&amp;nbsp;Coding&amp;nbsp;Style&amp;nbsp;Guide&lt;/a> of &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-06-26+15%3A57%3A49">2007-06-26 15:57:49&lt;/a> and &lt;a href="http://aksw.org/Projects/OntoWiki/CodingStyleGuide?time=2007-06-26+15%3A58%3A25">2007-06-26 15:58:25&lt;/a>&lt;/b>&lt;br />
&lt;br />
&lt;b>Additions:&lt;/b>&lt;br />
&lt;div class="additions">OntoWiki is&amp;nbsp;licensed under GPL, so&amp;nbsp;a GPL&amp;nbsp;header must go&amp;nbsp;into each file:&lt;/div>&lt;br />
&lt;b>Deletions:&lt;/b>&lt;br />
&lt;div class="deletions">Ontwo&amp;nbsp;Wiki is&amp;nbsp;licensed under GPL, so&amp;nbsp;a GPL&amp;nbsp;header must go&amp;nbsp;into each file:&lt;/div>&lt;/div>
</description>
</item>
</channel>
</rss>
