Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F32064281
template.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
546 B
Referenced Files
None
Subscribers
None
template.php
View Options
<?php
class
template
{
/**
* @var Array the template parameters
*/
var
$params
;
/**
* @var string the template name
*/
var
$name
;
/**
* Gets the wikicode string representation of the template
*
* @return string the template wikicode
*/
function
__toString
()
{
$template
=
'{{'
.
$this
->
name
.
"
\n
"
;
foreach
(
$this
->
params
as
$key
=>
$value
)
{
$template
.=
" | $key = $value
\n
"
;
}
$template
.=
'}}'
;
return
$template
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 8, 09:01 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3782313
Default Alt Text
template.php (546 B)
Attached To
Mode
rSTG Source templates generator
Attached
Detach File
Event Timeline
Log In to Comment