Elgg  Version 6.1
Public Member Functions | Static Public Member Functions | List of all members
CssCrush\StringObject Class Reference

Public Member Functions

 __construct ($str)
 
 __toString ()
 
 update ($str)
 
 substr ($start, $length=null)
 
 matchAll ($patt, $offset=0)
 
 replaceHash ($replacements)
 
 pregReplaceHash ($replacements)
 
 pregReplaceCallback ($patt, $callback)
 
 append ($append)
 
 prepend ($prepend)
 
 splice ($replacement, $offset, $length=null)
 
 trim ()
 
 rTrim ()
 
 lTrim ()
 
 restore ($types, $release=false, $callback=null)
 
 captureDirectives ($directive, $parse_options=[])
 

Static Public Member Functions

static endsWith ($haystack, $needle)
 

Detailed Description

Definition at line 11 of file StringObject.php.

Constructor & Destructor Documentation

CssCrush\StringObject::__construct (   $str)

Definition at line 13 of file StringObject.php.

Member Function Documentation

CssCrush\StringObject::__toString ( )

Definition at line 18 of file StringObject.php.

CssCrush\StringObject::append (   $append)

Definition at line 80 of file StringObject.php.

CssCrush\StringObject::captureDirectives (   $directive,
  $parse_options = [] 
)

Definition at line 123 of file StringObject.php.

static CssCrush\StringObject::endsWith (   $haystack,
  $needle 
)
static

Definition at line 23 of file StringObject.php.

CssCrush\StringObject::lTrim ( )

Definition at line 110 of file StringObject.php.

CssCrush\StringObject::matchAll (   $patt,
  $offset = 0 
)

Definition at line 47 of file StringObject.php.

CssCrush\StringObject::pregReplaceCallback (   $patt,
  $callback 
)

Definition at line 74 of file StringObject.php.

CssCrush\StringObject::pregReplaceHash (   $replacements)

Definition at line 63 of file StringObject.php.

CssCrush\StringObject::prepend (   $prepend)

Definition at line 86 of file StringObject.php.

CssCrush\StringObject::replaceHash (   $replacements)

Definition at line 52 of file StringObject.php.

CssCrush\StringObject::restore (   $types,
  $release = false,
  $callback = null 
)

Definition at line 116 of file StringObject.php.

CssCrush\StringObject::rTrim ( )

Definition at line 104 of file StringObject.php.

CssCrush\StringObject::splice (   $replacement,
  $offset,
  $length = null 
)

Definition at line 92 of file StringObject.php.

CssCrush\StringObject::substr (   $start,
  $length = null 
)

Definition at line 35 of file StringObject.php.

CssCrush\StringObject::trim ( )

Definition at line 98 of file StringObject.php.

CssCrush\StringObject::update (   $str)

Definition at line 28 of file StringObject.php.


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