Textarea
class Textarea extends AbstractEditor
Class Textarea
Traits
Properties
static protected string | $id | The component id | |
static protected array | $componentInfo | The component information | |
static protected bool | $supportDesktop | from MobileSupportTrait | |
static protected bool | $supportMobile | from MobileSupportTrait | |
protected EditorHandler | $editors | EditorHandler instance | from AbstractEditor |
protected UrlGenerator | $urls | UrlGenerator instance | from AbstractEditor |
protected Gate | $gate | Gate instance | from AbstractEditor |
protected SkinHandler | $skins | SkinHandler instance | from AbstractEditor |
protected Dispatcher | $events | Dispatcher instance | from AbstractEditor |
protected FrontendHandler | $frontend | FrontendHandler instance | from AbstractEditor |
protected string | $instanceId | Instance identifier | from AbstractEditor |
protected ConfigEntity|null | $config | ConfigEntity instance | from AbstractEditor |
protected array | $arguments | Given arguments for the editor | from AbstractEditor |
protected null | $options | Options for the editor | from AbstractEditor |
protected array | $files | Used files | from AbstractEditor |
protected bool | $scriptOnly | Indicates if used only javascript. | from AbstractEditor |
protected AbstractTool[] | $tools | The registered tools for the editor | from AbstractEditor |
static protected callable | $imageResolver | The image resolver | from AbstractEditor |
protected array | $defaultArguments | Default editor arguments | from AbstractEditor |
protected string | $fileInputName | The file input name | from AbstractEditor |
protected string | $tagInputName | The tag input name | from AbstractEditor |
protected string | $mentionInputName | The mention input name | from AbstractEditor |
protected string | $fileClassName | The file class name | from AbstractEditor |
protected string | $imageClassName | The image class name | from AbstractEditor |
protected string | $tagClassName | The tag class name | from AbstractEditor |
protected string | $mentionClassName | The mention class name | from AbstractEditor |
protected string | $fileIdentifierAttrName | The file identifier attribute name | from AbstractEditor |
protected string | $imageIdentifierAttrName | The image identifier attribute name | from AbstractEditor |
protected string | $mentionIdentifierAttrName | The mention identifier attribute name | from AbstractEditor |
Methods
information을 추가하거나 수정한다.
AbstractEditor constructor.
Get a editor name
Determine if a editor html usable.
Get the evaluated contents of the object.
Compile the raw content to be useful
Compile content body
Get attributes string for content html tag
Get html node data
Get uri for custom setting
Details
in ComponentTrait at line 51
static string
getId()
component의 id를 반환한다.
in ComponentTrait at line 67
static void
setId(string $id)
component의 id를 지정한다.
in ComponentTrait at line 83
static mixed
getComponentInfo(string $key = null)
information을 검색한다.
in ComponentTrait at line 99
static void
setComponentInfo(string $key, mixed $value = null)
information을 추가하거나 수정한다.
in ComponentTrait at line 119
static void
boot()
boot
in ComponentTrait at line 129
static null|string
getSettingsURI()
return settings manage uri
in MobileSupportTrait at line 42
static bool
supportDesktop()
desktop 버전 지원 여부를 조사한다.
in MobileSupportTrait at line 52
static bool
supportMobile()
mobile 버전 지원 여부를 조사한다.
in MobileSupportTrait at line 64
static bool
support(string $version)
지정된 버전을 지원하는지 조사한다.
in AbstractEditor at line 235
__construct(EditorHandler $editors, UrlGenerator $urls, Gate $gate, SkinHandler $skins, Dispatcher $events, FrontendHandler $frontend, string $instanceId)
AbstractEditor constructor.
in AbstractEditor at line 259
$this
setConfig(ConfigEntity $config)
Set config for the editor
in AbstractEditor at line 271
null|ConfigEntity
getConfig()
Get config for the editor
in AbstractEditor at line 282
$this
setArguments(array $arguments = array())
Set arguments for the editor
in AbstractEditor at line 298
array
getArguments()
Get arguments for the editor
in AbstractEditor at line 309
void
setFiles(array $files = array())
Set files the editor used
at line 49
string
getName()
Get a editor name
at line 59
boolean
htmlable()
Determine if a editor html usable.
in AbstractEditor at line 333
array
getOptions()
Get options
in AbstractEditor at line 347
protected array
buildOptions()
Build options
in AbstractEditor at line 363
protected array
getStaticOption()
Get static option data for the editor
in AbstractEditor at line 405
protected array
getDynamicOption()
Get dynamic option data for the editor
in AbstractEditor at line 433
array
getActivateToolIds()
Get activated tool's identifier for the editor
in AbstractEditor at line 443
protected void
loadTools()
Load tools
in AbstractEditor at line 455
AbstractTool[]
getTools()
Get activated tools for the editor
at line 69
string
render()
Get the evaluated contents of the object.
in AbstractEditor at line 495
string
compile(string $content, bool $htmlable = false)
Compile the raw content to be useful
at line 83
protected string
compileBody(string $content)
Compile content body
in AbstractEditor at line 525
protected string
getContentHtml()
Get a content html tag string
in AbstractEditor at line 547
protected string
getContentDomHtmlOption(array $domOptions)
Get attributes string for content html tag
in AbstractEditor at line 563
protected mixed
getEditorScript(array $options)
Get script for running the editor
in AbstractEditor at line 587
array
getCustomOptions()
Get options for some editor only
in AbstractEditor at line 598
protected string
hashTag(string $content)
Compile tags in content body
in AbstractEditor at line 619
protected string
mention(string $content)
Compile mentions in content body
in AbstractEditor at line 645
protected string
link(string $content)
Compile links in content body
in AbstractEditor at line 656
protected string
image(string $content)
Compile images in content body
in AbstractEditor at line 705
private array
getData(string $content, string $selector, array $attributes = array())
Get html node data
in AbstractEditor at line 732
static void
setImageResolver(callable $resolver)
Set the image resolver
in AbstractEditor at line 743
static array
resolveImage(array $ids = array())
Resolve image instances
in AbstractEditor at line 756
private Crawler
createCrawler(string $content)
Create crawler instance
in AbstractEditor at line 766
string
getInstanceId()
Get instance id for the editor
in AbstractEditor at line 777
static string|null
getInstanceSettingURI(string $instanceId)
Get uri for custom setting
in AbstractEditor at line 787
string
getFileInputName()
Get the file input name
in AbstractEditor at line 797
string
getTagInputName()
Get the tag input name
in AbstractEditor at line 807
string
getMentionInputName()
Get the mention input name
in AbstractEditor at line 817
string
getFileClassName()
Get the file class name
in AbstractEditor at line 827
string
getImageClassName()
Get the image class name
in AbstractEditor at line 837
string
getTagClassName()
Get the tag class name
in AbstractEditor at line 847
string
getMentionClassName()
Get the mention class name
in AbstractEditor at line 857
string
getFileIdentifierAttrName()
Get the file identifier attribute name
in AbstractEditor at line 867
string
getImageIdentifierAttrName()
Get the image identifier attribute name
in AbstractEditor at line 877
string
getMentionIdentifierAttrName()
Get the mention identifier attribute name