first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<?php
/**
*
* Copyright 2012-2012 Portugalmail Comunicações S.A (http://www.portugalmail.net/)
*
* See the enclosed file LICENCE for license information (GPLv3). If you
* did not receive this file, see http://www.gnu.org/licenses/gpl-3.0.html.
*
* @author Gonçalo Queirós <mail@goncaloqueiros.net>
*/
namespace highcharts;
class HighchartJsExpr
{
/**
* The javascript expression
*
* @var string
*/
private $_expression;
/**
* The HighchartJsExpr constructor
*
* @param string $expression The javascript expression
*/
public function __construct($expression)
{
$this->_expression = iconv(
mb_detect_encoding($expression),
"UTF-8",
$expression
);
}
/**
* Returns the javascript expression
*
* @return string The javascript expression
*/
public function getExpression()
{
return $this->_expression;
}
}