Methods summary
public
Charcoal\Cms\DocumentInterface
|
#
setName( mixed $name )
Parameters
- $name
- The document name (localized).
Returns
|
public
Charcoal\Translator\Translation|string|null
|
#
name( )
Returns
Charcoal\Translator\Translation|string|null
|
public
Charcoal\Cms\DocumentInterface
|
#
setFile( string $file )
Parameters
- $file
- The file relative path / url (localized).
Returns
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
#
filename( )
Get the filename (basename; without any path segment).
Get the filename (basename; without any path segment).
Returns
string
|
public
integer
|
#
filesize( )
Get the document's file size, in bytes.
Get the document's file size, in bytes.
Returns
integer
|