APIBoost A.P.I. documentation for PHPBoost CMS
  • Packages
    • Ajax
    • Builder
    • Content
    • Core
    • Default
    • Doctrine
    • Helper
    • IO
    • MVC
    • PHPBoost
    • Util
  • Interfaces
  • Classes
  • CacheData
  • CaptchaOptions
  • CommentsExtensionPoint
  • ConfigData
  • ContentFormattingExtensionPoint
  • Controller
  • CssFilesExtensionPoint
  • DAO
  • DataStore
  • DBConnection
  • DBMSFactory
  • DBMSUtils
  • ExtendedFieldExtensionPoint
  • ExtensionPoint
  • ExternalAuthentication
  • FeedProvider
  • FileReader
  • FileWriter
  • FormattingParser
  • FormButton
  • FormConstraint
  • FormElement
  • FormField
  • FormFieldConstraint
  • FormFieldEnumOption
  • FormFieldset
  • GraphicalEnvironment
  • HomePage
  • HomePageExtensionPoint
  • HTMLElement
  • HTMLTableFilter
  • InjectQueryResult
  • MailService
  • MemberExtendedFieldType
  • MenusExtensionPoint
  • ModuleSetup
  • ModuleTreeLinksExtensionPoint
  • PropertiesMapInterface
  • QueryResult
  • Response
  • ScheduledJobExtensionPoint
  • SearchableExtensionPoint
  • SelectQueryResult
  • SQLFragmentBuilder
  • SQLQuerier
  • SQLQueryTranslator
  • Template
  • TemplateData
  • TemplateLoader
  • TemplateParser
  • TemplateRenderer
  • TemplateSyntaxElement
  • UrlMapper
  • UrlMappingsExtensionPoint
  • View
  • AbstractAdminItemController
  • AbstractCategoriesFormController
  • AbstractCategoriesManagementController
  • AbstractCommentsBuildForm
  • AbstractCommentsController
  • AbstractConfigData
  • AbstractContentFormattingExtensionPoint
  • AbstractController
  • AbstractDeleteCategoryController
  • AbstractDisplayGraphicalEnvironment
  • AbstractFormButton
  • AbstractFormField
  • AbstractFormFieldChoice
  • AbstractFormFieldConstraint
  • AbstractFormFieldEnumOption
  • AbstractFormFieldset
  • AbstractGraphicalEnvironment
  • AbstractHTMLElement
  • AbstractHTMLTableFilter
  • AbstractItemController
  • AbstractMemberExtendedField
  • AbstractParser
  • AbstractPHPMailerMailService
  • AbstractPlatform
  • AbstractQueryResult
  • AbstractResponse
  • AbstractScheduledJobExtensionPoint
  • AbstractSearchableExtensionPoint
  • AbstractSelectQueryResult
  • AbstractSQLQuerier
  • AbstractTemplate
  • AbstractTemplateParser
  • AbstractTemplateSyntaxElement
  • AbstractUrlMapper
  • ActionAuthorization
  • AddCommentBuildForm
  • AdminController
  • AdminDisplayFrameGraphicalEnvironment
  • AdminDisplayFrameResponse
  • AdminDisplayGraphicalEnvironment
  • AdminDisplayResponse
  • AdministratorAlert
  • AdministratorAlertCache
  • AdministratorAlertService
  • AdminMenuDisplayResponse
  • AdminModuleController
  • AdminModuleLink
  • AdminNodisplayGraphicalEnvironment
  • AdminNodisplayResponse
  • AjaxCommentsDisplayController
  • AjaxCommentsNotationController
  • AjaxImagePreviewController
  • AjaxKeywordsAutoCompleteController
  • AjaxRequest
  • AjaxSearchUserAutoCompleteController
  • AjaxUrlValidationController
  • AjaxUserAutoCompleteController
  • APCDataStore
  • AppContext
  • Application
  • ArrayContentTemplateSyntaxElement
  • Arrays
  • ArrayTemplateSyntaxElement
  • ArrayType
  • ATOM
  • AuthenticationMethod
  • AuthenticationService
  • Authorizations
  • AuthorizationsSettings
  • AutoConnectData
  • BBCodeHighlighter
  • Bench
  • BigIntType
  • BooleanType
  • BreadCrumb
  • BrHTMLElement
  • BufferedFileReader
  • BufferedFileWriter
  • BusinessObject
  • CacheDataNotFoundException
  • CachedMenu
  • CachedStringTemplateLoader
  • CacheManager
  • CacheService
  • Captcha
  • CaptchaProvidersService
  • CaptchaService
  • CategoriesAuthorizationsService
  • CategoriesCache
  • CategoriesItemsParameters
  • CategoriesManager
  • CategoriesService
  • CategoriesUrlBuilder
  • Category
  • CategoryNotFoundException
  • ClassLoader
  • ColumnsDisabled
  • CommentsAuthorizations
  • CommentsCache
  • CommentsConfig
  • CommentsDAO
  • CommentsManager
  • CommentsProvidersService
  • CommentsService
  • CommentsTopic
  • CommentsTopicDAO
  • CommentsTopicEvents
  • CommentsTopics
  • CommentsUrlBuilder
  • ConditionTemplateSyntaxElement
  • ConfigManager
  • ConfigNotFoundException
  • ConstantTemplateSyntaxElement
  • ContentEditor
  • ContentFormattingConfig
  • ContentFormattingParser
  • ContentFormattingProvidersService
  • ContentFormattingService
  • ContentFormattingUnparser
  • ContentManagementConfig
  • ContentMenu
  • ContentSecondParser
  • ContentSharingActionsMenuLink
  • ContentSharingActionsMenuLinksExtensionPoint
  • ContentSharingActionsMenuService
  • Contribution
  • ContributionService
  • CookieBarConfig
  • Countries
  • CSSCacheConfig
  • CSSCacheManager
  • CSSFileOptimizer
  • CurrentUser
  • CustomizationConfig
  • CustomizeInterface
  • DataStoreException
  • DataStoreFactory
  • Date
  • DateTimeType
  • DateType
  • DBConnectionException
  • DBFactory
  • DBQuerier
  • Debug
  • DecimalType
  • DefaultAdminDisplayResponse
  • DefaultAjaxDeleteItemController
  • DefaultCategoriesCache
  • DefaultCategoriesFeedProvider
  • DefaultCategoriesFormController
  • DefaultCategoriesManagementController
  • DefaultCommentsTopic
  • DefaultConfigurationController
  • DefaultDeleteCategoryController
  • DefaultDeleteItemController
  • DefaultDisplayItemController
  • DefaultHomePage
  • DefaultHomePageDisplay
  • DefaultItemsManagementController
  • DefaultMailService
  • DefaultModuleConfig
  • DefaultModuleSetup
  • DefaultRichCategoriesCache
  • DefaultRichModuleConfig
  • DefaultScheduledJobsModule
  • DefaultSearchable
  • DefaultSeveralItemsController
  • DefaultSitemapCategoriesModule
  • DefaultSitemapModule
  • DefaultTemplateData
  • DefaultTemplateRenderer
  • DefaultTreeLinks
  • DeleteLinkHTMLElement
  • Dispatcher
  • DispatcherException
  • DispatcherUrlMapping
  • DispatchManager
  • DivHTMLElement
  • DoctrineException
  • EditCommentBuildForm
  • EditLinkHTMLElement
  • Environment
  • ErrorHandler
  • Event
  • ExceptionHandler
  • ExceptionUtils
  • ExpressionContentTemplateSyntaxElement
  • ExpressionTemplateSyntaxElement
  • ExtendedField
  • ExtendedFields
  • ExtendedFieldsCache
  • ExtendedFieldsDatabaseService
  • ExtendedFieldsService
  • ExtensionPointNotFoundException
  • ExtensionPointProvider
  • ExtensionPointProviderService
  • ExternalAuthenticationsExtensionPoint
  • Feed
  • FeedData
  • FeedItem
  • FeedItemEnclosure
  • FeedMenu
  • FeedsCat
  • FeedsCategoriesModule
  • FeedsList
  • File
  • FileSystemDataStore
  • FileSystemElement
  • FileSystemHelper
  • FileTemplate
  • FileTemplateLoader
  • FileTemplateLoadingException
  • FileTemplateRenderingException
  • FileType
  • FileUploadConfig
  • FileUploadService
  • Filter
  • FloatType
  • Folder
  • FormatingHelper
  • FormBuilderDisabledFieldException
  • FormBuilderException
  • FormButtonAjax
  • FormButtonAjaxCssImg
  • FormButtonButton
  • FormButtonButtonCssImg
  • FormButtonDefaultSubmit
  • FormButtonLink
  • FormButtonLinkCssImg
  • FormButtonReset
  • FormButtonSubmit
  • FormButtonSubmitCssImg
  • FormButtonSubmitImg
  • FormConstraintFieldsDifferenceInferior
  • FormConstraintFieldsDifferenceSuperior
  • FormConstraintFieldsEquality
  • FormConstraintFieldsInequality
  • FormConstraintFieldsNotIncluded
  • FormFieldActionLink
  • FormFieldActionLinkElement
  • FormFieldActionLinkList
  • FormFieldAjaxCompleter
  • FormFieldAjaxSearchUserAutoComplete
  • FormFieldAjaxUserAutoComplete
  • FormFieldAuthorizationsSetter
  • FormFieldBooleanInformation
  • FormFieldCaptcha
  • FormFieldCategoriesSelect
  • FormFieldCheckbox
  • FormFieldColorPicker
  • FormFieldConstraintAntiFlood
  • FormFieldConstraintDate
  • FormFieldConstraintDisplayNameExists
  • FormFieldConstraintFileExtension
  • FormFieldConstraintFileMaxSize
  • FormFieldConstraintForbiddenMailDomains
  • FormFieldConstraintIntegerMax
  • FormFieldConstraintIntegerMin
  • FormFieldConstraintIntegerRange
  • FormFieldConstraintLengthMax
  • FormFieldConstraintLengthMin
  • FormFieldConstraintLengthRange
  • FormFieldConstraintMailAddress
  • FormFieldConstraintMailExist
  • FormFieldConstraintMaxLinks
  • FormFieldConstraintNotEmpty
  • FormFieldConstraintPasswordStrength
  • FormFieldConstraintPHPBoostAuthLoginExists
  • FormFieldConstraintPictureFile
  • FormFieldConstraintRegex
  • FormFieldConstraintTel
  • FormFieldConstraintUrl
  • FormFieldConstraintUrlExists
  • FormFieldConstraintUserExist
  • FormFieldCSRFToken
  • FormFieldDate
  • FormFieldDateTime
  • FormFieldDecimalNumberEditor
  • FormFieldEditors
  • FormFieldFilePicker
  • FormFieldFree
  • FormFieldGroups
  • FormFieldHidden
  • FormFieldHTML
  • FormFieldLabel
  • FormFieldLangsSelect
  • FormFieldMailEditor
  • FormFieldMemberCaution
  • FormFieldMemberSanction
  • FormFieldMenuFieldset
  • FormFieldMultiLineTextEditor
  • FormFieldMultipleAutocompleter
  • FormFieldMultipleCheckbox
  • FormFieldMultipleCheckboxOption
  • FormFieldMultipleSelectChoice
  • FormFieldMultipleValuedCheckboxOption
  • FormFieldMultitabsLink
  • FormFieldMultitabsLinkElement
  • FormFieldMultitabsLinkList
  • FormFieldNumberEditor
  • FormFieldPasswordEditor
  • FormFieldPossibleValues
  • FormFieldRadioChoice
  • FormFieldRadioChoiceOption
  • FormFieldRangeEditor
  • FormFieldRanksSelect
  • FormFieldRichTextEditor
  • FormFieldSearch
  • FormFieldSelectChoiceGroupOption
  • FormFieldSelectChoiceOption
  • FormFieldSelectSources
  • FormFieldsetAccordionControls
  • FormFieldsetHidden
  • FormFieldsetHorizontal
  • FormFieldsetHTML
  • FormFieldsetHTMLHeading
  • FormFieldsetMultitabsHTML
  • FormFieldsetSubmit
  • FormFieldsetVertical
  • FormFieldShortMultiLineTextEditor
  • FormFieldSimpleSelectChoice
  • FormFieldSpacer
  • FormFieldSubTitle
  • FormFieldTelEditor
  • FormFieldTextEditor
  • FormFieldThemesSelect
  • FormFieldThumbnail
  • FormFieldTimezone
  • FormFieldUploadFile
  • FormFieldUploadPictureFile
  • FormFieldUrlEditor
  • FunctionCallTemplateSyntaxElement
  • FunctionTemplateSyntaxElement
  • GeneralConfig
  • GraphicalEnvironmentConfig
  • GroupsCache
  • GroupsService
  • HtaccessFileCache
  • HTMLForm
  • HTMLTable
  • HTMLTableAjaxUserAutoCompleteFilter
  • HTMLTableAjaxUserAutoCompleteSQLFilter
  • HTMLTableBeginsWithTextSQLFilter
  • HTMLTableCheckboxFilter
  • HTMLTableColumn
  • HTMLTableDateComparatorSQLFilter
  • HTMLTableDateGreaterThanOrEqualsToSQLFilter
  • HTMLTableDateLessThanOrEqualsToSQLFilter
  • HTMLTableDateTimeGreaterThanOrEqualsToSQLFilter
  • HTMLTableDateTimeLessThanOrEqualsToSQLFilter
  • HTMLTableEndsWithTextSQLFilter
  • HTMLTableEqualsFromListFilter
  • HTMLTableEqualsFromListSQLFilter
  • HTMLTableEqualsToSQLFilter
  • HTMLTableEscapedLikeTextSQLFilter
  • HTMLTableGreaterThanOrEqualsToSQLFilter
  • HTMLTableGreaterThanSQLFilter
  • HTMLTableLessThanOrEqualsToSQLFilter
  • HTMLTableLessThanSQLFilter
  • HTMLTableLikeFromListSQLFilter
  • HTMLTableLikeTextSQLFilter
  • HTMLTableModel
  • HTMLTableNumberComparatorSQLFilter
  • HTMLTableParameters
  • HTMLTableRow
  • HTMLTableRowCell
  • HTMLTableSortingRule
  • HTMLTableTextFilter
  • HTMLTableUnapprovedSQLFilter
  • HTTPCookie
  • HTTPFatalExceptionPrinter
  • HTTPRequestCustom
  • HTTPResponseCustom
  • I18NMessages
  • IdcardService
  • IllegalArgumentException
  • Image
  • ImageResizer
  • ImgHTMLElement
  • IncludeTemplateSyntaxElement
  • IntegerType
  • IntegratedErrorHandler
  • InvalidTemplateFunctionCallException
  • IOException
  • Item
  • ItemsAuthorizationsService
  • ItemsManager
  • ItemsModuleExtensionPointProvider
  • ItemsService
  • ItemsUrlBuilder
  • JoinMappingModel
  • JSONResponse
  • KeyGenerator
  • Keyword
  • KeywordsCache
  • KeywordsManager
  • KeywordsService
  • Lang
  • LangConfiguration
  • LangConfigurationManager
  • LangLoader
  • LangNotFoundException
  • LangsConfig
  • LangsManager
  • LangVarTemplateSyntaxElement
  • LastUseDateConfig
  • LinkHTMLElement
  • LinksMenu
  • LinksMenuElement
  • LinksMenuLink
  • LoopTemplateSyntaxElement
  • LoopVarTemplateSyntaxElement
  • Mail
  • MailServiceConfig
  • MailToPHPMailerConverter
  • MailUtil
  • MaintenanceConfig
  • MalformedUrlMapperRegexException
  • MappingModel
  • MappingModelField
  • MemberDateExtendedField
  • MemberDisabledActionAuthorization
  • MemberExtendedField
  • MemberExtendedFieldErrorsMessageException
  • MemberExtendedFieldsService
  • MemberHalfLongTextExtendedField
  • MemberHiddenExtendedField
  • MemberLongTextExtendedField
  • MemberMultipleChoiceExtendedField
  • MemberMultipleSelectExtendedField
  • MemberSanctionManager
  • MemberShortTextExtendedField
  • MemberSimpleChoiceExtendedField
  • MemberSimpleSelectExtendedField
  • MemberUserAvatarExtendedField
  • MemberUserBornExtendedField
  • MemberUserPMToMailExtendedField
  • MemberUserSexExtendedField
  • Menu
  • MenusCache
  • MenuService
  • MenusProvidersService
  • MenuStringFilter
  • MessageHelper
  • MiniCalendar
  • Module
  • ModuleConfiguration
  • ModuleConfigurationManager
  • ModuleController
  • ModuleCssFiles
  • ModuleDispatchManager
  • ModuleExtensionPointProvider
  • ModuleLink
  • ModuleMenus
  • ModuleMiniMenu
  • ModulePagination
  • ModulesConfig
  • ModulesCssFilesService
  • ModulesManager
  • ModulesUrlBuilder
  • ModuleTreeLinks
  • ModuleTreeLinksService
  • MySQLDBConnection
  • MySQLDBConnectionException
  • MySQLDBFactory
  • MySQLDBMSUtils
  • MySQLInjectQueryResult
  • MySqlPlatform
  • MySQLQuerier
  • MySQLQuerierException
  • MySQLQueryTranslator
  • MySQLSelectQueryResult
  • MySQLUnexistingDatabaseException
  • NginxFileCache
  • NoSuchControllerException
  • NotASingleRowFoundException
  • Notation
  • NotationService
  • Notification
  • NotYetImplementedException
  • NoUrlMatchException
  • NumberHelper
  • ObjectNotFoundException
  • ObjectType
  • Pagination
  • ParametersTemplateSyntaxElement
  • ParameterTypeMismatchException
  • Path
  • PDODBConnection
  • PDODBConnectionException
  • PDOInjectQueryResult
  • PDOMySQLDBFactory
  • PDOQuerier
  • PDOQuerierException
  • PDOSelectQueryResult
  • PersistenceContext
  • PHPBoostAuthenticationMethod
  • PHPBoostErrors
  • PHPBoostFoldersPermissions
  • PHPBoostIndexController
  • PHPBoostNotInstalledException
  • PHPTemplateSyntaxElement
  • PlainCodeHighlighter
  • PostgreSqlPlatform
  • PrivateMsg
  • PropertyNotFoundException
  • RAMDataStore
  • RawExceptionHandler
  • RegexHelper
  • RemainingStringVarException
  • Repository
  • RichCategory
  • RichItem
  • RichRootCategory
  • Robots
  • RolesAuthorizations
  • RootCategory
  • RowNotFoundException
  • RSS
  • SearchCategoryChildrensOptions
  • SearchResult
  • SecurityConfig
  • SelectQueryResultMapper
  • SEOMetaData
  • ServerConfiguration
  • ServerEnvironmentConfig
  • Session
  • SessionData
  • SessionNotFoundException
  • SessionsConfig
  • SimpleVarTemplateSyntaxElement
  • SiteDisplayFrameGraphicalEnvironment
  • SiteDisplayFrameResponse
  • SiteDisplayGraphicalEnvironment
  • SiteDisplayResponse
  • SitemapCategoriesModule
  • SiteNodisplayGraphicalEnvironment
  • SiteNodisplayResponse
  • SmallIntType
  • SmileysCache
  • SMTPConfiguration
  • SMTPMailService
  • SpanHTMLElement
  • SQLDAO
  • SQLFragment
  • SQLHTMLTableModel
  • SqlitePlatform
  • SQLQuerierException
  • SQLQueryVars
  • StatsCache
  • StringInputStream
  • StringOutputStream
  • StringTemplate
  • StringTemplateLoader
  • StringType
  • StringVars
  • TemplateFunctions
  • TemplateHighlighter
  • TemplateLoadingException
  • TemplateRenderingException
  • TemplateSyntaxParser
  • TemplateSyntaxParserContext
  • TextHelper
  • TextTemplateSyntaxElement
  • TextType
  • Theme
  • ThemeConfiguration
  • ThemeConfigurationManager
  • ThemesConfig
  • ThemesManager
  • TimeType
  • Timezone
  • Type
  • UnexistingDatabaseException
  • UnexistingExtensionPointProviderException
  • UnexistingHTTPParameterException
  • UnreadContributionsCache
  • UnsupportedOperationException
  • Updates
  • Upload
  • UploadedFile
  • UploadedFileTooLargeException
  • Uploads
  • Url
  • UrlControllerMapper
  • UrlMapping
  • UrlMappings
  • UrlRedirectMapper
  • UrlSerializedParameter
  • UrlSerializedParameterEncoder
  • UrlSerializedParameterParser
  • User
  • UserAccountsConfig
  • UserService
  • ValidationResult
  • VariableExpressionTemplateSyntaxElement
  • VariableTemplateSyntaxElement
  • VisitorDisabledActionAuthorization
  • WizardActionLinkList
  • WizardFormFieldsetSubmit
  • WizardHTMLForm
  • WritingPadConfig
