public static function addChat($IDParent, $Type, $Tag, $Text, $IDUser = null) { $IDChat = parent::addChat($IDParent, $Text, $IDUser); $TheChat = new self(); $Data = array('Tag' => $Tag, 'Type' => $Type); return $TheChat->update($Data, "IDChat = '{$IDChat}'"); }
/** * @static * @param int $interval */ public static function setInterval($interval) { self::$_interval = (int) $interval; }