fixing a few "todos"
This commit is contained in:
@@ -1999,7 +1999,7 @@ class Databap extends PhpObject
|
||||
$asInfo['from'] = self::MSG_TABLE;
|
||||
$asInfo['constraint'] = array('type'=>self::MESSAGE_NEWS);
|
||||
$asInfo['orderBy'] = array('led'=>'DESC');
|
||||
if($bExport) $asInfo['limit'] = 3;
|
||||
if($bExport) $asInfo['limit'] = self::MAX_NB_NEWS;
|
||||
$asNews = $this->oMySql->selectRows($asInfo);
|
||||
|
||||
//Status
|
||||
@@ -2619,6 +2619,11 @@ class Databap extends PhpObject
|
||||
header("Content-Type: text/css");
|
||||
return $sStyle;
|
||||
}
|
||||
|
||||
public function addUncaughtError($sError)
|
||||
{
|
||||
$this->addError('Uncaught errors:'."\n".$sError);
|
||||
}
|
||||
|
||||
public static function getDateFormat($oTime, $sFormat=Databap::DATE_TIME_FORMAT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user