RainLab\Pages\Classes\Snippet::getDescription PHP Méthode

getDescription() public méthode

This method should not be used in the front-end request handling.
public getDescription ( ) : string
Résultat string
    public function getDescription()
    {
        if ($this->description !== null) {
            return $this->description;
        }
        if ($this->componentClass === null) {
            return null;
        }
        $component = $this->getComponent();
        return $this->description = ComponentHelpers::getComponentDescription($component);
    }