private function getWidgetPath($widget, $moduleName = '', $isModule = false)
    {
        $modulePath = 'Views';
        if ($isModule) {
            $modulePath = $this->moduleDir.DS.$moduleName.DS.'Views';
        }

        return $this->paths['app.path'].DS.$modulePath.DS.$widget.'.view.php';
    }