Download the PHP package wernerkrauss/ss-stringfield-replace without Composer
On this page you can find all versions of the php package wernerkrauss/ss-stringfield-replace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wernerkrauss/ss-stringfield-replace
More information about wernerkrauss/ss-stringfield-replace
Files in wernerkrauss/ss-stringfield-replace
Download wernerkrauss/ss-stringfield-replace
More information about wernerkrauss/ss-stringfield-replace
Files in wernerkrauss/ss-stringfield-replace
Vendor wernerkrauss
Package ss-stringfield-replace
Short Description Extension for replacing symbols to html in DBString subclasses
License MIT
Package ss-stringfield-replace
Short Description Extension for replacing symbols to html in DBString subclasses
License MIT
Keywords silverstripe
Please rate this library. Is it a good library?
Informations about the package ss-stringfield-replace
README
This module provides a simple search/replace functionality for DBString derived fields (Text, HTMLText, Varchar) in Silverstripe CMS 4.
Requirements
- Silverstripe > 4
Installation
Install this package using composer
composer require wernerkrauss/ss-stringfield-replace ^0.1
Features:
You can define maps to replace in your text field. By default it replaces:
(c)
becomes©
(r)
becomes<sup>®</sup>
(tm)
becomes<sup>™</sup>
|
becomes<br>
This can be used in templates using the Replace
method, e.g.
Configuration
You can add your own replacements by modifying SilverStripe\ORM\FieldType\DBString.replacements
config
All versions of ss-stringfield-replace with dependencies
PHP Build Version
Package Version
Requires
silverstripe/framework Version
^4
The package wernerkrauss/ss-stringfield-replace contains the following files
Loading the files please wait ....