private function isValidWidgetFile($widgetType)
    {
        //====================================================================//
        // Verify Local Path Exist
        if (false == $this->isValidLocalPath()) {
            return false;
        }
        //====================================================================//
        // Verify Object File Exist
        $filename = Splash::getLocalPath().'/Widgets/'.$widgetType.'.php';
        if (false == file_exists($filename)) {
            $msg = 'Local Widget File Not Found.</br>';
            $msg .= 'Current Filename : '.$filename.'';

            return Splash::log()->err($msg);
        }

        return true;
    }
private function isValidWidgetFile($widgetType)
    {
        //====================================================================//
        // Verify Local Path Exist
        if (false == $this->isValidLocalPath()) {
            return false;
        }
        //====================================================================//
        // Verify Object File Exist
        $filename = Splash::getLocalPath().'/Widgets/'.$widgetType.'.php';
        if (false == file_exists($filename)) {
            $msg = 'Local Widget File Not Found.</br>';
            $msg .= 'Current Filename : '.$filename.'';

            return Splash::log()->err($msg);
        }

        return true;
    }
private function isValidWidgetFile ( $ widgetType ) { //====================================================================// // Verify Local Path Exist if ( false == $ this -> isValidLocalPath ( ) ) { return false ; } //====================================================================// // Verify Object File Exist $ filename = Splash :: getLocalPath ( ) . '/Widgets/' . $ widgetType . '.php' ; if ( false == file_exists ( $ filename ) ) { $ msg = 'Local Widget File Not Found.</br>' ; $ msg .= 'Current Filename : ' . $ filename . '' ; return Splash :: log ( ) -> err ( $ msg ) ; } return true ; }
Verify a Local Widget File is Valid.

@param string $widgetType Widget Type Name

@return bool
Verify a Local Widget File is Valid .