protected function _getValueForBoolean($data = null, $returnTableRow = true) {
		$result = $this->ViewExtension->yesNo($data);
		if ($returnTableRow) {
			$result = [$result, ['class' => 'text-center']];
		}

		return $result;
	}
protected function _getValueForBoolean($data = null, $returnTableRow = true) {
		$result = $this->ViewExtension->yesNo($data);
		if ($returnTableRow) {
			$result = [$result, ['class' => 'text-center']];
		}

		return $result;
	}
protected function _getValueForBoolean ( $ data = null , $ returnTableRow = true ) { $ result = $ this -> ViewExtension -> yesNo ( $ data ) ; if ( $ returnTableRow ) { $ result = [ $ result , [ 'class' => 'text-center' ] ] ; } return $ result ; }
Return string state of data `Yes` or `No`

@param bool $data Data for checking
@param bool $returnTableRow If True, return result for row of table.
Otherwise, return as list item.
@return array|string If $returnTableRow is True, Return array of table cell.
Otherwise, return string.
Return string state of data Yes or No