You are here

function PHPExcel_Writer_Excel5_Parser::_createTree in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php \PHPExcel_Writer_Excel5_Parser::_createTree()

* Creates a tree. In fact an array which may have one or two arrays (sub-trees) * as elements. * * @access private *

Parameters

mixed $value The value of this node.: * @param mixed $left The left array (sub-tree) or a final node. * @param mixed $right The right array (sub-tree) or a final node. * @return array A tree

6 calls to PHPExcel_Writer_Excel5_Parser::_createTree()
PHPExcel_Writer_Excel5_Parser::_condition in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* It parses a condition. It assumes the following rule: * Cond -> Expr [(">" | "<") Expr] * * @access private *
PHPExcel_Writer_Excel5_Parser::_expression in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* It parses a expression. It assumes the following rule: * Expr -> Term [("+" | "-") Term] * -> "string" * -> "-" Term : Negative value * -> "+" Term : Positive…
PHPExcel_Writer_Excel5_Parser::_fact in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* It parses a factor. It assumes the following rule: * Fact -> ( Expr ) * | CellRef * | CellRange * | Number * | Function * * @access private *
PHPExcel_Writer_Excel5_Parser::_func in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* It parses a function call. It assumes the following rule: * Func -> ( Expr [,Expr]* ) * * @access private *
PHPExcel_Writer_Excel5_Parser::_parenthesizedExpression in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* This function just introduces a ptgParen element in the tree, so that Excel * doesn't get confused when working with a parenthesized formula afterwards. * * @access private * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php, line 1508

Class

PHPExcel_Writer_Excel5_Parser
PHPExcel_Writer_Excel5_Parser

Code

function _createTree($value, $left, $right) {
  return array(
    'value' => $value,
    'left' => $left,
    'right' => $right,
  );
}