<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 02:06:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Nefarious Designs: Object-Oriented PHP Part 3: Taking Relationships Further]]></title>
      <guid>http://www.phpdeveloper.org/news/6111</guid>
      <link>http://www.phpdeveloper.org/news/6111</link>
      <description><![CDATA[<p>
Nefarious Designs has posted <a href="http://nefariousdesigns.co.uk/archive/2006/08/object-oriented-php-part-3-taking-relationships-further/">the next part</a> of their "Object-Oriented PHP" series today, the third part looking at how to take the relationships (discussed in <a href="http://www.phpdeveloper.org/news/6100">part two</a>) even further.
</p>
<blockquote>
In "<a href="http://nefariousdesigns.co.uk/archive/2006/08/object-oriented-php-part-1-definition/">Part 1: Definition</a>" we took a look at defining objects and classes in PHP. In "<a href="http://nefariousdesigns.co.uk/archive/2006/08/object-oriented-php-part-2-relationships/">Part 2: Relationships</a>" we looked at linking our objects and classes together. In part 3 I'm going to add to those relationships by looking at visibility, polymorphism and the scope resolution operator.
</blockquote>
<p>
He <a href="http://nefariousdesigns.co.uk/archive/2006/08/object-oriented-php-part-3-taking-relationships-further/">starts off with</a> a look at access modifiers (private, public, protected) on both attributes and methods. Next is a look at polymorphism with an example of using a getHTML function in both a base formElement class and the child class of textarea. He then talks about the scope resolution operator (::) and its use in parent/child relationships and in PHP5's scope.
</p>]]></description>
      <pubDate>Wed, 23 Aug 2006 06:33:31 -0500</pubDate>
    </item>
  </channel>
</rss>
