pstaender/silverstripe-helper

Collection of string manipulation and controller helpers

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.0.1 2018-04-22 17:44 UTC

This package is auto-updated.

Last update: 2020-09-19 01:37:19 UTC


README

<?php
class DBStringExtension extends SilverStripe\ORM\DataExtension {

	private static $casting = [
	  "Markdown"               => "HTMLFragment",
	  "MarkdownLine"           => "HTMLFragment",
	];

	use PhilippStaender\SilverStripeHelper\Markdown;

}
<?php
\SilverStripe\ORM\FieldType\DBString::add_extension(DBStringExtension::class);