home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / PHP / Beautifier / Batch / Output.php
Encoding:
PHP Script  |  2008-07-02  |  2.1 KB  |  69 lines

  1. <?php
  2. /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
  3. /**
  4.  * Abstract class to superclass all batch class
  5.  *
  6.  * PHP version 5
  7.  *
  8.  * LICENSE: This source file is subject to version 3.0 of the PHP license
  9.  * that is available through the world-wide-web at the following URI:
  10.  * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
  11.  * the PHP License and are unable to obtain it through the web, please
  12.  * send a note to license@php.net so we can mail you a copy immediately.
  13.  * @category   PHP
  14.  * @package PHP_Beautifier
  15.  * @subpackage Batch
  16.  * @author Claudio Bustos <cdx@users.sourceforge.com>
  17.  * @copyright  2004-2006 Claudio Bustos
  18.  * @link     http://pear.php.net/package/PHP_Beautifier
  19.  * @link     http://beautifyphp.sourceforge.net
  20.  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  21.  * @version    CVS: $Id:$
  22.  */
  23. /**
  24.  * Abstract class to superclass all batch class
  25.  *
  26.  * @category   PHP
  27.  * @package PHP_Beautifier
  28.  * @author Claudio Bustos <cdx@users.sourceforge.com>
  29.  * @copyright  2004-2006 Claudio Bustos
  30.  * @link     http://pear.php.net/package/PHP_Beautifier
  31.  * @link     http://beautifyphp.sourceforge.net
  32.  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  33.  * @version    Release: 0.1.14
  34.  */
  35. abstract class PHP_Beautifier_Batch_Output
  36. {
  37.     protected $oBatch;
  38.     public function __construct(PHP_Beautifier_Batch $oBatch)
  39.     {
  40.         $this->oBatch = $oBatch;
  41.     }
  42.     protected function beautifierSetInputFile($sFile)
  43.     {
  44.         return $this->oBatch->callBeautifier($this, 'setInputFile', array(
  45.             $sFile
  46.         ));
  47.     }
  48.     protected function beautifierProcess()
  49.     {
  50.         return $this->oBatch->callBeautifier($this, 'process');
  51.     }
  52.     protected function beautifierGet()
  53.     {
  54.         return $this->oBatch->callBeautifier($this, 'get');
  55.     }
  56.     protected function beautifierSave($sFile)
  57.     {
  58.         return $this->oBatch->callBeautifier($this, 'save', array(
  59.             $sFile
  60.         ));
  61.     }
  62.     public function get()
  63.     {
  64.     }
  65.     public function save()
  66.     {
  67.     }
  68. }
  69. ?>