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

addString() protected method

Adds a language string definition as long as it doesn't exist in the existing language file.
protected addString ( string $key, string $value )
$key string The language string key
$value string The language string
    protected function addString($key, $value)
    {
        if (\JText::_($key) != $key) {
            return;
        }
        $this->strings[$key] = $value;
    }