public function layout() { if (empty($this->config['layout'])) { return 'Ip/Internal/Grid/view/layout.php'; } return $this->config['layout']; }