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

Class: ScriptReorganizer_Strategy

Source Location: /ScriptReorganizer-0.3.0/Strategy.php

Class Overview


Interface to be implemented by (reorganizer) strategies to apply


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 39]
Interface to be implemented by (reorganizer) strategies to apply

All strategies must follow the naming convention ScriptReorganizer_Strategy_<Strategy>.



[ Top ]


Method Detail

reformat   [line 50]

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.