Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DocFormater Class Reference

Public Member Functions

 __construct ()
 
 getReplacement ($part)
 
 replaceTypes ($str)
 
 replaceVariables ($str)
 
 replaceAll ($str)
 

Protected Member Functions

 getTypesRegex ()
 
 getVariablesRegex ()
 
 _replaceAll ($search, $replacement, $subject)
 

Protected Attributes

 $types = [ "boolean","string","int","mixed","array" ]
 
 $replacements = [ "types" => "<span style='font-weight:bold;color: green;'>$1</span>","variables" => "<span style='font-weight:bold;color: brown;'>$1</span>" ]
 

Detailed Description

Definition at line 17 of file DocFormater.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 21 of file DocFormater.php.

Member Function Documentation

◆ _replaceAll()

_replaceAll (   $search,
  $replacement,
  $subject 
)
protected

Definition at line 39 of file DocFormater.php.

◆ getReplacement()

getReplacement (   $part)

Definition at line 24 of file DocFormater.php.

◆ getTypesRegex()

getTypesRegex ( )
protected

Definition at line 28 of file DocFormater.php.

◆ getVariablesRegex()

getVariablesRegex ( )
protected

Definition at line 35 of file DocFormater.php.

◆ replaceAll()

replaceAll (   $str)

Definition at line 51 of file DocFormater.php.

◆ replaceTypes()

replaceTypes (   $str)

Definition at line 43 of file DocFormater.php.

◆ replaceVariables()

replaceVariables (   $str)

Definition at line 47 of file DocFormater.php.

Field Documentation

◆ $replacements

$replacements = [ "types" => "<span style='font-weight:bold;color: green;'>$1</span>","variables" => "<span style='font-weight:bold;color: brown;'>$1</span>" ]
protected

Definition at line 19 of file DocFormater.php.

◆ $types

$types = [ "boolean","string","int","mixed","array" ]
protected

Definition at line 18 of file DocFormater.php.


The documentation for this class was generated from the following file: