/** * Check if this block has been published. * @return boolean True if this page has been published. */ public function isPublishedNice() { $field = Boolean::create('isPublished'); $field->setValue($this->isPublished()); return $field->Nice(); }
/** * ArticleIsPublished - flag for summary_fields * @return DBField **/ public function ArticleIsPublished() { $field = Boolean::create('IsPublished'); $field->setValue($this->isPublished()); return $field; }