Source of file SortableBlogCategory.php
Size: 0,391 Bytes - Last Modified: 2021-12-23T10:56:27+00:00
/var/www/docs.ssmods.com/process/src/code/SortableBlogCategory.php
123456789101112131415161718192021 | <?php /** * Adds a Sort column to the BlogCategory object, with a default sort * * @author Aaron Carlino <aaron@silverstripe.com> * @package unclecheese/blog-sortable-categories */ class SortableBlogCategory extends DataExtension { /** * @var array */ private static $db = array ( 'Sort' => 'Int' ); /** * @var string */ private static $default_sort = 'Sort ASC'; } |