Class Content

ModuleBase
   |
   +----Content

Located in File: Program_Root/content.inc.php


Content object
 This object is dynamically created within the form-handler. It can be
 used and dynamically changed to produce plain text or HTML output to be
 used for mails or screen output (e.g. regular display or error).

 

Class Variable Summary
$name
Default Value: ->"IncludeContent"<-
$id
Default Value: ->INC_CONTENT<-
$text
Default Value: ->""<-
$html
Default Value: ->false<-
$title
Default Value: ->TITLE<-
$header
Default Value: ->CONTENT_HEADER<-
$footer
Default Value: ->CONTENT_FOOTER<-
$title_changed
Default Value: ->false<-
$header_changed
Default Value: ->false<-
$footer_changed
Default Value: ->false<-
$isset
Default Value: ->false<-

Method Summary
Content ( $name, [$text = ""], [$html = false] )
Constructor
set_html ( [$switch = true] )
Set content to HTML
convert_content ( $vars )
Convert content
set_content ( $new_content )
Set content
addto_content ( $add_content )
Add text to content
insert_content ( $ins_content )
Insert content
get_content ( [$final = false], [$vars = ""] )
Get content text
set_header ( $header )
Set header
set_footer ( $footer )
Set footer
set_title ( $title )
Set title
set_title_default ( )
Set title default
isset_content ( )
Is content set

Variable Detail

$name



$id



$text



$html



$title



$header



$footer



$title_changed



$header_changed



$footer_changed



$isset




Function Detail

Content

Content ( $name, [$text = ""], [$html = false] )

Constructor

Function Parameters:
Function Info:

set_html

set_html ( [$switch = true] )

Set content to HTML

Function Parameters:
Function Info:

convert_content

convert_content ( $vars )

Convert content
 Create content based on variables

Function Parameters:
Function Info:

set_content

set_content ( $new_content )

Set content
 Store new content text

Function Parameters:
Function Info:

addto_content

addto_content ( $add_content )

Add text to content

Function Parameters:
Function Info:

insert_content

insert_content ( $ins_content )

Insert content
 Append text to content

Function Parameters:
Function Info:

get_content

get_content ( [$final = false], [$vars = ""] )

Get content text

Function Parameters:
Function Info:

set_header

set_header ( $header )

Set header

Function Parameters:
Function Info:

set_footer

set_footer ( $footer )

Set footer

Function Parameters:
Function Info:

set_title

set_title ( $title )

Set title

Function Parameters:
Function Info:

set_title_default

set_title_default ( )

Set title default

Function Parameters:
Function Info:

isset_content

isset_content ( )

Is content set
 Check if the content has been changed

Function Parameters:
Function Info: