#401 : Support for namespaces
This commit is contained in:
parent
86bfdcba15
commit
f546be620e
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace PHPExcel\Calculation;
|
||||
|
||||
|
||||
/** LOG_GAMMA_X_MAX_VALUE */
|
||||
define('LOG_GAMMA_X_MAX_VALUE', 2.55e305);
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ class NamedRange
|
|||
* @param Worksheet|null $pScope Scope. Only applies when $pLocalOnly = true. Null for global scope.
|
||||
* @throws Exception
|
||||
*/
|
||||
public function __construct($pName = null, Worksheet $pWorksheet, $pRange = 'A1', $pLocalOnly = false, $pScope = null)
|
||||
public function __construct($pName, Worksheet $pWorksheet, $pRange = 'A1', $pLocalOnly = false, $pScope = null)
|
||||
{
|
||||
// Validate data
|
||||
if (($pName === null) || ($pWorksheet === null) || ($pRange === null)) {
|
||||
|
@ -229,7 +229,7 @@ class NamedRange
|
|||
* @param Worksheet|null $pSheet Scope. Use null for global scope
|
||||
* @return NamedRange
|
||||
*/
|
||||
public static function resolveRange($pNamedRange = '', Worksheet $pSheet)
|
||||
public static function resolveRange($pNamedRange, Worksheet $pSheet)
|
||||
{
|
||||
return $pSheet->getParent()->getNamedRange($pNamedRange, $pSheet);
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace PHPExcel\Shared\trend;
|
|||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
*/
|
||||
class exponentialBestFit extends bestFit
|
||||
class ExponentialBestFit extends BestFit
|
||||
{
|
||||
/**
|
||||
* Algorithm type to use for best-fit
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace PHPExcel\Shared\trend;
|
|||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
*/
|
||||
class linearBestFit extends bestFit
|
||||
class LinearBestFit extends BestFit
|
||||
{
|
||||
/**
|
||||
* Algorithm type to use for best-fit
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace PHPExcel\Shared\trend;
|
|||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
*/
|
||||
class logarithmicBestFit extends bestFit
|
||||
class LogarithmicBestFit extends BestFit
|
||||
{
|
||||
/**
|
||||
* Algorithm type to use for best-fit
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace PHPExcel\Shared\trend;
|
|||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
*/
|
||||
class polynomialBestFit extends bestFit
|
||||
class PolynomialBestFit extends BestFit
|
||||
{
|
||||
/**
|
||||
* Algorithm type to use for best-fit
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace PHPExcel\Shared\trend;
|
|||
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
|
||||
* @version ##VERSION##, ##DATE##
|
||||
*/
|
||||
class powerBestFit extends bestFit
|
||||
class PowerBestFit extends BestFit
|
||||
{
|
||||
/**
|
||||
* Algorithm type to use for best-fit
|
||||
|
|
|
@ -1476,7 +1476,7 @@ class Worksheet implements IComparable
|
|||
* @param $pValue Style\Conditional[]
|
||||
* @return Worksheet
|
||||
*/
|
||||
public function setConditionalStyles($pCoordinate = 'A1', $pValue)
|
||||
public function setConditionalStyles($pCoordinate, $pValue)
|
||||
{
|
||||
$this->conditionalStylesCollection[strtoupper($pCoordinate)] = $pValue;
|
||||
return $this;
|
||||
|
|
Loading…
Reference in New Issue