Function LangFilter_EN->filter_css

Definitions

sources/lang_filter_EN.php

  • Do a compile-time filter of the CSS code.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name string No No required parameter N/A N/A The name of the CSS file
$code string No No required parameter N/A N/A The CSS code

Returns

  • The filtered CSS code
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Do a compile-time filter of the CSS code.
 *
 * @param  string $name The name of the CSS file
 * @param  string $code The CSS code
 * @return string The filtered CSS code
 */

public function filter_css(string $name, string $code) : string