'Text' ); /** * * @var array */ private static $has_one = array( 'Reviewer' => 'Member', 'SiteTree' => 'SiteTree' ); /** * * @var array */ private static $summary_fields = array( 'Note' => array('title' => 'Note'), 'Created' => array('title' => 'Reviewed at'), 'Reviewer.Title' => array('title' => 'Reviewed by') ); /** * * @var string */ private static $default_sort = 'Created DESC'; /** * * @return bool */ public function canView($member = null) { return (bool)Member::currentUser(); } }