Methods
  • __construct()
  • display()
  • get_id()
  • set_id()
  • get_form_id()
  • set_form_id()
  • set_fieldset_id()
  • get_label()
  • set_label()
  • get_description()
  • set_description()
  • get_value()
  • set_value()
  • is_required()
  • set_required()
  • validate()
  • get_validation_error_message()
  • set_validation_error_message()
  • retrieve_value()
  • get_html_id()
  • add_constraint()
  • add_form_constraint()
  • has_constraints()
  • get_js_validations()
  • get_onblur_validation()
  • add_event()
  • is_disabled()
  • disable()
  • enable()
  • is_select_to_list()
  • transformed_select()
  • not_transformed_select()
  • is_readonly()
  • set_readonly()
  • is_hidden()
  • set_hidden()
  • has_pattern()
  • set_pattern()
  • has_placeholder()
  • set_placeholder()
  • set_template()
  • get_onblur_validations()
  • compute_options()
  • get_default_template()
  • assign_common_template_variables()
  • get_css_class()
  • set_css_class()
  • get_css_field_class()
  • set_css_field_class()
  • get_css_form_field_class()
  • set_css_form_field_class()
  • set_disabled()
  • set_select_to_list()
  • get_template_to_use()
  • get_js_specialization_code()
  • assign_textarea_template_variables()
  • get_related_fields()
  • assign_editor()
  • get_preview_button_code()
  • get_reset_button_code()
  • parse_value()
  • get_raw_value()
  • set_raw_value()
  • unparse_value()
