SWFTextField->__construct
(PHP 5 <= 5.3.0, PECL ming SVN)
SWFTextField->__construct — Creates a text field object
Описание
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск.
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 :
- SWFTEXTFIELD_DRAWBOX draws the outline of the textfield
- SWFTEXTFIELD_HASLENGTH
- SWFTEXTFIELD_HTML allows text markup using HTML-tags
- SWFTEXTFIELD_MULTILINE allows multiple lines
- SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable
- SWFTEXTFIELD_NOSELECT makes the field non-selectable
- SWFTEXTFIELD_PASSWORD obscures the data entry
- SWFTEXTFIELD_WORDWRAP allows text to wrap
<?php
$t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
?>
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().
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Генерация нетекстовых MIME форматов
- Ming (flash)
- Функция SWFTextField::addChars() - adds characters to a font that will be available within a textfield
- Функция SWFTextField::addString() - Concatenates the given string to the text field
- Функция SWFTextField::align() - Sets the text field alignment
- Функция SWFTextField::__construct() - Creates a text field object
- Функция SWFTextField::setBounds() - Sets the text field width and height
- Функция SWFTextField::setColor() - Sets the color of the text field
- Функция SWFTextField::setFont() - Sets the text field font
- Функция SWFTextField::setHeight() - Sets the font height of this text field font
- Функция SWFTextField::setIndentation() - Sets the indentation of the first line
- Функция SWFTextField::setLeftMargin() - Sets the left margin width of the text field
- Функция SWFTextField::setLineSpacing() - Sets the line spacing of the text field
- Функция SWFTextField::setMargins() - Sets the margins width of the text field
- Функция SWFTextField::setName() - Sets the variable name
- Функция SWFTextField::setPadding() - Sets the padding of this textfield
- Функция SWFTextField::setRightMargin() - Sets the right margin width of the text field
Коментарии
404 Not Found