Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1430537
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
Sat, May 16, 19:08 (5 h, 15 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
71/08/92fafd75d95c10693765334d1608
Default Alt Text
DefaultFunc.php (557 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment