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

Source for file Strategy.php

Documentation is available at Strategy.php

  1. <?php
  2.  
  3. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  4.  
  5. /**
  6.  * ScriptReorganizer :: Strategy
  7.  *
  8.  * PHP version 5
  9.  *
  10.  * LICENSE: This library is free software; you can redistribute it and/or modify it
  11.  * under the terms of the GNU Lesser General Public License as published by the Free
  12.  * Software Foundation; either version 2.1 of the License, or (at your option) any
  13.  * later version.
  14.  *
  15.  * @category   Tools
  16.  * @package    ScriptReorganizer
  17.  * @author     Stefano F. Rausch <stefano@rausch-e.net>
  18.  * @copyright  2005 Stefano F. Rausch <stefano@rausch-e.net>
  19.  * @license    http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
  20.  * @version    SVN: $Id: Strategy.php 21 2005-09-26 15:55:48Z stefanorausch $
  21.  * @link       http://pear.php.net/package/ScriptReorganizer
  22.  * @filesource
  23.  */
  24.  
  25. /**
  26.  * Interface to be implemented by (reorganizer) strategies to apply
  27.  *
  28.  * All strategies must follow the naming convention
  29.  * <kbd>ScriptReorganizer_Strategy_<Strategy></kbd>.
  30.  *
  31.  * @category  Tools
  32.  * @package   ScriptReorganizer
  33.  * @author    Stefano F. Rausch <stefano@rausch-e.net>
  34.  * @copyright 2005 Stefano F. Rausch <stefano@rausch-e.net>
  35.  * @license   http://www.gnu.org/copyleft/lesser.html LGPL License 2.1
  36.  * @version   Release: @package_version@
  37.  * @link      http://pear.php.net/package/ScriptReorganizer
  38.  */
  39. {
  40.     // {{{ public function reformat( & $content, $eol )
  41.     
  42.     /**
  43.      * Performs the main reorganization of the script's content
  44.      *
  45.      * @param  string &$content a string representing the script's content
  46.      * @param  string $eol a string representing the EOL identifier to use
  47.      * @return string a string representing the reorganized content
  48.      */
  49.     public function reformat$content$eol );
  50.     
  51.     // }}}
  52. }
  53.  
  54. /*
  55.  * Local variables:
  56.  * tab-width: 4
  57.  * c-basic-offset: 4
  58.  * c-hanging-comment-ender-p: nil
  59.  * End:
  60.  */
  61.  
  62. ?>

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