Class TTextEmailBody

Description

Any class wich extend ObjectCached can use a function cache using xRemembered, etc.

  • author: SimpliciWeb
  • version: $Id: t_text_emailbody.class.php 606 2007-07-19 10:14:30Z stephanet $

Located in /core/internal_components/common/t_text/t_text_emailbody.class.php (line 61)

ObjectCached
   |
   --XTText
      |
      --TTextEmailBody
Variable Summary
Method Summary
 bool get (string $p_type,  &$r_text, string $r_text)
 bool getDefaultType ( &$r_type, string $r_type)
 bool getInformationsForType (string $p_type,  &$r_result, array $r_result)
 bool getParametersForType (string $p_type,  &$r_result, array $r_result)
 bool getSubject (string $p_type,  &$r_text, string $r_text)
 bool getTypes ( &$r_types, array $r_types)
 bool getTypesWithDesc ( &$r_types, array $r_types)
 bool insert (string $p_type, string $p_tex_desc)
 bool insertSubject (string $p_type, string $p_tex_desc)
 bool isNotValidTfiId (string $p_value)
 void setDataBaseSelected (string $p_database)
 void xRowToArray (array $p_row,  &$r_result, array $r_result)
Variables
string $m_database_selected = "" (line 87)

Set database selected

array $m_footer = array() (line 74)

Footer

Format $m_object_format = NULL (line 93)

Format Object

string $m_parameter_separator = "," (line 68)

Parameter separator

array $m_r_footer = array() (line 80)

r footer

string $req_default_type =
"SELECT tfi_id
FROM t_text_field
ORDER BY tfi_id
LIMIT 0,1;"
(line 112)

SQL Request : Default type

string $req_get_descriptions = "" (line 100)

SQL Request : Get descriptions

string $req_get_parameter =
"SELECT tfi_bbcodes
FROM t_text_field
WHERE tfi_id = '%s'
LIMIT 0,1;"
(line 131)

SQL Request : Get parameter

string $req_get_text_id =
"SELECT tfi_text_id
FROM t_text_field
WHERE tfi_id = '%s'
LIMIT 0,1;"
(line 141)

SQL Request : Get text id

string $req_get_type =
"SELECT tfi_id
FROM t_text_field
ORDER BY tfi_id;"
(line 122)

SQL Request : Get type

string $req_select_by_primary_key = "" (line 106)

SQL Request : Select by primary key

Inherited Variables

Inherited from XTText

XTText::$m_array_already_loader
XTText::$m_object_dbconnexion
XTText::$m_object_siteinformation
XTText::$req_delete
XTText::$req_insert
XTText::$req_select
Methods
Constructor TTextEmailBody (line 152)

Constructor, init the requests and objects

TTextEmailBody TTextEmailBody ()
get (line 423)

Get

  • return: TRUE on error
bool get (string $p_type,  &$r_text, string $r_text)
  • string $p_type
  • string $r_text
  • &$r_text
getDatabaseSelected (line 202)

Get database selected

string getDatabaseSelected ()
getDefaultType (line 213)

Get default type

  • return: TRUE on error
bool getDefaultType ( &$r_type, string $r_type)
  • string $r_type
  • &$r_type
getInformationsForType (line 307)

Get One

  • return: TRUE on error
bool getInformationsForType (string $p_type,  &$r_result, array $r_result)
  • string $p_type
  • array $r_result
  • &$r_result
getParametersForType (line 363)

Get all parameter for one typ

  • return: TRUE on error
bool getParametersForType (string $p_type,  &$r_result, array $r_result)
  • string $p_type
  • array $r_result
  • &$r_result
getSubject (line 459)

Get subject

  • return: TRUE on error
bool getSubject (string $p_type,  &$r_text, string $r_text)
  • string $p_type
  • string $r_text
  • &$r_text
getTypes (line 276)

Get all type

  • return: TRUE on error
bool getTypes ( &$r_types, array $r_types)
  • array $r_types
  • &$r_types
getTypesWithDesc (line 245)

Get descriptions

  • return: TRUE on error
bool getTypesWithDesc ( &$r_types, array $r_types)
  • array $r_types
  • &$r_types
insert (line 444)

Insert

  • return: TRUE on error
bool insert (string $p_type, string $p_tex_desc)
  • string $p_type
  • string $p_tex_desc
insertSubject (line 503)

Insert subject

  • return: TRUE on error
bool insertSubject (string $p_type, string $p_tex_desc)
  • string $p_type
  • string $p_tex_desc
isNotValidTfiId (line 183)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool isNotValidTfiId (string $p_value)
  • string $p_value
setDataBaseSelected (line 193)

Set database selected

void setDataBaseSelected (string $p_database)
  • string $p_database
xRowToArray (line 341)

Convert a number indexed array to an fieldname indexed array

void xRowToArray (array $p_row,  &$r_result, array $r_result)
  • array $p_row
  • array $r_result
  • &$r_result

Inherited Methods

Inherited From XTText

 XTText::XTText()
 XTText::xDelete()
 XTText::xGet()
 XTText::xInsert()

Inherited From ObjectCached

 ObjectCached::xClearRemember()
 ObjectCached::xClearRememberAll()
 ObjectCached::xIsRemembered()
 ObjectCached::xRemember()

Documentation generated on Tue, 25 Mar 2008 15:37:25 +0100 by phpDocumentor 1.3.2