public function useLayout($flag = null) { if (is_bool($flag)) { $this->layoutFlag = $flag; } return $this->layoutFlag; }