public function about($pluginName)
    {
        $about = false;
        if (Plugin::loaded($pluginName)) {
            $locale = I18n::locale();
            $templatePath = App::path('Template', $pluginName)[0] . 'Element/Help/';
            $lookFor = ["help_{$locale}", 'help'];

            foreach ($lookFor as $ctp) {
                if (is_readable($templatePath . "{$ctp}.ctp")) {
                    $about = "{$pluginName}.Help/{$ctp}";
                    break;
                }
            }
        }

        if ($about) {
            $this->set('about', $about);
        } else {
            throw new NotFoundException(__d('system', 'No help was found.'));
        }

        $this->title(__d('system', 'About "{0}"', $pluginName));
        $this->Breadcrumb
            ->push('/admin/system/help')
            ->push(__d('system', 'About {0}', $pluginName), '#');
    }
public function about($pluginName)
    {
        $about = false;
        if (Plugin::loaded($pluginName)) {
            $locale = I18n::locale();
            $templatePath = App::path('Template', $pluginName)[0] . 'Element/Help/';
            $lookFor = ["help_{$locale}", 'help'];

            foreach ($lookFor as $ctp) {
                if (is_readable($templatePath . "{$ctp}.ctp")) {
                    $about = "{$pluginName}.Help/{$ctp}";
                    break;
                }
            }
        }

        if ($about) {
            $this->set('about', $about);
        } else {
            throw new NotFoundException(__d('system', 'No help was found.'));
        }

        $this->title(__d('system', 'About "{0}"', $pluginName));
        $this->Breadcrumb
            ->push('/admin/system/help')
            ->push(__d('system', 'About {0}', $pluginName), '#');
    }
public function about ( $ pluginName ) { $ about = false ; if ( Plugin :: loaded ( $ pluginName ) ) { $ locale = I18n :: locale ( ) ; $ templatePath = App :: path ( 'Template' , $ pluginName ) [ 0 ] . 'Element/Help/' ; $ lookFor = [ "help_{$locale}" , 'help' ] ; foreach ( $ lookFor as $ ctp ) { if ( is_readable ( $ templatePath . "{$ctp}.ctp" ) ) { $ about = "{$pluginName}.Help/{$ctp}" ; break ; } } } if ( $ about ) { $ this -> set ( 'about' , $ about ) ; } else { throw new NotFoundException ( __d ( 'system' , 'No help was found.' ) ) ; } $ this -> title ( __d ( 'system' , 'About "{0}"' , $ pluginName ) ) ; $ this -> Breadcrumb -> push ( '/admin/system/help' ) -> push ( __d ( 'system' , 'About {0}' , $ pluginName ) , '#' ) ; }
Renders the help document of the given plugin.

@param string $pluginName The plugin name
@return void
@throws \Cake\Network\Exception\NotFoundException When no help document was found
Renders the help document of the given plugin .