v1.0.0
English

text_helper.php

system/Helpers/text_helper.php
20 fn
word_limiter (string $str, int $limit = 100, string $endChar = '…') function
character_limiter (string $string, int $limit = 500, string $endChar = '…') function
ascii_to_entities (string $str) function
entities_to_ascii (string $str, bool $all = true) function
word_censor (string $str, array $censored, string $replacement = '') function
highlight_code (string $str) function
highlight_phrase (string $str, string $phrase, string $tagOpen = '<mark>', string $tagClose = '</mark>') function
convert_accented_characters (string $str) function
word_wrap (string $str, int $charlim = 76) function
ellipsize (string $str, int $maxLength, $position = 1, string $ellipsis = '&hellip;') function
strip_slashes ($str) function
strip_quotes (string $str) function
quotes_to_entities (string $str) function
reduce_double_slashes (string $str) function
reduce_multiples (string $str, string $character = ',', bool $trim = false) function
random_string (string $type = 'alnum', int $len = 8) function
_from_random (int $length, string $pool) function
increment_string (string $str, string $separator = '_', int $first = 1) function
alternator (...$args) function
excerpt (string $text, ?string $phrase = null, int $radius = 100, string $ellipsis = '...') function
phpDG v1.0.0 text_helper.php 662 files 498 classes 763 fn
Generated