Multiple source files for PHP 5 class

    Date: 12/26/07 (PHP Community)    Keywords: php

    I was wondering, is it possible for a single PHP class to reside in several source files?
    I mean, let's say I have a class named AClass, which has 2 public functions - one in the file AClass1.class.php, and one in the file AClass2.class.php. Is it feasible? I tried playing around with it, without much success.

    Thanks in advance.

    Source: http://community.livejournal.com/php/606000.html

« Developer-friendly Hosting? || $_SERVER['DOCUMENT_ROO... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home