コード例 #1
0
ファイル: Master.php プロジェクト: gulo70/OUTRAGEbot
 /**
  *	Gets the information of a timer from its reference ID.
  *
  *	These are the contents of the array that is returned when this function is invoked.
  *	
  *	<pre>
  *	<b>CALLBACK</b>  -> Callback which the timer calls when invoked.
  *	<b>INTERVAL</b>  -> How many seconds pass between each call.
  *	<b>REPEAT</b>    -> How many times left the plugin is called before it is unlinked.
  *	<b>CALLTIME</b>  -> When the plugin will next call itself (Unix time).
  *	<b>ARGUMENTS</b> -> Array of arguments that will be passed to the timer.
  *	</pre>
  *
  *	@param string $sKey Timer reference ID.
  *	@return array Array of timer information.
  */
 public function timerGet($sKey)
 {
     return Timers::Get($sKey);
 }