Class Form_Controller_Show
Показ формы.
Доступные свойства:
- formFill ссылка на объект Form_Fill, доступный после process()
- mailType тип письма, 0 - 'text/html', 1 - 'text/plain'. По умолчанию 1
- mailXsl объект XSL-шаблона для отправки письма
- mailSubject тема письма о заполнении формы, если не указана, то используется указанная для формы
- from электронный адрес, от которого направляется письмо. По умолчанию первый из указанных кураторов формы
$Form_Controller_Show = new Form_Controller_Show( Core_Entity::factory('Form', 1) ); $Form_Controller_Show ->xsl( Core_Entity::factory('Xsl')->getByName('ОтобразитьФорму') ) ->show();
- Core_Servant_Properties
- Core_Controller
- Form_Controller_Show
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at form/controller/show.php
Methods summary
public
mixed
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
protected
|
|
public
|
|
public
|
|
protected
|
|
public
|
|
protected
string
|
|
protected
array
|
|
public
|
|
protected
|
|
protected
|
Methods inherited from Core_Controller
__toString()
,
addCacheSignature()
,
addCacheTag()
,
addEntities()
,
addEntity()
,
append()
,
assign()
,
clearCacheTag()
,
clearEntities()
,
clearVars()
,
get()
,
getCacheTags()
,
getEntities()
,
getEntity()
,
getShownIDs()
,
getStdObject()
,
getTpl()
,
getXml()
,
getXsl()
,
mode()
,
setAttributePrefix()
,
setEntity()
,
tpl()
,
xsl()
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
'values',
'mailType',
'mailXsl',
'mailSubject',
'mailFromFieldName',
'formFill',
'captcha',
'from'
)
|
protected
array
|
$_aEmails
|
#
array()
|
protected
|
$_error
Error Code 0 - CAPTCHA 1 - заполнены не все поля 2 - слишком частое добавление 3 - Spam |
#
NULL
|
protected
array
|
$_aForm_Fields_Dir_Tree
|
#
array()
|
protected
array
|
$_aForm_Fields
|
#
array()
|
protected
array
|
$_aForm_Fields_Tree
|
#
array()
|
protected
array
|
$_aUploadedFiles
Array of uploaded files |
#
array()
|
protected
array
|
$_aListItemsTree
_aListItemsTree |
#
array()
|
Properties inherited from Core_Controller
$_attributePrefix
,
$_cacheSignatures
,
$_cacheTags
,
$_entities
,
$_entity
,
$_mode
,
$_shownIDs
,
$_tpl
,
$_vars
,
$_xsl