Update customize-cms-tree.md

This commit is contained in:
Stefan Neuser 2014-04-23 13:39:57 +02:00 committed by Simon Welsh
parent d7d7cf0280
commit d4ad902aaf

View File

@ -67,8 +67,8 @@ __Example: using a subclass__
// return either true or false
}
public function getStatusFlags(){
$flags = parent::getStatusFlags();
public function getStatusFlags($cached = true) {
$flags = parent::getStatusFlags($cached);
$flags['scheduledtopublish'] = "Scheduled To Publish";
return $flags;
}