"Varchar", 'Title' => 'Varchar', 'Content' => 'HTMLText', ); private static $extensions = array( Versioned::class, ); private static $has_one = array( 'Parent' => TestObject::class, ); private static $has_many = array( 'Children' => TestObject::class, ); private static $many_many = array( 'Related' => RelatedWithoutversion::class, ); public function canView($member = null) { $extended = $this->extendedCan(__FUNCTION__, $member); if ($extended !== null) { return $extended; } return true; } }