head	1.1;
access;
symbols;
locks
	root:1.1; strict;
comment	@# @;


1.1
date	2009.12.28.03.08.36;	author root;	state Exp;
branches;
next	;


desc
@/opt/nforge/var/wiki/easylogiclib/data/text/WBTimer
@


1.1
log
@124.111.236.22;;cyberuls easylogic ;;
@
text
@= Description = 
 * timer 구현 

= Sample = 

{{{#!vim php 
<?php

$window = new WBAppWindow(array(
	'title' => 'AppWindow - 300 * 300 고정크기 Window',
	'width' => 300,
	'height' => 300
));

$window->setVisible(true);

$timer = $window->createTimer('test');

WBApplication::start();

function test($eo) { 
	static $count = 0;

	$eo->window()->setTitle(date('Y-m-d H:i:s'));
	echo $eo->window()->getTitle(), PHP_EOL;

	if ($count == 10) { 
		$eo->object()->destroyTimer();
	}

	$count++;
}

?>
}}}
@
