| [ Index ] |
PHP Cross Reference of Limb3 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Limb PHP Framework 4 * 5 * @link http://limb-project.com 6 * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com) 7 * @license LGPL http://www.gnu.org/copyleft/lesser.html 8 */ 9 10 require_once 'limb/wact/src/widgets/widgets.inc.php'; 11 12 class WactCoreRuntimeContentTagTest extends WactTemplateTestCase 13 { 14 function testRuntimeContent() 15 { 16 $template = '-<core:runtimecontent id="slot"/>-'; 17 18 $this->registerTestingTemplate('/tags/core/runtimecontent/test.html', $template); 19 $page = $this->initTemplate('/tags/core/runtimecontent/test.html'); 20 21 $holder = $page->getChild('slot'); 22 $holder->addChild(new WactTextWidget('inserted')); 23 24 $output = $page->capture(); 25 $this->assertEqual($output, '-inserted-'); 26 } 27 } 28 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Jan 8 04:06:23 2009 | Cross-referenced by PHPXref 0.7 |