blueshoes php application framework and cms            core_gfx
[ class tree: core_gfx ] [ index: core_gfx ] [ all elements ]

example


1 <?php
2 /**
3 * @package core_gfx
4 * @subpackage text_examples
5 */
6
7 require_once($_SERVER['DOCUMENT_ROOT'] . '../global.conf.php');
8 require_once($APP['path']['core'] . 'gfx/text/Bs_TextType.class.php');
9
10 $tt =& new Bs_TextType();
11 $tt->set('fontSize', 30);
12 $tt->set('imgWidth', 500);
13 $tt->set('xAlign', 'right');
14 $tt->setText("Hello World");
15 $tt->create();
16 //$tt->save();
17 $tt->send();
18 $tt->destruct();
19
20 ?>

Documentation generated on Mon, 29 Dec 2003 21:13:09 +0100 by phpDocumentor 1.2.3