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

Class: ScriptReorganizer_Strategy_Quiet

Source Location: /ScriptReorganizer-0.3.0/Strategy/Quiet.php

Class Overview


Standard strategy


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 51]
Standard strategy

Reorganizes scripts by stripping off single and multiple line comments as well as by applying the Route strategy.



[ Top ]


Method Detail

__construct (Constructor)   [line 58]

ScriptReorganizer_Strategy_Quiet __construct( )

Constructor
  • Access: public

[ Top ]

reformat   [line 74]

string reformat( string &$content, string $eol)

Performs the main reorganization of the script's content
  • Return: a string representing the reorganized content
  • Access: public

Parameters:

string   &$content   —  a string representing the script's content
string   $eol   —  a string representing the EOL identifier to use

[ Top ]


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