[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/ -> AkClassExtender.php (summary)

(no description)

File Size: 114 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AkClassExtender:: (6 methods):
  extendClassWithSource()
  _getExtensionFilePaths()
  _getExtensionSourceAndChecksum()
  extendClasses()
  makeClassExtensible()
  _canIncludeMergedFile()


Class: AkClassExtender  - X-Ref

@ WARNING too experimental. This is a proof of concept. Do not use it for production.

The AkClassExtender provides the means for extending core Akelos Framework
functionality by chaining multiple objects and creating an extended
composite class of the original.

It is a good practice maintaining the level of parents low when writing OO
code, but PHP classes are closed and do not allow runtime modification so
this method will allow others to write core extensions that modify the default
Akelos Framework behavior.

This technique requires that the participants of the class chain are not included yet
during execution, ass participants code will be joined, modified and cached for
including it as a single source file.


Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6