mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR SSF-65 fix a broken image link in the document file.
This commit is contained in:
parent
df389716df
commit
9e727533cf
@ -61,7 +61,7 @@ __Example: using a subclass__
|
||||
function getScheduledToPublish(){
|
||||
// return either true or false
|
||||
}
|
||||
|
||||
|
||||
function getStatusFlags(){
|
||||
$flags = parent::getStatusFlags();
|
||||
$flags['scheduledtopublish'] = "Scheduled To Publish";
|
||||
@ -71,6 +71,6 @@ __Example: using a subclass__
|
||||
|
||||
The above subclass of `[api:SiteTree]` will add a new flag for indicating its
|
||||
__'Scheduled To Publish'__ status. The look of the page node will be changed
|
||||
from  to . The getStatusFlags has an `updateStatusFlags()`
|
||||
from  to . The getStatusFlags has an `updateStatusFlags()`
|
||||
extension point, so the flags can be modified through `DataExtension` rather than
|
||||
inheritance as well. Deleting existing flags works by simply unsetting the array key.
|
Loading…
x
Reference in New Issue
Block a user