PHP Class Horde_Text_Filter_JavascriptMinify, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Deprecation: Use Horde_JavascriptMinify package instead.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Text_Filter_Base
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_params array Filter parameters.

Public Methods

Method Description
postProcess ( string $text ) : string Executes any code necessary after applying the filter patterns.

Protected Methods

Method Description
_runCompressor ( string $text, string $jar, string $args = '' ) : string Passes javascript through a java compressor (YUI or Closure).

Method Details

_runCompressor() protected method

Passes javascript through a java compressor (YUI or Closure).
protected _runCompressor ( string $text, string $jar, string $args = '' ) : string
$text string The javascript text.
$jar string The JAR location.
$args string Additional command line arguments.
return string The modified text.

postProcess() public method

Executes any code necessary after applying the filter patterns.
public postProcess ( string $text ) : string
$text string The text after the filtering.
return string The modified text.

Property Details

$_params protected_oe property

Filter parameters.
protected array $_params
return array