FOF30\Factory\Scaffolding\Layout\BaseErector::getLangKeyPrefix PHP Method

getLangKeyPrefix() protected method

Returns the common language key prefix, something like "COM_EXAMPLE_MYVIEW_"
protected getLangKeyPrefix ( ) : string
return string
    protected function getLangKeyPrefix()
    {
        if (empty($this->langKeyPrefix)) {
            $prefix = $key = $this->builder->getContainer()->componentName . '_' . $this->viewName . '_';
            $this->langKeyPrefix = strtoupper($prefix);
        }
        return $this->langKeyPrefix;
    }