Properties
  • No public properties found
  • $rows
  • $cols
  • $id
  • $label
  • $description
  • $value
  • $disabled
  • $select_to_list
  • $hidden
  • $readonly
  • $css_class
  • $css_field_class
  • $css_form_field_class
  • $required
  • $pattern
  • $placeholder
  • $validation_error_message
  • $constraints
  • $form_constraints
  • $template
  • $events
  • $form_id
  • $fieldset_id
  • $formatter
  • $reset_value
Constants
  • No constants found
  1. APIBoost
  2. \Builder\Form\field
  3. FormFieldRichTextEditor

Class FormFieldRichTextEditor

Summary

  • File
  • Package hierarchy Form\field
  • Class hierarchy \AbstractFormField \FormFieldMultiLineTextEditor \FormFieldRichTextEditor
  • package

    Builder

  • subpackage

    Form\field

  • copyright

    © 2005-2020 PHPBoost

  • license

    https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0

  • author

    Benoit SAUTEL ben.popeye@phpboost.com

  • version

    PHPBoost 6.0 - last update: 2018 11 16

  • since

    PHPBoost 3.0 - 2010 01 09

  • contributor

    Arnaud GENET elenwii@phpboost.com

  • contributor

    mipel mipel@phpboost.com

This class represents a rich text editor.

Methods

__construct()

__construct(string $id, string $label, string $value, array<mixed,string> $field_options = array(), array<mixed,\FormFieldConstraint> $constraints = array()) 

Constructs a rich text edit field.

In addition to the parameters of the FormMultiLineEdit ones, there is the formatter which is an instance of the ContentFormattingFactory which ensures the formatting. The default value corresponds to the user's default configuration and will be the one to use 99% of the time.

Parameters
string $id

Field id

string $label

Field label

string $value

Default value

array<mixed,string> $field_options

options

array<mixed,\FormFieldConstraint> $constraints

The constraints

  • Inherited from \FormFieldRichTextEditor
Tags
None found

display()

display() : string

{@inheritdoc}

Returns
string —

The html code for the textarea.

  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_id()

get_id() : string

Returns the id.

Returns
string
  • Inherited from \AbstractFormField
Tags
None found

set_id()

set_id(string $id) 

Sets the id

Parameters
string $id

The id.

  • Inherited from \AbstractFormField
Tags
None found

get_form_id()

get_form_id() 

{@inheritdoc}

  • Inherited from \AbstractFormField
Tags
None found

set_form_id()

set_form_id( $form_id) 

Sets the id prefix

Parameters
$form_id
  • Inherited from \AbstractFormField
Tags
None found

