Return the name of the template file.
If $full parameter is provided, return the full name with path

@param boolean $full

@return string
776519
public function getName($full = false)
    {
        if ( ! $full ) {
            return $this->templateName;
        }
        $filename = $this->directory ? $this->directory . '/' . $this->templateName : $this->templateName;

        return str_replace('//' , '/' , $filename);
    }
1337388
public function getEntry($full = true)
    {
        $key = $full ? 'SCRIPT_FILENAME' : 'SCRIPT_NAME';

        $wdir = $this->getWorkingDirectory();

        $file = $this->getServerParam($key);

        if (strpos($file, $wdir) === 0) {
            $file = substr($file, strlen($wdir));
        }

        $file = trim($file, '.' . DIRECTORY_SEPARATOR);

        if ($full && $this->isCli()) {
            $file = $wdir . DIRECTORY_SEPARATOR . $file;
        }

        return $file;
    }
1266344
protected function getFullCommandName()
    {
        $name = $this->name;

        foreach( $this->getArguments() as $argument ) {
            $argumentName = $argument[ 0 ];
            $argumentValue = $this->input->getArgument($argumentName);

            if( strpos($this->name, '{'. $argumentName .'}') !== false ) {
                $name = str_replace('{'. $argumentName .'}', $argumentValue, $this->name);
            } else {
                $name .= ' '. $argumentValue;
            }
        }

        foreach( $this->getOptions() as $option ) {
            $key = $option[ 0 ];
            $name .= ' --'. $key .'='. $this->input->getOption( $key );
        }

        return $name;
    }
663281
public function getFilename() : ?string 
    {
        if ( ! $this->hasFilename()) {
            $this->setFilename($this->getDefaultFilename());
        }
        return $this->filename;
    }
627459
public function toString(bool $full = false)
    {
        if (count($this->message) == 0) {
            return null;
        }

        if ($full) {
            return implode(PHP_EOL, $this->message);
        } else {
            return $this->message[0];
        }
    }
465118
protected function getFullFileName($containerName, $fileName, $relativePath)
    {
        if ($relativePath === null) {
            $relativePath = '';
        } else {
            $relativePath = trim($relativePath, '/');
            $relativePath = $relativePath . '/';
        }

        return sprintf('%s/%s%s', $containerName, $relativePath, $fileName);
    }
1157725
public function getTemplateNamesForFilename($filename)
    {
        $map = $this->getMap();
        $matching = array_filter(array_keys($map), function ($path) use ($filename) {
            return $filename[0] === $path[0] && 0 === strpos($filename, $path);
        });

        $templateNames = [];
        foreach ($matching as $match) {
            $namespace = $map[$match];
            $templateNames[] = self::MAIN_NAMESPACE === $namespace
                ? ltrim(substr($filename, strlen($match)), '/\\')
                : '@'.$namespace.substr($filename, strlen($match));
        }

        return $templateNames;
    }
1278365
protected function getClassName($fullClassName)
    {
        if (\mb_strrpos($fullClassName, '\\') === false) {
            return $fullClassName;
        }
        return \mb_substr($fullClassName, \mb_strrpos($fullClassName, '\\') + 1, \mb_strlen($fullClassName));
    }
1211931
static public function getRelPath(string $fullPath): string {
        $contDir = RC::get('containerDir');
        if (!strpos($fullPath, $contDir) === 0) {
            throw new InvalidArgumentException('path is outside the container');
        }
        $contDir = preg_replace('|/$|', '', $contDir);
        return substr($fullPath, strlen($contDir) + 1);
    }
610308
public static function getFile($fullPath)
    {
        $fileKey = new FileKey($fullPath);

        return new File(
            $fileKey,
            static::getDirectory($fileKey->getDir())
        );
    }
40367
public function url($source, $full = true)
    {
        $details = explode('?', $source);

        $path = $details[0];
        $path = $this->cleanPathInternal($path);
        $path = $this->getUrlPath($path, true);

        if (!empty($path)) {
            if (isset($details[1])) {
                $path .= '?' . $details[1];
            }

            $path = '/' . $path;
            return $full ? Url::root() . $path : $path;
        }

        return null;
    }
1186400
public function getFullName()
    {
        $fullNameString = $this->firstName .
            ($this->middleName->isEmpty() ? '' : ' ' . $this->middleName) .
            ($this->lastName->isEmpty() ? '' : ' ' . $this->lastName);

        $fullName = new StringLiteral($fullNameString);

        return $fullName;
    }
797143
protected static String getName(String fullPath)
   {
      int sl = fullPath.lastIndexOf('/');
      return sl >= 0 ? fullPath.substring(sl + 1) : fullPath;
   }
1293912
private function getAddressOf($fullName)
    {
        [$firstName, $lastName] = explode(' ', $fullName);

        /** @var AddressInterface $address */
        $address = $this->addressRepository->findOneBy(['firstName' => $firstName, 'lastName' => $lastName]);
        Assert::notNull($address);

        return $address;
    }
1256029
public function getFullName(): string
    {
        $list = [
            $this->getTitle(),
            $this->getFirstName(),
            $this->getMiddleName(),
            $this->getLastName(),
        ];
        return implode(' ', array_filter($list));
    }
535462
public function getfullName($glue = " / ")
    {
        $paths = [];

        if ($this->parents) {
            foreach ($this->parents as $parent) {
                if ($parent->isRoot()) {
                    $paths[] = "[" . $parent->site->name . "] " . $parent->name;
                } else {
                    $paths[] = $parent->name;
                }
            }
        }

        $paths[] = $this->name;

        return implode($glue, $paths);
    }
1205321
public function getFullPath($filename = null)
    {
        if (!$filename) {
            $filename = $this->Filename;
        }
        return DMS::inst()->getStoragePath() . DIRECTORY_SEPARATOR . $this->Folder . DIRECTORY_SEPARATOR . $filename;
    }