foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
}
if (is_null($returnValue)) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
public static function LINEST($yValues,$xValues=null,$const=True,$stats=False) {
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
public static function getInstance() {
if (!isset(self::$_instance) || is_null(self::$_instance)) {
public function _translateFormulaToLocale($formula) {
if (is_null(self::$functionReplaceFromExcel)) {
$wsTitle = "\x00Wrk";
if (!is_null($pCell)) {
$pCellParent = $pCell->getParent();
if (!is_null($pCellParent)) {
// Is calculation cacheing enabled?
if (!is_null($cellID)) {
// Save to calculation cache
if (!is_null($cellID)) {
if (is_null($value)) {
// so we store the parent worksheet so that we can re-attach it when necessary
$pCellParent = (!is_null($pCell)) ? $pCell->getParent() : null;
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
foreach($array2 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
}
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
public static function getInstance() {
if (!isset(self::$_instance) || is_null(self::$_instance)) {
public function _translateFormulaToLocale($formula) {
if (is_null(self::$functionReplaceFromExcel)) {
$wsTitle = "\x00Wrk";
if (!is_null($pCell)) {
$pCellParent = $pCell->getParent();
if (!is_null($pCellParent)) {
// Is calculation cacheing enabled?
if (!is_null($cellID)) {
// Save to calculation cache
if (!is_null($cellID)) {
if (is_null($value)) {
// so we store the parent worksheet so that we can re-attach it when necessary
$pCellParent = (!is_null($pCell)) ? $pCell->getParent() : null;
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
foreach($array2 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
}
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
public static function getInstance() {
if (!isset(self::$_instance) || is_null(self::$_instance)) {
public function _translateFormulaToLocale($formula) {
if (is_null(self::$functionReplaceFromExcel)) {
$wsTitle = "\x00Wrk";
if (!is_null($pCell)) {
$pCellParent = $pCell->getParent();
if (!is_null($pCellParent)) {
// Is calculation cacheing enabled?
if (!is_null($cellID)) {
// Save to calculation cache
if (!is_null($cellID)) {
if (is_null($value)) {
// so we store the parent worksheet so that we can re-attach it when necessary
$pCellParent = (!is_null($pCell)) ? $pCell->getParent() : null;
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
foreach($array2 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
}
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// a node passed?
if ( is_null($node) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// a node passed?
if ( is_null($node) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
{
$q = is_null($q) ? $self->query() : $q ;
{
if (!is_null($db)) $this->db($db);
if (!is_null($table)) $this->table($table);
if (!is_null($pk)) $this->primaryKey($pk);
$inheritedNamedScopes = $this->inheritNamedScopes();
if (!is_null($namedScopes)) {
$this->namedScopes($inheritedNamedScopes);
$queryWriter = is_null($queryWriter) ? Gongo_Locator::get('Gongo_Db_QueryWriter') : $queryWriter ;
{
$sClass = is_null($sClass) ? get_class($this) : $sClass ;
{
if (is_null($value)) return $this->namedScopes;
{
if (is_null($value)) return $this->queryWriter;
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// a node passed?
if ( is_null($node) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// a node passed?
if ( is_null($node) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
// add a root index if needed
if ( in_array($this->_rootfield, $object->fields) && ! is_null($this->_rootindex) )
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
}
if (is_null($returnValue)) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
public static function LINEST($yValues,$xValues=null,$const=True,$stats=False) {
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
}
if (is_null($returnValue)) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
public static function LINEST($yValues,$xValues=null,$const=True,$stats=False) {
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
}
if ($user_data['off_commandant'] == 1 && (is_null($pub_off_commandant) || $pub_off_commandant !=
}
if ($user_data['off_amiral'] == 1 && (is_null($pub_off_amiral) || $pub_off_amiral !=
if (is_null($pub_disable_ip_check) || $pub_disable_ip_check != 1)
//Skin
if (!is_null($user_skin)) {
//Désactivation de la vérification de l'adresse ip
if (!is_null($disable_ip_check))
//Statistiques envoi systèmes solaires et rapports d'espionnage
if (!is_null($planet_added_web))
"planet_added_web = planet_added_web + " . $planet_added_web;
if (!is_null($planet_added_ogs))
"planet_added_ogs = planet_added_ogs + " . $planet_added_ogs;
if (!is_null($search))
public static function getInstance() {
if (!isset(self::$_instance) || is_null(self::$_instance)) {
public static function flushInstance() {
if (isset(self::$_instance) && !is_null(self::$_instance)) {
public function _translateFormulaToLocale($formula) {
if (is_null(self::$functionReplaceFromExcel)) {
if (is_null($result)) {
// Is calculation cacheing enabled?
if (!is_null($cellID)) {
// Save to calculation cache
if (!is_null($cellID)) {
// so we store the parent worksheet so that we can re-attach it when necessary
$pCellParent = (!is_null($pCell)) ? $pCell->getParent() : null;
while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last (
if (is_null($o2)) return $this->_raiseFormulaError('Formula Error: Unexpected closing brace ")"');
foreach($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
foreach($array2 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
}
if (is_null($returnValue)) {
// Return
if (is_null($returnValue)) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$const = (is_null($const)) ? True : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
$stats = (is_null($stats)) ? False : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($stats);
if (is_null($xValues)) $xValues = range(1,count(PHPExcel_Calculation_Functions::flattenArray($yValues)));
foreach ($array1 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
foreach ($array2 as $key => $value) {
if ((is_bool($value)) || (is_string($value)) || (is_null($value))) {
if ((is_numeric($arg)) && (!is_string($arg))) {
if (is_null($returnValue)) {
}
if (is_null($returnValue)) {
if (PHPExcel_Calculation::getInstance()->_calculateFormulaValue($testCondition)) {
if ((is_null($returnValue)) || ($arg > $returnValue)) {
{
if ((is_null($xValues)) || (!is_array($yValues)) || (!is_array($xValues))) {
$newValues = PHPExcel_Calculation_Functions::flattenArray($newValues);
$const = (is_null($const)) ? true : (boolean) PHPExcel_Calculation_Functions::flattenSingleValue($const);
}
if (is_null($returnValue)) {
{
if(is_null($node->getAttribute('name')))
if(is_null($show))
if(is_null($section['show']))
}
elseif(is_null($section['show']->get('priv:initialized')))
if(!is_null($section['node']->get('call:use')))
$request = $format->property('section:anyRequests');
if(!is_null($request))
$code = $format->get('section:init');
if(is_null($section['display']))
// The instruction may add some extra attributes.
if(!is_null($extraAttributes))
// Read the formula from the cell
if (is_null($pCell)) {
if (is_null($result)) {
// Save to calculation cache
if (!is_null($cellID)) {
while (($o2 = $stack->pop()) && $o2['value'] != '(') { // Pop off the stack back to the last (
if (is_null($o2)) return $this->_raiseFormulaError('Formula Error: Unexpected closing brace ")"');
while (!is_null($op = $stack->pop())) { // pop everything off the stack and push onto output
if ($sheet1 == $sheet2) {
if (is_null($operand1Data['reference'])) {
}
if (is_null($operand2Data['reference'])) {
// echo 'Reference is a Range of cells<br />';
if (is_null($pCell)) {
if(is_null($parent_id))
$sql .= "= {$node_id}";
if( !is_null($parent_id) )
$rs=$this->db->get_recordset($sql);
$result=!is_null($rs) ? $rs[0] : null;
$not_in_clause = $my['filters']['and_not_in_clause'];
if(!is_null($my['filters']['exclude_node_types']))
$output_format = 'simple';
if( !is_null($options) )
// BUGID 2728 - added check to avoid crash
if( !is_null($all_nodes) && count($all_nodes) > 0)
if( !is_null($path_to) )
$ret['msg'] = '';
if( is_null($id) && is_null($parent_id) )