<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://methylbro.titaxium.org/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Méthylbro - Introduction à la POO avec PHP - Partie 4  - Commentaires</title>
  <link>http://methylbro.titaxium.org/</link>
  <atom:link href="http://methylbro.titaxium.org/feed/rss2/comments/57" rel="self" type="application/rss+xml"/>
  <description>Divide ut imperes</description>
  <language>fr</language>
  <pubDate>Wed, 12 Nov 2008 19:09:26 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
    
    <item>
    <title>Introduction à la POO avec PHP - Partie 4 - BipBip421</title>
    <link>http://methylbro.titaxium.org/post/2008/04/14/Introduction-a-la-POO-avec-PHP-Partie-4#c95</link>
    <guid isPermaLink="false">urn:md5:20d8079584f6a7b292dd803578aa9386</guid>
    <pubDate>Fri, 02 May 2008 00:16:17 +0200</pubDate>
    <dc:creator>BipBip421</dc:creator>
    
    <description>&lt;p&gt;reArg ! static ne doit pas être utilisé comme une variable globale ...&lt;/p&gt;


&lt;p&gt;Il vaut mieux définir une variable couleur que nous fixons dans le constructeur. Chaque stylo (instance de classe) a une couleur spécifique. Si l'on veut changer la couleur d'un stylo, on peut. Si on veut changer la couleur de tous les stylos, il faut faire appel à un vecteur (java) ou une collection (smalltalk) (en php, je ne sais pas comment ça se code) et appliquer la modification à tous les éléments du vecteur.&lt;/p&gt;


&lt;p&gt;En gros, un vecteur c'est un tableau qui se dimensionne automatiquement (pas besoin de fixer la taille).&lt;/p&gt;


&lt;p&gt;Bon courage à ceux qui veulent apprendre les notions d'objet ^^&lt;/p&gt;</description>
  </item>
      
</channel>
</rss>