mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged from trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@76205 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8b23541512
commit
99d132ff9b
@ -38,18 +38,15 @@ class Widget extends DataObject {
|
||||
}
|
||||
|
||||
function Title() {
|
||||
$instance = singleton($this->class);
|
||||
return $instance->uninherited('title', true);
|
||||
return Object::get_static($this->class, 'title');
|
||||
}
|
||||
|
||||
function CMSTitle() {
|
||||
$instance = singleton($this->class);
|
||||
return $instance->uninherited('cmsTitle', true);
|
||||
return Object::get_static($this->class, 'cmsTitle');
|
||||
}
|
||||
|
||||
function Description() {
|
||||
$instance = singleton($this->class);
|
||||
return $instance->uninherited('description', true);
|
||||
return Object::get_static($this->class, 'description');
|
||||
}
|
||||
|
||||
function DescriptionSegment() {
|
||||
|
Loading…
Reference in New Issue
Block a user