Function __global->_webstandards_css_class

Definitions

sources/webstandards2.php

  • Checks a CSS class.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$data string No No required parameter N/A N/A The data of the CSS class
$_i integer No No required parameter N/A N/A Current parse position
$line integer No No 0 N/A N/A The higher-level line number we are checking for (to give better debug output)

Returns

  • Error information (null: no error)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Checks a CSS class.
 *
 * @param  string $data The data of the CSS class
 * @param  integer $_i Current parse position
 * @param  integer $line The higher-level line number we are checking for (to give better debug output)
 * @return ?array Error information (null: no error)
 */

function _webstandards_css_class(string $data, int $_i, int $line = 0) : ?array