Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1432268
Negative.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
Negative.php
View Options
<?php
/**
* @private
*/
class
Less_Tree_Negative
extends
Less_Tree
implements
Less_Tree_HasValueProperty
{
public
$value
;
public
function
__construct
(
$node
)
{
$this
->
value
=
$node
;
}
/**
* @see Less_Tree::genCSS
*/
public
function
genCSS
(
$output
)
{
$output
->
add
(
'-'
);
$this
->
value
->
genCSS
(
$output
);
}
public
function
compile
(
$env
)
{
if
(
$env
->
isMathOn
()
)
{
$ret
=
new
Less_Tree_Operation
(
'*'
,
[
new
Less_Tree_Dimension
(
-
1
),
$this
->
value
]
);
return
$ret
->
compile
(
$env
);
}
return
new
self
(
$this
->
value
->
compile
(
$env
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:35 (1 d, 4 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6e/db/d1352b12ed750c00718a9e286c3c
Default Alt Text
Negative.php (579 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment