Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4082651
DefaultFunc.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
DefaultFunc.php
View Options
<?php
/**
* @private
*/
class
Less_Tree_DefaultFunc
{
private
static
$error_
;
private
static
$value_
;
public
static
function
compile
()
{
if
(
self
::
$error_
)
{
throw
new
Exception
(
self
::
$error_
);
}
if
(
self
::
$value_
!==
null
)
{
return
self
::
$value_
?
new
Less_Tree_Keyword
(
'true'
)
:
new
Less_Tree_Keyword
(
'false'
);
}
}
public
static
function
value
(
$v
)
{
self
::
$value_
=
$v
;
}
public
static
function
error
(
$e
)
{
self
::
$error_
=
$e
;
}
public
static
function
reset
()
{
self
::
$value_
=
self
::
$error_
=
null
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 18 2026, 06:40 (7 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
51/08/bedc047ab5de4cc9c87cb71f469e
Default Alt Text
DefaultFunc.php (557 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment