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
f
convert
f::convert PHP Method
f Class Documentation
Show file
Open project: bastianallgeier/kirby
convert()
static
public
method
Convert the filename to a new extension
static
public
convert
(
string
$name
,
string
$type
= 'jpg' ) :
string
$name
string
The file name
$type
string
The new extension
return
string
static function convert($name, $type = 'jpg') { return self::name($name) . $type; }
f
append
convert
dirname
extension
filename
move
name
nice_size
read
remove
safe_name
size
write