Subversion Repositories Sites.obs-saisons.fr

Compare Revisions

Ignore whitespace Rev 315 → Rev 316

/trunk/applications/jrest/lib/PDF.php
492,7 → 492,7
}
 
/* Create the PDF object. */
$pdf = &new $class();
$pdf = new $class();
 
/* Scale factor. */
if ($params['unit'] == 'pt') {
/trunk/applications/jrest/lib/Spreadsheet/Excel/Writer/Workbook.php
158,7 → 158,7
$this->Spreadsheet_Excel_Writer_BIFFwriter();
$this->_filename = $filename;
$this->_parser =& new Spreadsheet_Excel_Writer_Parser($this->_byte_order);
$this->_parser = new Spreadsheet_Excel_Writer_Parser($this->_byte_order);
$this->_1904 = 0;
$this->_activesheet = 0;
$this->_firstsheet = 0;
167,7 → 167,7
$this->_fileclosed = 0;
$this->_biffsize = 0;
$this->_sheetname = "Sheet";
$this->_tmp_format =& new Spreadsheet_Excel_Writer_Format();
$this->_tmp_format = new Spreadsheet_Excel_Writer_Format();
$this->_worksheets = array();
$this->_sheetnames = array();
$this->_formats = array();
/trunk/applications/jrest/lib/DB.php
307,7 → 307,7
return $tmp;
}
 
@$obj =& new $classname;
@$obj = new $classname;
 
foreach ($options as $option => $value) {
$test = $obj->setOption($option, $value);
381,7 → 381,7
return $tmp;
}
 
@$obj =& new $classname;
@$obj = new $classname;
 
foreach ($options as $option => $value) {
$test = $obj->setOption($option, $value);
887,7 → 887,7
if ($object_class == 'stdClass') {
$arr = (object) $arr;
} else {
$arr = &new $object_class($arr);
$arr = new $object_class($arr);
}
}
return $arr;
/trunk/applications/jrest/lib/HTTP/Download.php
240,7 → 240,7
*/
function HTTP_Download($params = array())
{
$this->HTTP = &new HTTP_Header;
$this->HTTP = new HTTP_Header;
$this->setParams($params);
}
// }}}
702,7 → 702,7
*/
function staticSend($params, $guess = false)
{
$d = &new HTTP_Download();
$d = new HTTP_Download();
$e = $d->setParams($params);
if (PEAR::isError($e)) {
return $e;
/trunk/applications/jrest/lib/DB/common.php
955,7 → 955,7
if (DB::isError($result) || $result === DB_OK) {
return $result;
} else {
$tmp =& new DB_result($this, $result);
$tmp = new DB_result($this, $result);
return $tmp;
}
}
1145,7 → 1145,7
if (DB::isError($result) || $result === DB_OK) {
return $result;
} else {
$tmp =& new DB_result($this, $result);
$tmp = new DB_result($this, $result);
return $tmp;
}
}