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

Class: ScriptReorganizer_Strategy_Route

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

Class Overview


Basic strategy


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 46]
Basic strategy

Reorganizes scripts by replacing two or more consecutive blank lines with a single one.



[ Top ]


Method Detail

reformat   [line 57]

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.