IP.Board  3.3.0
hanEditor Class Reference

Public Member Functions

 __construct (ipsRegistry $registry)
 init ()
 processRawPost ($form_field, $isDefinitelyFullText=false)
 showEditor ($text, $form_field='post_content')
 unProcessRawPost ($text)

Data Fields

 $acp_editor_id = 0
 $class_editor
 $editor_id = 'ed-0'
 $emo_dir = ''
 $image_dir = ''
 $method = ''
 $remove_emoticons = false
 $rte_on = false

Protected Attributes

 $cache
 $caches
 $DB
 $lang
 $member
 $memberData
 $registry
 $request
 $settings

Constructor & Destructor Documentation

__construct ( ipsRegistry registry)

#@- Constructor

Parameters:
object$registryRegistry object
Returns:
void

Member Function Documentation

init ( )

Init method

Parameters:
objectRegistry object
Returns:
void
processRawPost ( form_field,
isDefinitelyFullText = false 
)

Retrieve the posted contents from the editor

Parameters:
stringForm field name OR raw text
booleanIs definitely full text and not a field name
Returns:
string Editor HTML
showEditor ( text,
form_field = 'post_content' 
)

Show the editor

Parameters:
stringRaw text with bbcode
stringForm field name
Returns:
string Editor HTML
unProcessRawPost ( text)

Runs through processBeforeForm

Parameters:
stringRaw text
Returns:
string Processed text

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables