|
Open Journal Systems
3.3.0
|
Static Public Member Functions | |
| static | camelCase2Hyphen ($string) |
| static | capitalizeAll ($text) |
| static | capitalizeForTitle ($titleString) |
| static | checkLowerCaseString ($string) |
| static | checkUpperCaseString ($string) |
| static | clearApostrophes ($string) |
| static | implodeAndPreventConsecutiveChars ($delimiter, $arrayOfStrings) |
| static | initializeBySpaceOrHyphen ($string, $initializeSign) |
| static | isAsianString ($string) |
| static | isCyrillicString ($string) |
| static | isLatinString ($string) |
| static | keepLowerCase ($word) |
| static | mb_strrev ($string) |
| static | mb_ucfirst ($string, $encoding='UTF-8') |
| static | removeBrackets ($datePart) |
| static | replaceOuterQuotes ( $text, $outerOpenQuote, $outerCloseQuote, $innerOpenQuote, $innerCloseQuote) |
Data Fields | |
| const | ADJECTIVES |
| const | ADVERBS |
| const | ARTICLES |
| const | CLOSING_QUOTE = "”" |
| const | CONJUNCTIONS |
| const | ISO_ENCODINGS |
| const | OPENING_QUOTE = "“" |
| const | PREPOSITIONS |
Definition at line 22 of file StringHelper.php.
|
static |
| $string |
Definition at line 208 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelperTest\testCamelCase2Hyphen().
|
static |
| $text |
Definition at line 77 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Styles\applyTextCase().
|
static |
| $titleString |
Definition at line 92 of file StringHelper.php.
References Seboettg\CiteProc\Util\StringHelper\keepLowerCase(), and Seboettg\CiteProc\Util\StringHelper\mb_ucfirst().
Referenced by Seboettg\CiteProc\Styles\applyTextCase().
|
static |
| $string |
Definition at line 219 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelperTest\testCheckLowerCase().
|
static |
| $string |
Definition at line 228 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Styles\applyTextCase(), and Seboettg\CiteProc\Util\StringHelperTest\testCheckUpperCase().
|
static |
| $string |
Definition at line 237 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Rendering\Layout\render().
|
static |
| string | $delimiter | |
| string[] | $arrayOfStrings |
Definition at line 159 of file StringHelper.php.
References Seboettg\CiteProc\Util\StringHelper\mb_strrev().
Referenced by Seboettg\CiteProc\Rendering\Group\formatting().
|
static |
| $string | |
| $initializeSign |
Definition at line 180 of file StringHelper.php.
References Seboettg\CiteProc\CiteProc\getContext(), and Seboettg\CiteProc\Util\StringHelper\isLatinString().
|
static |
|
static |
| $string |
Definition at line 279 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelperTest\testIsCyrillicString().
|
static |
| $string |
Definition at line 269 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelper\initializeBySpaceOrHyphen(), and Seboettg\CiteProc\Util\StringHelperTest\testIsLatinString().
|
static |
| $word |
Definition at line 118 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelper\capitalizeForTitle().
|
static |
Definition at line 145 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelper\implodeAndPreventConsecutiveChars().
|
static |
| $string | ||
| string | $encoding |
Definition at line 133 of file StringHelper.php.
References Symfony\Polyfill\Mbstring\Mbstring\mb_detect_encoding(), and Symfony\Polyfill\Mbstring\Mbstring\mb_strtoupper().
Referenced by Seboettg\CiteProc\Styles\applyTextCase(), and Seboettg\CiteProc\Util\StringHelper\capitalizeForTitle().
|
static |
removes all kind of brackets from a given string
| $datePart |
Definition at line 298 of file StringHelper.php.
|
static |
replaces outer quotes of $text by given inner quotes
| $text | |
| $outerOpenQuote | |
| $outerCloseQuote | |
| $innerOpenQuote | |
| $innerCloseQuote |
Definition at line 252 of file StringHelper.php.
Referenced by Seboettg\CiteProc\Util\StringHelperTest\testReplaceOuterQuotes().
| const Seboettg\CiteProc\Util\StringHelper::ADJECTIVES |
Definition at line 41 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::ADVERBS |
Definition at line 33 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::ARTICLES |
Definition at line 29 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::CLOSING_QUOTE = "”" |
closing quote sign
Definition at line 71 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::CONJUNCTIONS |
Definition at line 37 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::ISO_ENCODINGS |
Definition at line 45 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::OPENING_QUOTE = "“" |
opening quote sign
Definition at line 66 of file StringHelper.php.
| const Seboettg\CiteProc\Util\StringHelper::PREPOSITIONS |
Definition at line 24 of file StringHelper.php.