Stud.IP  trunk Revision
SmileyFormat Class Reference
Inheritance diagram for SmileyFormat:
Inheritance graph
Collaboration diagram for SmileyFormat:
Collaboration graph

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from TextFormat
 __construct ($markup_rules=[])
 
 addMarkup ($name, $start, $end, $callback, $before=null)
 
 getMarkup ($name)
 
 removeMarkup ($name)
 
 format ($text)
 
 quote ($text)
 
 isInsideOf ($rule)
 

Static Public Member Functions

static smiley ($markup, $matches)
 
static short ($markup, $matches)
 

Data Fields

const REGEXP = '(>|^|\s):([_a-zA-Z][_a-z0-9A-Z-]*):(?=$|<|\s)'
 

Additional Inherited Members

- Protected Member Functions inherited from TextFormat
 formatParts ($text, &$parts, $open_rule=NULL)
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )
Here is the call graph for this function:

Member Function Documentation

◆ short()

static short (   $markup,
  $matches 
)
static

Smiley short notation as defined in database

Here is the call graph for this function:

◆ smiley()

static smiley (   $markup,
  $matches 
)
static

Smiley notation defined by name (:name:)

Here is the call graph for this function:

Field Documentation

◆ REGEXP

const REGEXP = '(>|^|\s):([_a-zA-Z][_a-z0-9A-Z-]*):(?=$|<|\s)'

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