content
Packages
Interfaces
Classes
Files

Class: ContentEditor

Source Location: /content/editor/editor.class.php [line 34]

Class Overview


Abstract class for editors content.

Author(s):



Class Details

Abstract class for editors content.

Tags:

[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Methods

constructor ContentEditor [line 36]

ContentEditor ContentEditor( [ $language_type = null])

Parameters:

   $language_type  
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_forbidden_tags [line 60]

array get_forbidden_tags( )
Get the fordidden tags.

Tags:

  • return: List of forbidden tags.
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method get_template [line 87]

Template get_template( )
Get the template used for the editor.

Tags:

  • return: The template
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_forbidden_tags [line 51]

void set_forbidden_tags( array &$forbidden_tags)
Set the forbidden tags

Parameters:

array   &$forbidden_tags   List of forbidden tags.
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_identifier [line 69]

void set_identifier( string $identifier)
Set the html identifier of the textarea field which contain the content to edit.

Parameters:

string   $identifier   The html identifier.
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method set_template [line 78]

void set_template( &$template, Template $template.)
Set an alternative template for the editor.

Parameters:

Template   $template.  
   &$template  
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Variables

[line 101]   mixed  $forbidden_tags  = array()
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 102]   mixed  $identifier  =  'contents'
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 100]   mixed  $language_type  =  DEFAULT_LANGUAGE
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
[line 103]   mixed  $template  =  null
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]
Documentation generated on Tue, 28 Jul 2009 22:43:36 +0200 by phpDocumentor 1.4.1