Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
JamesMoss
Flywheel
Repository
getFilename
JamesMoss\Flywheel\Repository::getFilename PHP Method
Repository Class Documentation
Show file
Open project: jamesmoss/flywheel
getFilename()
public
method
Gets just the filename for a document based on it's ID.
public
getFilename
(
string
$id
) :
string
$id
string
The ID of the document.
return
string
The filename of the document, including extension.
public function getFilename($id) { return $id . '.' . $this->formatter->getFileExtension(); }
Repository
__construct
delete
findAll
findById
generateId
getAllFiles
getFilename
getIdFromPath
getName
getPath
getPathForDocument
query
store
update
validateId
validateName
write