Source of file StaffFolderController.php
Size: 0,646 Bytes - Last Modified: 2021-12-23T10:59:07+00:00
/var/www/docs.ssmods.com/process/src/code/StaffFolderController.php
12345678910111213141516171819202122232425262728293031 | <?php namespace WebOfTalent\Staff; use SilverStripe\Core\Convert; use PageController; class StaffFolderController extends PageController { private static $allowed_children = array('WebOfTalent\Staff\Staff'); public function StaffFolderCacheKey() { $start = isset($_GET['start']) ? (int) (Convert::raw2sql($_GET['start'])) : 0; return implode('_', array( 'StaffFolders', $this->Locale, $this->AllChildren()->max('LastEdited'), '_', $this->ID, '_', $this->LastEdited, '_', $start, )); } } |