Subversion Repositories eFlore/Applications.cel

Compare Revisions

Regard whitespace Rev 2552 → Rev 3473

/trunk/jrest/lib/Spreadsheet/Excel/Writer.php
50,10 → 50,10
* @param string $filename The optional filename for the Workbook.
* @return Spreadsheet_Excel_Writer_Workbook The Workbook created
*/
function Spreadsheet_Excel_Writer($filename = '')
function __construct($filename = '')
{
$this->_filename = $filename;
$this->Spreadsheet_Excel_Writer_Workbook($filename);
parent::__construct($filename);
}
 
/**
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Format.php
249,7 → 249,7
* @param integer $index the XF index for the format.
* @param array $properties array with properties to be set on initialization.
*/
function Spreadsheet_Excel_Writer_Format($BIFF_version, $index = 0, $properties = array())
function __construct($BIFF_version, $index = 0, $properties = array())
{
$this->_xf_index = $index;
$this->_BIFF_version = $BIFF_version;
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Worksheet.php
385,7 → 385,7
* @param string $tmp_dir The path to the directory for temporary files
* @access private
*/
function Spreadsheet_Excel_Writer_Worksheet($BIFF_version, $name,
function __construct($BIFF_version, $name,
$index, &$activesheet,
&$firstsheet, &$str_total,
&$str_unique, &$str_table,
393,7 → 393,7
$tmp_dir)
{
// It needs to call its parent's constructor explicitly
$this->Spreadsheet_Excel_Writer_BIFFwriter();
parent::__construct();
$this->_BIFF_version = $BIFF_version;
$rowmax = 65536; // 16384 in Excel 5
$colmax = 256;
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Parser.php
169,7 → 169,7
* @param integer $byte_order The byte order (Little endian or Big endian) of the architecture
(optional). 1 => big endian, 0 (default) little endian.
*/
function Spreadsheet_Excel_Writer_Parser($byte_order, $biff_version)
function __construct($byte_order, $biff_version)
{
$this->_current_char = 0;
$this->_BIFF_version = $biff_version;
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Workbook.php
171,10 → 171,10
* @param string filename for storing the workbook. "-" for writing to stdout.
* @access public
*/
function Spreadsheet_Excel_Writer_Workbook($filename)
function __construct($filename)
{
// It needs to call its parent's constructor explicitly
$this->Spreadsheet_Excel_Writer_BIFFwriter();
parent::__construct();
 
$this->_filename = $filename;
$this->_parser = new Spreadsheet_Excel_Writer_Parser($this->_byte_order, $this->_BIFF_version);
/trunk/jrest/lib/Spreadsheet/Excel/Writer/BIFFwriter.php
101,7 → 101,7
*
* @access public
*/
function Spreadsheet_Excel_Writer_BIFFwriter()
function __construct()
{
$this->_byte_order = '';
$this->_data = '';
/trunk/jrest/lib/Spreadsheet/Excel/Writer/Validator.php
67,7 → 67,7
*/
var $_parser;
 
function Spreadsheet_Excel_Writer_Validator(&$parser)
function __construct(&$parser)
{
$this->_parser = $parser;
$this->_type = 0x01; // FIXME: add method for setting datatype