CodeIgniter - Basic Helper - Maintain by @nguyenanhung
GPL-3.0 License
Published by nguyenanhung almost 2 years ago
Published by nguyenanhung almost 2 years ago
blogspotDescSortWithPublishedTime
- Sắp xếp dữ liệu feed từ blogspot theo Published TimeblogspotUSort
- Sắp xếp dữ liệu feed từ blogspot theo USort và Published Time theo DESClog_to_sentry
- Logging lên Sentry thông qua Monolog HandlerFull Changelog: https://github.com/nguyenanhung/codeigniter-basic-helper/compare/v1.1.7.2...v1.1.7.3
Published by nguyenanhung almost 2 years ago
favicon_html_tag
- Hàm lấy ra đoạn HTML thể hiện Favicon dựa vào URL folder favicon đầu vàoFull Changelog: https://github.com/nguyenanhung/codeigniter-basic-helper/compare/v1.1.7.1...v1.1.7.2
Published by nguyenanhung almost 2 years ago
defaultCompressHtmlOutput
- Compress HTML output, default configureFull Changelog: https://github.com/nguyenanhung/codeigniter-basic-helper/compare/v1.1.7...v1.1.7.1
Published by nguyenanhung almost 2 years ago
Full Changelog: https://github.com/nguyenanhung/codeigniter-basic-helper/compare/v1.1.6.1...v1.1.7
xssValidation
to_array
- Converts a string or an object to an array.removeArrayElementWithValue
- Loại bỏ 1 giá trị trong array theo key và valuearrayRecursiveDiff
- Diff 2 array bằng đệ quyarrayIsAssoc
- Detects if the given value is an associative array.arrayFirstElement
- Returns the first element of an array.arrayLastElement
- Returns the last element of an array.arrayGetElement
- Gets a value in an array by dot notation for the keys.arraySetElement
- Sets a value in an array using the dot notation.scan_folder
- Quét và lấy ra danh sách các thông tin dữ liệu trong foldergetAllFileSizeInFolder
- Get all File size in FoldergetAllFileInFolder
- Get all File in FoldercountStringsInText
- Hàm đếm số từ trong đoạn văn bảnfindMiddleInString
- Hàm lấy chuỗi ở giữa chuỗi bắt đầu và chuỗi kết thúcstr_insert
- Inserts one or more strings into another string on a defined position.str_between
- Return the content in a string between a left and right element.str_after
- Return the part of a string after a given value.str_before
- Get the part of a string before a given value.str_limit_words
- Limit the number of words in a string. Put value of $end to the string end.str_limit_characters
- Limit the number of characters in a string. Put value of $end to the string end.str_contains
- Tests if a string contains a given elementstr_ignore_contains
- Tests if a string contains a given element. Ignore case sensitivity.str_starts_with
- Determine if a given string starts with a given substring.str_ignore_starts_with
- Determine if a given string starts with a given substring. Ignore case sensitivity.str_ends_with
- Determine if a given string ends with a given substring.str_ignore_ends_with
- Determine if a given string ends with a given substring. Ignore case sensitivity.str_after_last
- Return the part of a string after the last occurrence of a given search value.Published by nguyenanhung almost 2 years ago
Published by nguyenanhung almost 2 years ago
Published by nguyenanhung almost 2 years ago
Published by nguyenanhung almost 2 years ago
Published by nguyenanhung about 2 years ago
Published by nguyenanhung about 2 years ago
Published by nguyenanhung about 2 years ago
Published by nguyenanhung about 2 years ago
Published by nguyenanhung about 2 years ago
Published by nguyenanhung over 2 years ago
Published by nguyenanhung over 2 years ago
Published by nguyenanhung over 2 years ago
Published by nguyenanhung over 2 years ago
Published by nguyenanhung over 2 years ago
Published by nguyenanhung over 2 years ago
Phiên bản này bổ sung thêm 1 số helper mới
Full Changelog: https://github.com/nguyenanhung/codeigniter-basic-helper/compare/v1.1.1...v1.1.2