SWFTextField
PHP Manual

SWFTextField::__construct

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFTextField::__constructCreates a text field object

Descrierea

SWFTextField::__construct ([ int $flags ] )
Avertizare

Această funcție este EXPERIMENTALĂ. Comportamentul acestei funcții, denumirea sa și orice alte aspecte documentate în privința acestei funcții pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizați această funcție la propriul risc.

swftextfield() creates a new text field object. Text Fields are less flexible than swftext() objects- they can't be rotated, scaled non-proportionally, or skewed, but they can be used as form entries, and they can use browser-defined fonts.

The optional flags change the text field's behavior. It has the following possibles values :

Flags are combined with the bitwise OR operation. For example,
<?php
$t 
newSWFTextField(SWFTEXTFIELD_PASSWORD SWFTEXTFIELD_NOEDIT); 
?>
creates a totally useless non-editable password field.

SWFTextField has the following methods : swftextfield::setfont(), swftextfield::setbounds(), swftextfield::align(), swftextfield::setheight(), swftextfield::setleftmargin(), swftextfield::setrightmargin(), swftextfield::setmargins(), swftextfield::setindentation(), swftextfield::setlinespacing(), swftextfield::setcolor(), swftextfield::setname() and swftextfield::addstring().


SWFTextField
PHP Manual