Class ScriptReorganizer_Type_Decorator_AddFooter

Description

Decorator for adding a footer to the script to reorganize

If the optional/overriding footer contains EOL control characters, these will be converted to the one being used in the main content during the optimization, if needed.

ANN: Decoration of a directly sequencing Pharize-Decorator is not allowed.

Located in /Type/Decorator/AddFooter.php (line 59)

ScriptReorganizer_Type
   |
   --ScriptReorganizer_Type_Decorator
      |
      --ScriptReorganizer_Type_Decorator_AddFooter
Method Summary
ScriptReorganizer_Type_Decorator_AddFooter __construct (ScriptReorganizer_Type $type, [string $footer = ''])
void reformat ([string $footer = null])
Methods
Constructor __construct (line 72)

Constructor

ScriptReorganizer_Type_Decorator_AddFooter __construct (ScriptReorganizer_Type $type, [string $footer = ''])
  • ScriptReorganizer_Type $type: a ScriptReorganizer_Type to decorate
  • string $footer: a string representing the (optional) default footer to append

Redefinition of:
ScriptReorganizer_Type_Decorator::__construct()
Constructor
reformat (line 100)

Reorganizes the script's content by applying the chosen Strategy

void reformat ([string $footer = null])
  • string $footer: a string representing the (optional) overriding footer to append

Redefinition of:
ScriptReorganizer_Type_Decorator::reformat()
Reorganizes the script's content by applying the chosen Strategy

Inherited Methods

Inherited From ScriptReorganizer_Type_Decorator

ScriptReorganizer_Type_Decorator::__construct()
ScriptReorganizer_Type_Decorator::load()
ScriptReorganizer_Type_Decorator::reformat()
ScriptReorganizer_Type_Decorator::save()
ScriptReorganizer_Type_Decorator::_getContent()
ScriptReorganizer_Type_Decorator::_setContent()
ScriptReorganizer_Type_Decorator::__destruct()

Inherited From ScriptReorganizer_Type

ScriptReorganizer_Type::__construct()
ScriptReorganizer_Type::getEolIdentifier()
ScriptReorganizer_Type::load()
ScriptReorganizer_Type::reformat()
ScriptReorganizer_Type::save()
ScriptReorganizer_Type::_getContent()
ScriptReorganizer_Type::_setContent()
ScriptReorganizer_Type::__destruct()

Documentation generated on Tue, 22 Nov 2005 01:57:04 +0100 by phpDocumentor 1.3.0RC3