Function __global->_check_css_value

Definitions

sources/webstandards2.php

  • Checks a CSS attribute/value combination is appropriate.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$key string No No required parameter N/A N/A The name of the attribute
$value string No No required parameter N/A N/A The value of the attribute
$_i integer No No required parameter N/A N/A Current parse position

Returns

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

Preview

Code (PHP)

/**
 * Checks a CSS attribute/value combination is appropriate.
 *
 * @param  string $key The name of the attribute
 * @param  string $value The value of the attribute
 * @param  integer $_i Current parse position
 * @return ?array Error information (null: no error)
 */

function _check_css_value(string $key, string $value, int $_i) : ?array