Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:syntaxhighlight

SyntaxHighlight

Layer: Core · Source: lib/core/SyntaxHighlight.php:16 (lines 16–97)


class SyntaxHighlight

Generic Syntax Highlighting with Regular Expressions

Docblock Metadata

Tag Value
@category Core Class
@author Dominic Szablewski, @phoboslab on Thursday, August 2nd 2007
@see https://phoboslab.org/log/2007/08/generic-syntax-highlighting-with-regular-expressions

Inheritance

No parent, interface or trait. This is a root type.

Constants (0)

None.

Properties (0)

None declared.

Methods (2)

Visibility Method Summary Line
public static process() (undocumented) 18
private static replaceId() (undocumented) 87

process()

public static function process($s)

lines 18–81 (64)

Parameter Type Default Description
$s (untyped) required none

Returns: (none declared)

replaceId()

private static function replaceId(&$a, $match)

lines 87–96 (10)

Parameter Type Default Description
$a (by reference) (untyped) required none
$match (untyped) required none

Returns: (none declared)


This page is generated from source by 'tools/gendoc'. Edits will be overwritten.

scriptlog/lib/core/syntaxhighlight.txt · Last modified: by admin