Source of file BackgroundImagePosition.php
Size: 0,462 Bytes - Last Modified: 2021-12-23T10:42:24+00:00
/var/www/docs.ssmods.com/process/src/code/model/fieldtypes/BackgroundImagePosition.php
123456789101112131415161718192021222324252627282930 | <?php class BackgroundImagePosition extends Enum { public function __construct($name = null) { return parent::__construct( $name, $enum = 'center, top center, top right, right center, bottom right, bottom center, bottom left, left center, top left', $default = 'center' ); } public function AsClass() { return 'background-position-'.str_replace(' ', '-', $this->value); } } |