code/dataobjects/Block.php
/**
	 * Check if this block has been published.
	 * @return boolean True if this page has been published.
	 */
Check if this block has been published.
@return boolean True if this page has been published.
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();
	}
public function isPublishedNice ( ) { $ field = Boolean :: create ( 'isPublished' ) ; $ field -> setValue ( $ this -> isPublished ( ) ) ; return $ field -> Nice ( ) ; }
Check if this block has been published.
Check if this block has been published .