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

Class: ScriptReorganizer_Type_Decorator_Bcompile

Source Location: /ScriptReorganizer-0.3.0/Type/Decorator/Bcompile.php

Class Overview

ScriptReorganizer_Type
   |
   --ScriptReorganizer_Type_Decorator
      |
      --ScriptReorganizer_Type_Decorator_Bcompile

Decorator/Adapter for encoding a PHP source file in byte-code


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods

Class: ScriptReorganizer_Type_Decorator

ScriptReorganizer_Type_Decorator::__construct()
Constructor
ScriptReorganizer_Type_Decorator::load()
Loads the script's content to be reorganized from disk
ScriptReorganizer_Type_Decorator::reformat()
Reorganizes the script's content by applying the chosen Strategy
ScriptReorganizer_Type_Decorator::save()
Saves the reorganized script's content to disk
ScriptReorganizer_Type_Decorator::_getContent()
Gets the script's content currently being reorganized
ScriptReorganizer_Type_Decorator::_setContent()
Sets the script's content currently being reorganized
ScriptReorganizer_Type_Decorator::__destruct()
Destructor

Class: ScriptReorganizer_Type

ScriptReorganizer_Type::__construct()
Constructor
ScriptReorganizer_Type::getEolIdentifier()
Detects the currently used end-of-line identifier
ScriptReorganizer_Type::load()
Loads the script's content to be reorganized from disk
ScriptReorganizer_Type::reformat()
Reorganizes the script's content by applying the chosen Strategy
ScriptReorganizer_Type::save()
Saves the reorganized script's content to disk
ScriptReorganizer_Type::_getContent()
Gets the script's content currently being reorganized
ScriptReorganizer_Type::_setContent()
Sets the script's content currently being reorganized
ScriptReorganizer_Type::__destruct()
Destructor

Class Details

[line 62]
Decorator/Adapter for encoding a PHP source file in byte-code

If a script or a library is bcompiled, a non-ScriptReorganized source code tree should be shipped together with the optimized one, to enable third parties to track down undiscoverd bugs.

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



[ Top ]


Method Detail

__construct (Constructor)   [line 73]

ScriptReorganizer_Type_Decorator_Bcompile __construct( ScriptReorganizer_Type $type)

Constructor

Overrides ScriptReorganizer_Type_Decorator::__construct() (Constructor)

Parameters:

ScriptReorganizer_Type   $type   —  a ScriptReorganizer_Type to decorate

[ Top ]

save   [line 111]

void save( string $file)

Saves the reorganized script's content as encoded byte-code to disk

Overrides ScriptReorganizer_Type_Decorator::save() (Saves the reorganized script's content to disk)

Parameters:

string   $file   —  a string representing the file's name to save

[ Top ]


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