Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($fname=null, $formatter=null) | |
compile ($string, $name=null) | |
Fonctions membres publiques hérités de lessc | |
compileValue ($value) | |
colorArgs ($args) | |
assertColor ($value, $error="expected color value") | |
assertNumber ($value, $error="expecting number") | |
assertArgs ($value, $expectedArgs, $name="") | |
toBool ($a) | |
lib_red ($color) | |
lib_green ($color) | |
lib_blue ($color) | |
__construct ($fname=null) | |
compile ($string, $name=null) | |
compileFile ($fname, $outFname=null) | |
checkedCompile ($in, $out) | |
cachedCompile ($in, $force=false) | |
parse ($str=null, $initialVariables=null) | |
setFormatter ($name) | |
setPreserveComments ($preserve) | |
registerFunction ($name, $func) | |
unregisterFunction ($name) | |
setVariables ($variables) | |
unsetVariable ($name) | |
setImportDir ($dirs) | |
addImportDir ($dir) | |
allParsedFiles () | |
addParsedFile ($file) | |
throwError ($msg=null) | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de lessc | |
static | compressList ($items, $delim) |
static | preg_quote ($what) |
static | ccompile ($in, $out, $less=null) |
static | cexecute ($in, $force=false, $less=null) |
Champs de données hérités de lessc | |
$vPrefix = '@' | |
$mPrefix = '$' | |
$parentSelector = '&' | |
$importDisabled = false | |
$importDir = '' | |
Attributs publics statiques hérités de lessc | |
static | $VERSION = "v0.5.0" |
static | $TRUE = array("keyword", "true") |
static | $FALSE = array("keyword", "false") |
Fonctions membres protégées hérités de lessc | |
findImport ($url) | |
fileExists ($name) | |
tryImport ($importPath, $parentBlock, $out) | |
compileImportedProps ($props, $block, $out, $sourceParser, $importDir) | |
compileBlock ($block) | |
compileCSSBlock ($block) | |
compileMedia ($media) | |
mediaParent ($scope) | |
compileNestedBlock ($block, $selectors) | |
compileRoot ($root) | |
compileProps ($block, $out) | |
deduplicate ($lines) | |
sortProps ($props, $split=false) | |
compileMediaQuery ($queries) | |
multiplyMedia ($env, $childQueries=null) | |
expandParentSelectors (&$tag, $replace) | |
findClosestSelectors () | |
multiplySelectors ($selectors) | |
compileSelectors ($selectors) | |
eq ($left, $right) | |
patternMatch ($block, $orderedArgs, $keywordArgs) | |
patternMatchAll ($blocks, $orderedArgs, $keywordArgs, $skip=array()) | |
findBlocks ($searchIn, $path, $orderedArgs, $keywordArgs, $seen=array()) | |
zipSetArgs ($args, $orderedValues, $keywordValues) | |
compileProp ($prop, $block, $out) | |
lib_pow ($args) | |
lib_pi () | |
lib_mod ($args) | |
lib_tan ($num) | |
lib_sin ($num) | |
lib_cos ($num) | |
lib_atan ($num) | |
lib_asin ($num) | |
lib_acos ($num) | |
lib_sqrt ($num) | |
lib_extract ($value) | |
lib_isnumber ($value) | |
lib_isstring ($value) | |
lib_iscolor ($value) | |
lib_iskeyword ($value) | |
lib_ispixel ($value) | |
lib_ispercentage ($value) | |
lib_isem ($value) | |
lib_isrem ($value) | |
lib_rgbahex ($color) | |
lib_argb ($color) | |
lib_data_uri ($value) | |
lib_e ($arg) | |
lib__sprintf ($args) | |
lib_floor ($arg) | |
lib_ceil ($arg) | |
lib_round ($arg) | |
lib_unit ($arg) | |
lib_darken ($args) | |
lib_lighten ($args) | |
lib_saturate ($args) | |
lib_desaturate ($args) | |
lib_spin ($args) | |
lib_fadeout ($args) | |
lib_fadein ($args) | |
lib_hue ($color) | |
lib_saturation ($color) | |
lib_lightness ($color) | |
lib_alpha ($value) | |
lib_fade ($args) | |
lib_percentage ($arg) | |
lib_tint ($args) | |
lib_shade ($args) | |
lib_mix ($args) | |
lib_contrast ($args) | |
lib_luma ($color) | |
toHSL ($color) | |
toRGB_helper ($comp, $temp1, $temp2) | |
toRGB ($color) | |
clamp ($v, $max=1, $min=0) | |
funcToColor ($func) | |
reduce ($value, $forExpression=false) | |
coerceColor ($value) | |
coerceString ($value) | |
flattenList ($value) | |
evaluate ($exp) | |
stringConcatenate ($left, $right) | |
fixColor ($c) | |
op_number_color ($op, $lft, $rgt) | |
op_color_number ($op, $lft, $rgt) | |
op_color_color ($op, $left, $right) | |
op_number_number ($op, $left, $right) | |
makeOutputBlock ($type, $selectors=null) | |
pushEnv ($block=null) | |
popEnv () | |
set ($name, $value) | |
get ($name) | |
injectVariables ($args) | |
makeParser ($name) | |
newFormatter () | |
Attributs protégés hérités de lessc | |
$libFunctions = array() | |
$registeredVars = array() | |
$preserveComments = false | |
$numberPrecision = null | |
$allParsedFiles = array() | |
$sourceParser = null | |
$sourceLoc = null | |
Attributs protégés statiques hérités de lessc | |
static | $nextImportId = 0 |
static | $cssColors |
Constructor
string | $fname | Filename to process |
\JLessFormatterJoomla | $formatter | Formatter object |
Références null.
compile | ( | $string, | |
$name = null |
|||
) |
Override compile to reset $this->allParsedFiles array to allow parsing multiple files/strings using same imports. PR: https://github.com/leafo/lessphp/pull/607
For documentation on this please see /vendor/leafo/lessc.inc.php
string | $string | LESS string to parse. |
string | $name | The sourceName used for error messages. |
Références $name.