Ubiquity  2.0.3
php rapid development framework
DocFormater Class Reference

Public Member Functions

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

Data Fields

 variables =>"<span style='font-weight:bold;color: brown;'>$1</span>"]
 

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>"
 

Detailed Description

Definition at line 5 of file DocFormater.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 8 of file DocFormater.php.

Member Function Documentation

◆ _replaceAll()

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

Definition at line 25 of file DocFormater.php.

◆ getReplacement()

getReplacement (   $part)

Definition at line 12 of file DocFormater.php.

◆ getTypesRegex()

getTypesRegex ( )
protected

Definition at line 16 of file DocFormater.php.

◆ getVariablesRegex()

getVariablesRegex ( )
protected

Definition at line 21 of file DocFormater.php.

◆ replaceAll()

replaceAll (   $str)

Definition at line 37 of file DocFormater.php.

◆ replaceTypes()

replaceTypes (   $str)

Definition at line 29 of file DocFormater.php.

◆ replaceVariables()

replaceVariables (   $str)

Definition at line 33 of file DocFormater.php.

Field Documentation

◆ $replacements

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

Definition at line 7 of file DocFormater.php.

◆ $types

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

Definition at line 6 of file DocFormater.php.

◆ variables

variables =>"<span style='font-weight:bold;color: brown;'>$1</span>"]

Definition at line 7 of file DocFormater.php.


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