ScriptReorganizer
[ class tree: ScriptReorganizer ] [ index: ScriptReorganizer ] [ all elements ]

Class: ScriptReorganizer_Factory

Source Location: /ScriptReorganizer-0.4.0/Factory.php

Class Overview


Factory/Facade for easy ScriptReorganizer_Type object creation


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 Stefano F. Rausch <stefano@rausch-e.net>

Methods


Inherited Variables

Inherited Methods


Class Details

[line 48]
Factory/Facade for easy ScriptReorganizer_Type object creation


[ Top ]


Method Detail

create   [line 73]

ScriptReorganizer_Type create( mixed $type, mixed $strategy, mixed $decorator)

Creates on object according to the specifications supplied classes-wise

The names of the classes declared - the last differentiating part - are case-sensitive. E.g., ScriptReorganizer_Type_Script has to be denoted as 'Script' - on Windows boxes the case does not matter.


Parameters:

mixed   $type   —  a string or an array representing the name of the ScriptReorganizer_Type to instantiate
mixed   $strategy   —  a string representing the name or an array representing the name and the optional argument of the ScriptReorganizer_Strategy to instantiate
mixed   $decorator   —  a variable-length argument list of strings representing the names and/or of arrays representing the names and the optional arguments of the ScriptReorganizer_Type_Decorators to instantiate

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:05:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.