set_fieldset_id()

set_fieldset_id( $fieldset_id) 

Sets the if of the fieldset which contains the field

Parameters
$fieldset_id

id of the fieldset

  • Inherited from \AbstractFormField
Tags
None found

get_label()

get_label() : string

Returns the label

Returns
string —

The label

  • Inherited from \AbstractFormField
Tags
None found

set_label()

set_label(string $label) 

Sets the label

Parameters
string $label

The label

  • Inherited from \AbstractFormField
Tags
None found

get_description()

get_description() : string

Returns the description

Returns
string —

the description

  • Inherited from \AbstractFormField
Tags
None found

set_description()

set_description(string $description) 

Sets the description

Parameters
string $description

The description

  • Inherited from \AbstractFormField
Tags
None found

get_value()

get_value() 

{@inheritdoc}

  • Inherited from \FormFieldRichTextEditor
Tags
None found

set_value()

set_value( $value) 

{@inheritdoc}

Parameters
$value
  • Inherited from \FormFieldRichTextEditor
Tags
None found

is_required()

is_required() : true

Tells whether the field is required

Returns
true —

if it is, false otherwise

  • Inherited from \AbstractFormField
Tags
None found

set_required()

set_required(boolean $required) 

Changes the fact that the field is required or not.

Parameters
boolean $required

true if it's required, false otherwise

  • Inherited from \AbstractFormField
Tags
None found

validate()

validate() : boolean

Validates the field by cheching if all the constraints are satisfied.

Returns
boolean —

true if the form is valid

  • Inherited from \AbstractFormField
Tags
None found

get_validation_error_message()

get_validation_error_message() 

Returns validation error message.

  • Inherited from \AbstractFormField
Tags
None found

set_validation_error_message()

set_validation_error_message(string $error_message) 

Set the validation error message.

Parameters
string $error_message

The message to set

  • Inherited from \AbstractFormField
Tags
None found

retrieve_value()

retrieve_value() 

{@inheritdoc}

  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_html_id()

get_html_id() : string

Returns the effective HTML id.

Returns
string
  • Inherited from \AbstractFormField
Tags
None found

add_constraint()

add_constraint(\FormFieldConstraint $constraint) 

Adds a constraint to the field constraints.

Parameters
\FormFieldConstraint $constraint

The constraint to add

  • Inherited from \AbstractFormField
Tags
None found

add_form_constraint()

add_form_constraint(\FormConstraint $constraint) 

Add javascript code on the onblur field parameter that makes validation

Parameters
\FormConstraint $constraint
  • Inherited from \AbstractFormField
Tags
None found

has_constraints()

has_constraints() : boolean

Return true if the field has one or more constraints, false otherwise.

Returns
boolean
  • Inherited from \AbstractFormField
Tags
None found

get_js_validations()

get_js_validations() : string

Returns the javascript onsubmit code.

Returns
string —

The javascript code that makes the validation when the form is submitted

  • Inherited from \AbstractFormField
Tags
None found

get_onblur_validation()

get_onblur_validation() 

  • Inherited from \AbstractFormField
Tags
None found

add_event()

add_event( $event,  $handler) 

Parameters
$event
$handler
  • Inherited from \AbstractFormField
Tags
None found

is_disabled()

is_disabled() : boolean

Tells whether the field is disabled

Returns
boolean
  • Inherited from \AbstractFormField
Tags
None found

disable()

disable() 

Disabled the field

  • Inherited from \AbstractFormField
Tags
None found

enable()

enable() 

Enables the field

  • Inherited from \AbstractFormField
Tags
None found

is_select_to_list()

is_select_to_list() 

  • Inherited from \AbstractFormField
Tags
None found

transformed_select()

transformed_select() 

  • Inherited from \AbstractFormField
Tags
None found

not_transformed_select()

not_transformed_select() 

  • Inherited from \AbstractFormField
Tags
None found

is_readonly()

is_readonly() 

  • Inherited from \AbstractFormField
Tags
None found

set_readonly()

set_readonly( $readonly) 

Parameters
$readonly
  • Inherited from \AbstractFormField
Tags
None found

is_hidden()

is_hidden() 

  • Inherited from \AbstractFormField
Tags
None found

set_hidden()

set_hidden( $hidden) 

Parameters
$hidden
  • Inherited from \AbstractFormField
Tags
None found

has_pattern()

has_pattern() 

  • Inherited from \AbstractFormField
Tags
None found

set_pattern()

set_pattern( $pattern) 

Parameters
$pattern
  • Inherited from \AbstractFormField
Tags
None found

has_placeholder()

has_placeholder() 

  • Inherited from \AbstractFormField
Tags
None found

set_placeholder()

set_placeholder( $placeholder) 

Parameters
$placeholder
  • Inherited from \AbstractFormField
Tags
None found

set_template()

set_template(\Template $template) 

Parameters
\Template $template
  • Inherited from \AbstractFormField
Tags
None found

get_onblur_validations()

get_onblur_validations() 

  • Inherited from \FormFieldRichTextEditor
Tags
None found

compute_options()

compute_options(array $field_options) 

Parameters
array $field_options
  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_default_template()

get_default_template() : \Template

Returns
\Template
abstract
  • Inherited from \AbstractFormField
Tags
None found

assign_common_template_variables()

assign_common_template_variables(\Template $template) 

Parameters
\Template $template
  • Inherited from \AbstractFormField
Tags
None found

get_css_class()

get_css_class() 

  • Inherited from \AbstractFormField
Tags
None found

set_css_class()

set_css_class( $css_class) 

Parameters
$css_class
  • Inherited from \AbstractFormField
Tags
None found

get_css_field_class()

get_css_field_class() 

  • Inherited from \AbstractFormField
Tags
None found

set_css_field_class()

set_css_field_class( $css_field_class) 

Parameters
$css_field_class
  • Inherited from \AbstractFormField
Tags
None found

get_css_form_field_class()

get_css_form_field_class() 

  • Inherited from \AbstractFormField
Tags
None found

set_css_form_field_class()

set_css_form_field_class( $css_form_field_class) 

Parameters
$css_form_field_class
  • Inherited from \AbstractFormField
Tags
None found

set_disabled()

set_disabled( $disabled) 

Parameters
$disabled
  • Inherited from \AbstractFormField
Tags
None found

set_select_to_list()

set_select_to_list( $select_to_list) 

Parameters
$select_to_list
  • Inherited from \AbstractFormField
Tags
None found

get_template_to_use()

get_template_to_use() : \Template

Returns
\Template
  • Inherited from \AbstractFormField
Tags
None found

get_js_specialization_code()

get_js_specialization_code() 

  • Inherited from \AbstractFormField
Tags
None found

assign_textarea_template_variables()

assign_textarea_template_variables(\Template $template) 

Parameters
\Template $template
  • Inherited from \FormFieldMultiLineTextEditor
Tags
None found

get_related_fields()

get_related_fields() 

  • Inherited from \AbstractFormField
Tags
None found

assign_editor()

assign_editor(\Template $template) 

Parameters
\Template $template
  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_preview_button_code()

get_preview_button_code() 

  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_reset_button_code()

get_reset_button_code() 

  • Inherited from \FormFieldRichTextEditor
Tags
None found

parse_value()

parse_value( $value) 

Parameters
$value
  • Inherited from \FormFieldRichTextEditor
Tags
None found

get_raw_value()

get_raw_value() 

  • Inherited from \FormFieldRichTextEditor
Tags
None found

set_raw_value()

set_raw_value( $value) 

Parameters
$value
  • Inherited from \FormFieldRichTextEditor
Tags
None found

unparse_value()

unparse_value( $value) 

Parameters
$value
  • Inherited from \FormFieldRichTextEditor
Tags
None found

Properties

$rows

$rows : 

  • Inherited from
    \FormFieldMultiLineTextEditor
Tags
None found

$cols

$cols : 

  • Inherited from
    \FormFieldMultiLineTextEditor
Tags
None found

$id

$id : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$label

$label : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$description

$description : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$value

$value : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$disabled

$disabled : boolean

boolean
  • Inherited from
    \AbstractFormField
Tags
None found

$select_to_list

$select_to_list : boolean

boolean
  • Inherited from
    \AbstractFormField
Tags
None found

$hidden

$hidden : boolean

boolean
  • Inherited from
    \AbstractFormField
Tags
None found

$readonly

$readonly : boolean

boolean
  • Inherited from
    \AbstractFormField
Tags
None found

$css_class

$css_class : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$css_field_class

$css_field_class : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$css_form_field_class

$css_form_field_class : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$required

$required : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$pattern

$pattern : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$placeholder

$placeholder : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$validation_error_message

$validation_error_message : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$constraints

$constraints : array<mixed,\FormFieldConstraint>

array<mixed,\FormFieldConstraint>
  • Inherited from
    \AbstractFormField
Tags
None found

$form_constraints

$form_constraints : array<mixed,\FormConstraint>

array<mixed,\FormConstraint>
  • Inherited from
    \AbstractFormField
Tags
None found

$template

$template : \Template

\Template
  • Inherited from
    \AbstractFormField
Tags
None found

$events

$events : \string[string]

\string[string]
  • Inherited from
    \AbstractFormField
Tags
None found

$form_id

$form_id : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$fieldset_id

$fieldset_id : string

string
  • Inherited from
    \AbstractFormField
Tags
None found

$formatter

$formatter : \ContentFormattingFactory

\ContentFormattingFactory
Tags
None found

$reset_value

$reset_value : 

Tags
None found
Documentation is powered by phpDocumentor and generated on Thu, 25 Jun 2020 11:11:28 +0200.