Class TPage

Description

Manage the page for the website

  • author: SimpliciWeb
  • version: $Id: t_page.class.php 781 2007-12-27 13:07:16Z stephanet $

Located in /core/internal_components/admin_sites/t_page/t_page.class.php (line 60)

ObjectCached
   |
   --XTPage
      |
      --TPage
Variable Summary
Method Summary
 bool addDbcDbname (string $p_dbc_dbname, [string $p_database_selected = ""])
 bool addModulePage (string $p_page_plici_page_id, string $p_page_title, integer $p_module_id, [string $p_page_product = 'NO'])
 bool checkLinkDesignContainer ( &$r_result, array $r_result)
 bool checkPageIntegrity ( &$r_result, array $r_result)
 bool createUniverselId (string $p_title)
 bool delete (integer $p_pk_page_id,  &$r_nb_row_affected, integer $r_nb_row_affected)
 bool deleteContainer (integer $p_id,  &$r_result, array $r_result)
 bool getAsMap ( &$r_result, array $r_result)
 integer getDefaultMenu ()
 integer getDefaultTab ()
 bool getDisplayTab (string $p_type,  &$r_result, array $r_result)
 bool getFirstLinkOfContainer ( &$r_result, string $plici_container_id, [integer $p_level = 4], array $r_result)
 bool getIdByString (string $p_pages_string, string $p_separator_char,  &$p_page_list,  &$r_page_id, array $p_page_list, integer $r_page_id)
 bool getListForPosition (string $p_type, string $p_fonction, integer $p_except_id,  &$r_result, array $r_result)
 bool getListPageByType (string $p_type,  &$r_result, array $r_result)
 bool getListPageMenu ( &$r_result, array $r_result)
 bool getOne (integer $p_pk_page_id,  &$r_result, array $r_result)
 bool getPageOrderedByLevel ( &$r_extrem_lb,  &$r_extrem_rb,  &$r_result, integer $r_extrem_lb, integer $r_extrem_rb, array $r_result)
 bool getPagePath (integer $p_pk_page_id,  &$r_result, array $r_result)
 bool getPagesList (integer $p_page_id,  &$r_result, array $r_result)
 bool getPageType (integer $p_pk_page_id,  &$r_result, array $r_result)
 bool getPliciTagConfiguration ( &$r_result, string $p_description, integer $page_id, array $r_result)
 bool insert (string $p_page_title, string $p_page_desc, integer $p_page_position, integer $p_page_link_design, integer $p_page_detail_design, string $p_page_visibility, string $p_page_access, string $p_page_login, string $p_page_pass, string $p_page_pass_cfm, string $p_page_ref_title, string $p_page_ref_desc, string $p_page_ref_expire_date_exist, string $p_page_ref_expire_date, string $p_page_ref_distribution, string $p_page_ref_revisit_number, string $p_page_ref_revisit_period, string $p_page_ref_robot, string $p_page_keywords, integer $p_page_print_left_border, integer $p_page_print_right_border,  &$r_page_id, [integer $p_picture = null], [string $p_page_link_plicitag = ""], [string $p_page_dbc_dbname_list = array()], integer $r_page_id)
 bool insertContainer (string $p_plici_page_id, string $p_title, integer $p_position, string $p_tpl_name, string $p_entry_filename, string $p_tpl_uri,  &$r_id,  &$r_plici_page_id, integer $r_id, string $r_plici_page_id)
 unknown listDistinctFather ( &$p_id_list,  &$r_result, array $p_id_list, array $r_result)
 bool removeDbcDbname (string $p_dbc_dbname, [string $p_database_selected = ""])
 bool resetPageDbcDbnameListField (string $p_database_selected)
 bool searchPageTitle (string $p_text,  &$p_list, integer $p_lb_limit, integer $p_rb_limit,  &$r_position, array $p_list, integer $r_position)
 bool selectPageIdent (integer $p_pk_page_id,  &$r_result, array $r_result)
 bool specialInsert (string $p_page_plici_page_id, string $p_page_title, string $p_page_product, string $p_link_design_title, string $p_link_design_entry, string $p_link_design_template, string $p_detail_design_title, string $p_detail_design_entry, string $p_detail_design_template, [string $p_module_dirname = null])
 bool specialUnitInsert (integer $p_id, string $p_plici_page_id, string $p_title, string $p_product)
 bool update (integer $p_pk_page_id, string $p_page_title, string $p_page_desc, string $p_page_position, string $p_page_link_design, string $p_page_detail_design, string $p_page_visibility, string $p_page_access, string $p_page_login, string $p_page_pass, string $p_page_pass_cfm, string $p_page_ref_title, string $p_page_ref_desc, string $p_page_ref_expire_date_exist, string $p_page_ref_expire_date, string $p_page_ref_distribution, string $p_page_ref_revisit_number, string $p_page_ref_revisit_period, string $p_page_ref_robot, string $p_page_keywords, integer $p_page_print_left_border, integer $p_page_print_right_border,  &$r_nb_row_affected, [integer $p_picture = null], [bool $p_delete_picture = null], [string $p_page_link_plicitag = ""], [string $p_page_dbc_dbname_list = array()], integer $r_nb_row_affected)
 bool updateTitleRefPage (integer $p_page_id, string $p_new_ref_page_title)
 bool xCanBeChild (string $child_type,  &$father_node, integer $father_node)
 bool xDeletePage (integer $p_pk_page_id,  &$r_nb_row_affected, [bool $p_valid_delete = TRUE], integer $r_nb_row_affected)
 bool xGetIdPageByBorder (integer $p_page_lb, integer $p_page_rb,  &$r_result, array $r_result)
 bool xGetPageByBorderAndLevel (integer $p_page_lb, integer $p_page_rb, integer $p_max_level,  &$r_result, array $r_result)
 bool xGetPageByBorderAndLevelOrdered (integer $p_level_min, integer $p_level_max, integer $p_lb, integer $p_rb, string $p_order,  &$r_result, array $r_result)
 bool xGetPageByLevel (integer $p_level_min, integer $p_level_max, integer $p_lb, integer $p_rb,  &$r_result, array $r_result)
 bool xGetPages ( &$r_result_all, array $r_result_all)
 bool xGetUniquePliciPageId ( &$r_plici_page_id, integer $p_plici_page_id, integer $r_plici_page_id)
 bool xIsNotValidPageAccess (string $p_value)
 bool xIsNotValidPageCached (string $p_value)
 bool xIsNotValidPageDate (string $p_value)
 bool xIsNotValidPageDesc (string $p_value)
 bool xIsNotValidPageEntry (string $p_value)
 bool xIsNotValidPageLinkPliciTag (string $p_value)
 bool xIsNotValidPagePrintLeftBorder (string $p_value)
 bool xIsNotValidPagePrintRightBorder (string $p_value)
 bool xIsNotValidPageProduct (string $p_value)
 bool xIsNotValidPageRefClassification (string $p_value)
 bool xIsNotValidPageRefDesc (string $p_value)
 bool xIsNotValidPageRefDistribution (string $p_value)
 bool xIsNotValidPageRefExpire (string $p_value)
 bool xIsNotValidPageRefRevisit (string $p_value)
 bool xIsNotValidPageRefRobot (string $p_value)
 bool xIsNotValidPageRefTitle (string $p_value)
 bool xIsNotValidPageTitle (string $p_value)
 bool xIsNotValidPageType (string $p_value)
 bool xIsNotValidPageVisibility (string $p_value)
 bool xMovePage (array $p_node_info, integer $p_new_id)
 array xPrepareDesign (array $p_design_list)
 bool xPrepareForPosition (array $p_page_node,  &$p_page_list, integer $p_except_id, string $p_type,  &$r_result, array $p_page_list, array $r_result)
 void xRowToArray (array $p_row,  &$r_result, array $r_result)
 unknown xShiftBorder (unknown_type $p_boundary, unknown_type $p_shiftVariation, unknown_type $p_shiftValue)
 bool _check ( &$r_resut_final, array $r_resut_final)
 bool _correct_border (integer $p_bad_border, integer $p_correct_border)
 bool _deleteModPage (integer $p_mod_id)
Variables
array $m_child_possibility = array() (line 99)
DbConnexion $m_object_dbconnexion = null (line 79)

Database Connexion object

Format $m_object_format = null (line 72)

Format Object


Redefinition of:
XTPage::$m_object_format
Format Object
TKeywordTPage $m_object_keyword = null (line 85)

TKeywordTPage object

array $m_product = array() (line 103)

Redefinition of:
XTPage::$m_product
array $m_r_product = array() (line 107)

Redefinition of:
XTPage::$m_r_product
array $m_tab_access = array() (line 91)

tab access

array $m_type_function = array() (line 95)
string $request_update_visibility = "UPDATE t_page SET page_visibility = '%s' WHERE page_visibility='%s' AND page_lb>%d AND page_rb<%d;" (line 177)
string $request_update_visible = "UPDATE t_page SET page_visibility = '%s' WHERE page_id IN %s;" (line 169)
string $req_access_apply = "UPDATE t_page SET page_access='%s', page_login=@page_login_or_null@, page_pass=@page_pass_or_null@ WHERE page_lb>=%d and page_rb<=%d;" (line 185)
string $req_addDbcDbname =
"UPDATE t_page
SET page_dbc_dbname_list = CONCAT(page_dbc_dbname_list, '%s');"
(line 257)
string $req_delete = "DELETE
FROM t_page
WHERE page_lb >= %d AND page_rb<=%d;"
(line 194)
string $req_get_for_product_list = "" (line 246)
string $req_get_page_by_border = "" (line 218)
string $req_get_page_by_border_and_level = "" (line 206)
string $req_get_page_by_level = "" (line 214)
string $req_get_page_by_mod_id = "SELECT page_id FROM t_page WHERE page_mod_id='%s';" (line 151)
string $req_get_page_by_type = "" (line 210)
string $req_insert = "" (line 222)
string $req_insert_container = "" (line 121)

SQL Request : Insrt a container

string $req_move_node = "UPDATE t_page SET page_lb=page_lb+(%d), page_rb=page_rb+(%d), page_level=page_level+(%d) WHERE page_lb>=%d and page_rb<=%d;" (line 165)
string $req_page_by_level_and_border = "" (line 250)
string $req_page_path = "" (line 242)
string $req_removeDbcDbname =
"UPDATE t_page
SET page_dbc_dbname_list = REPLACE(page_dbc_dbname_list, '%s', '');"
(line 266)
string $req_resetPageDbcdbname_list_field =
"UPDATE t_page
SET page_dbc_dbname_list = '%s';
"
(line 275)
string $req_select_all = "" (line 238)
string $req_select_by_primary_key = "" (line 234)
string $req_select_first_design_link =
"SELECT des_id
FROM t_design
LEFT JOIN t_page
ON des_page_id=page_id
WHERE plici_page_id='%s'
AND des_type='LINK'
AND des_level = %d
LIMIT 0,1;
"
(line 285)
string $req_select_page_ident = "SELECT page_lb, page_rb, page_level, page_type, page_visibility, page_access, page_login, page_pass FROM t_page WHERE %d=page_id;" (line 133)
string $req_select_page_type = "SELECT page_type FROM t_page WHERE page_id=%d;" (line 129)

SQL Request : Select page type by page id

string $req_select_son_desing_link = "
SELECT page_id, page_level
FROM t_page, t_design
WHERE page_lb>%d
AND page_rb<%d
AND page_link_des_id = des_id
AND des_type='LINK';"
(line 141)
string $req_select_son_id = "SELECT page_id FROM t_page WHERE page_lb>%d AND page_rb<%d;" (line 137)
string $req_shift_left_border = "UPDATE t_page SET page_lb = page_lb %s (%d) WHERE page_lb >= %d;" (line 157)
string $req_shift_right_border = "UPDATE t_page SET page_rb = page_rb %s (%d) WHERE page_rb >= %d;" (line 161)
string $req_super_vision = "" (line 115)

SQL Request : Select super vision

string $req_update_link_design = "UPDATE t_page SET page_link_des_id=%d WHERE page_id IN %s;" (line 173)
string $req_update_mask = "UPDATE t_page SET !!!update_value!!! WHERE page_id = %d;" (line 189)
string $req_update_page_keyword = "" (line 226)
string $req_update_page_ref_title = "" (line 230)
string $sql_update_design_son = "UPDATE t_page SET page_des_id = %d WHERE page_lb>%d AND page_rb<%d;" (line 181)
string $_req_nof_plici_page_id = "SELECT COUNT(page_id) FROM t_page WHERE plici_page_id='%s';" (line 201)

Inherited Variables

Inherited from XTPage

XTPage::$m_access
XTPage::$m_cached
XTPage::$m_dbc_dbname_list_separator
XTPage::$m_db_page_id
XTPage::$m_db_page_level
XTPage::$m_distribution
XTPage::$m_plici_page_id_translate_array
XTPage::$m_robot
XTPage::$m_r_access
XTPage::$m_r_cached
XTPage::$m_r_distribution
XTPage::$m_r_robot
XTPage::$m_r_type
XTPage::$m_r_visibility
XTPage::$m_type
XTPage::$m_visibility
XTPage::$req_get_plici_page_id

Inherited from ObjectCached

ObjectCached::$m_array_already_loader
Methods
Constructor TPage (line 301)

Constructor, init the requests and objects

TPage TPage ()
addDbcDbname (line 3652)

Add dbc_dbname to dbc_dbname_list

  • return: TRUE on error
bool addDbcDbname (string $p_dbc_dbname, [string $p_database_selected = ""])
  • string $p_dbc_dbname
  • string $p_database_selected
addModulePage (line 3499)

Add page used by module

  • return: TRUE on error
bool addModulePage (string $p_page_plici_page_id, string $p_page_title, integer $p_module_id, [string $p_page_product = 'NO'])
  • string $p_page_plici_page_id
  • string $p_page_title
  • integer $p_module_id
  • string $p_page_product
checkLinkDesignContainer (line 2894)

Check all container contain a link design

  • return: TRUE on error
bool checkLinkDesignContainer ( &$r_result, array $r_result)
  • array $r_result
  • &$r_result
checkPageIntegrity (line 3729)

Check the pages integrity

  • return: TRUE on error
bool checkPageIntegrity ( &$r_result, array $r_result)
  • array $r_result
  • &$r_result
createUniverselId (line 2955)

Create a universal id

  • return: TRUE on error
bool createUniverselId (string $p_title)
  • string $p_title
delete (line 1192)

Delete pages and supages

  • return: TRUE on error
bool delete (integer $p_pk_page_id,  &$r_nb_row_affected, integer $r_nb_row_affected)
  • integer $p_pk_page_id
  • integer $r_nb_row_affected
  • &$r_nb_row_affected
deleteContainer (line 3089)

Delete a container

  • return: TRUE on error
bool deleteContainer (integer $p_id,  &$r_result, array $r_result)
  • integer $p_id
  • array $r_result
  • &$r_result
getAsMap (line 2470)

Generate the map

It is available by $smarty In fat, in launch_system_b we do $smarty->assign_by_ref("array_page_quick_access", $pages);

  • return: TRUE on error
bool getAsMap ( &$r_result, array $r_result)
  • array $r_result
  • &$r_result
getDefaultMenu (line 642)

Default menu id

integer getDefaultMenu ()
getDefaultTab (line 650)

Default tab id

integer getDefaultTab ()
getDisplayTab (line 1359)

Retur the list of the available tabs

  • return: TRUE on error
bool getDisplayTab (string $p_type,  &$r_result, array $r_result)
  • string $p_type
  • array $r_result
  • &$r_result
getFirstLinkOfContainer (line 3622)

Get first link if for one container

  • return: TRUE on error
bool getFirstLinkOfContainer ( &$r_result, string $plici_container_id, [integer $p_level = 4], array $r_result)
  • array $r_result
  • string $plici_container_id
  • integer $p_level
  • &$r_result
getIdByString (line 2740)

Get page id by string

  • return: TRUE on error
bool getIdByString (string $p_pages_string, string $p_separator_char,  &$p_page_list,  &$r_page_id, array $p_page_list, integer $r_page_id)
  • string $p_pages_string
  • string $p_separator_char
  • array $p_page_list
  • integer $r_page_id
  • &$p_page_list
  • &$r_page_id
getListForPosition (line 815)

Return the tree for the list.

Va renvoyer l'arbre pour la liste, l'insertion ou le déplacement d'une page Le paramètre p_fonction permet de définir, si on veut juste la liste ou si on veut la liste plus les fils possibles

  • return: TRUE on error
bool getListForPosition (string $p_type, string $p_fonction, integer $p_except_id,  &$r_result, array $r_result)
  • string $p_type
  • string $p_fonction
  • integer $p_except_id
  • array $r_result
  • &$r_result
getListPageByType (line 3051)

Get page list by type

  • return: TRUE on error
bool getListPageByType (string $p_type,  &$r_result, array $r_result)
  • string $p_type
  • array $r_result
  • &$r_result
getListPageMenu (line 1095)

Get link categories list

  • return: TRUE on error
bool getListPageMenu ( &$r_result, array $r_result)
  • array $r_result
  • &$r_result
getOne (line 1708)

GetOne

  • return: TRUE on error
bool getOne (integer $p_pk_page_id,  &$r_result, array $r_result)
  • integer $p_pk_page_id
  • array $r_result
  • &$r_result
getPageOrderedByLevel (line 2668)

Retourn page list ordered by level

  • return: TRUE on error
bool getPageOrderedByLevel ( &$r_extrem_lb,  &$r_extrem_rb,  &$r_result, integer $r_extrem_lb, integer $r_extrem_rb, array $r_result)
  • integer $r_extrem_lb
  • integer $r_extrem_rb
  • array $r_result
  • &$r_extrem_lb
  • &$r_extrem_rb
  • &$r_result
getPagePath (line 1819)

return tree for a node

  • return: TRUE on error
bool getPagePath (integer $p_pk_page_id,  &$r_result, array $r_result)
  • integer $p_pk_page_id
  • array $r_result
  • &$r_result
getPagesList (line 757)

Alias for the page list

  • return: TRUE on error
bool getPagesList (integer $p_page_id,  &$r_result, array $r_result)
  • integer $p_page_id
  • array $r_result
  • &$r_result
getPageType (line 2358)

Return the page type

  • return: TRUE on error
bool getPageType (integer $p_pk_page_id,  &$r_result, array $r_result)
  • integer $p_pk_page_id
  • array $r_result
  • &$r_result
getPliciTagConfiguration (line 2387)

Parse page description to get all plicitag available Select only plicitag with configuration And get configuration form field for all this selected plicitag

  • return: TRUE on error
bool getPliciTagConfiguration ( &$r_result, string $p_description, integer $page_id, array $r_result)
  • array $r_result
  • string $p_description
  • integer $page_id
  • &$r_result
insert (line 1404)

Insert an element

p_page_position is xxx_yyy or xxx : xxx = father id, yyy= the next left border

Va insere un nouvel élément p_page_position est de la forme xxx_yyy ou xxx est l'id du père et yyy est le futur bord gauche Donc le bord droit actuel du père

  • return: TRUE on error
bool insert (string $p_page_title, string $p_page_desc, integer $p_page_position, integer $p_page_link_design, integer $p_page_detail_design, string $p_page_visibility, string $p_page_access, string $p_page_login, string $p_page_pass, string $p_page_pass_cfm, string $p_page_ref_title, string $p_page_ref_desc, string $p_page_ref_expire_date_exist, string $p_page_ref_expire_date, string $p_page_ref_distribution, string $p_page_ref_revisit_number, string $p_page_ref_revisit_period, string $p_page_ref_robot, string $p_page_keywords, integer $p_page_print_left_border, integer $p_page_print_right_border,  &$r_page_id, [integer $p_picture = null], [string $p_page_link_plicitag = ""], [string $p_page_dbc_dbname_list = array()], integer $r_page_id)
  • string $p_page_title
  • string $p_page_desc
  • integer $p_page_position
  • integer $p_page_link_design
  • integer $p_page_detail_design
  • string $p_page_visibility
  • string $p_page_access
  • string $p_page_login
  • string $p_page_pass
  • string $p_page_pass_cfm
  • string $p_page_ref_title
  • string $p_page_ref_desc
  • string $p_page_ref_expire_date_exist
  • string $p_page_ref_expire_date
  • string $p_page_ref_distribution
  • string $p_page_ref_revisit_number
  • string $p_page_ref_revisit_period
  • string $p_page_ref_robot
  • string $p_page_keywords
  • integer $p_page_print_left_border
  • integer $p_page_print_right_border
  • integer $r_page_id
  • integer $p_picture
  • string $p_page_link_plicitag
  • string $p_page_dbc_dbname_list
  • &$r_page_id
insertContainer (line 2975)

Insert a container

  • return: TRUE on error
bool insertContainer (string $p_plici_page_id, string $p_title, integer $p_position, string $p_tpl_name, string $p_entry_filename, string $p_tpl_uri,  &$r_id,  &$r_plici_page_id, integer $r_id, string $r_plici_page_id)
  • string $p_plici_page_id
  • string $p_title
  • integer $p_position
  • string $p_tpl_name
  • string $p_entry_filename
  • string $p_tpl_uri
  • integer $r_id
  • string $r_plici_page_id
  • &$r_id
  • &$r_plici_page_id
listDistinctFather (line 2643)

List distinct fathers

Entrée : Une liste d'id de page Sortie : Une liste de page contenant toutes les page formants les parents de toutes les pages passés en paramètre

unknown listDistinctFather ( &$p_id_list,  &$r_result, array $p_id_list, array $r_result)
  • array $p_id_list: List of page id
  • array $r_result: List of page
  • &$p_id_list
  • &$r_result
removeDbcDbname (line 3678)

Remove dbc_dbname to dbc_dbname_l

  • return: TRUE on error
bool removeDbcDbname (string $p_dbc_dbname, [string $p_database_selected = ""])
  • string $p_dbc_dbname
  • string $p_database_selected
resetPageDbcDbnameListField (line 3702)

This function reset page_dbc_dbname_list field

  • return: TRUE on error
bool resetPageDbcDbnameListField (string $p_database_selected)
  • string $p_database_selected
searchPageTitle (line 2866)

Search if a page is present in an array betwwen two borders

  • return: TRUE on error
bool searchPageTitle (string $p_text,  &$p_list, integer $p_lb_limit, integer $p_rb_limit,  &$r_position, array $p_list, integer $r_position)
  • string $p_text
  • array $p_list
  • integer $p_lb_limit
  • integer $p_rb_limit
  • integer $r_position
  • &$p_list
  • &$r_position
selectPageIdent (line 663)

Return the "identitary" information for a page

  • return: TRUE on error
bool selectPageIdent (integer $p_pk_page_id,  &$r_result, array $r_result)
  • integer $p_pk_page_id
  • array $r_result
  • &$r_result
specialInsert (line 3383)

Adde a special page

  • return: TRUE on error
bool specialInsert (string $p_page_plici_page_id, string $p_page_title, string $p_page_product, string $p_link_design_title, string $p_link_design_entry, string $p_link_design_template, string $p_detail_design_title, string $p_detail_design_entry, string $p_detail_design_template, [string $p_module_dirname = null])
  • string $p_page_plici_page_id
  • string $p_page_title
  • string $p_page_product
  • string $p_link_design_title
  • string $p_link_design_entry
  • string $p_link_design_template
  • string $p_detail_design_title
  • string $p_detail_design_entry
  • string $p_detail_design_template
  • string $p_module_dirname
specialUnitInsert (line 3253)

Add a special unit page

  • return: TRUE on error
bool specialUnitInsert (integer $p_id, string $p_plici_page_id, string $p_title, string $p_product)
  • integer $p_id
  • string $p_plici_page_id
  • string $p_title
  • string $p_product
update (line 1879)

Update a page

  • return: TRUE on error
bool update (integer $p_pk_page_id, string $p_page_title, string $p_page_desc, string $p_page_position, string $p_page_link_design, string $p_page_detail_design, string $p_page_visibility, string $p_page_access, string $p_page_login, string $p_page_pass, string $p_page_pass_cfm, string $p_page_ref_title, string $p_page_ref_desc, string $p_page_ref_expire_date_exist, string $p_page_ref_expire_date, string $p_page_ref_distribution, string $p_page_ref_revisit_number, string $p_page_ref_revisit_period, string $p_page_ref_robot, string $p_page_keywords, integer $p_page_print_left_border, integer $p_page_print_right_border,  &$r_nb_row_affected, [integer $p_picture = null], [bool $p_delete_picture = null], [string $p_page_link_plicitag = ""], [string $p_page_dbc_dbname_list = array()], integer $r_nb_row_affected)
  • integer $p_pk_page_id
  • string $p_page_title
  • string $p_page_desc
  • string $p_page_position
  • string $p_page_link_design
  • string $p_page_detail_design
  • string $p_page_visibility
  • string $p_page_access
  • string $p_page_login
  • string $p_page_pass
  • string $p_page_pass_cfm
  • string $p_page_ref_title
  • string $p_page_ref_desc
  • string $p_page_ref_expire_date_exist
  • string $p_page_ref_expire_date
  • string $p_page_ref_distribution
  • string $p_page_ref_revisit_number
  • string $p_page_ref_revisit_period
  • string $p_page_ref_robot
  • string $p_page_keywords
  • integer $p_page_print_left_border
  • integer $p_page_print_right_border
  • integer $r_nb_row_affected
  • integer $p_picture
  • bool $p_delete_picture
  • string $p_page_link_plicitag
  • string $p_page_dbc_dbname_list
  • &$r_nb_row_affected
updateTitleRefPage (line 778)

Update the reference title

  • return: TRUE on error
bool updateTitleRefPage (integer $p_page_id, string $p_new_ref_page_title)
  • integer $p_page_id
  • string $p_new_ref_page_title
xCanBeChild (line 1065)

Determine if a page can be the child of an another page

  • return: TRUE on error
  • access: private
bool xCanBeChild (string $child_type,  &$father_node, integer $father_node)
  • string $child_type
  • integer $father_node
  • &$father_node
xDeletePage (line 1208)

Delete page and sub-page

  • return: TRUE on error
bool xDeletePage (integer $p_pk_page_id,  &$r_nb_row_affected, [bool $p_valid_delete = TRUE], integer $r_nb_row_affected)
  • integer $p_pk_page_id
  • integer $r_nb_row_affected
  • bool $p_valid_delete
  • &$r_nb_row_affected
xGetIdPageByBorder (line 1326)

Get the list of page id

Va rechercher la liste d'id en fonction de bords

  • return: TRUE on error
  • access: private
bool xGetIdPageByBorder (integer $p_page_lb, integer $p_page_rb,  &$r_result, array $r_result)
  • integer $p_page_lb
  • integer $p_page_rb
  • array $r_result
  • &$r_result
xGetPageByBorderAndLevel (line 2593)

Sursis Ne fonctionne presque que pour la premiere est peu être remplacé par xGetPageByLevel Renvoit la liste des pages en fonction de ses bords et un level

  • return: TRUE on error
  • access: private
bool xGetPageByBorderAndLevel (integer $p_page_lb, integer $p_page_rb, integer $p_max_level,  &$r_result, array $r_result)
  • integer $p_page_lb
  • integer $p_page_rb
  • integer $p_max_level
  • array $r_result
  • &$r_result
xGetPageByBorderAndLevelOrdered (line 1126)

Renvoit la liste des pages compris entre le level min et le level max Petite astuce: Si les bords sont négatifs, va renvoyer la liste des pères et non des fils

  • return: TRUE on error
  • access: private
bool xGetPageByBorderAndLevelOrdered (integer $p_level_min, integer $p_level_max, integer $p_lb, integer $p_rb, string $p_order,  &$r_result, array $r_result)
  • integer $p_level_min
  • integer $p_level_max
  • integer $p_lb
  • integer $p_rb
  • string $p_order
  • array $r_result
  • &$r_result
xGetPageByLevel (line 1109)

Return by level

  • return: TRUE on error
  • access: private
bool xGetPageByLevel (integer $p_level_min, integer $p_level_max, integer $p_lb, integer $p_rb,  &$r_result, array $r_result)
  • integer $p_level_min
  • integer $p_level_max
  • integer $p_lb
  • integer $p_rb
  • array $r_result
  • &$r_result
xGetPages (line 1656)

Get an element

  • return: TRUE on error
  • access: private
bool xGetPages ( &$r_result_all, array $r_result_all)
  • array $r_result_all
  • &$r_result_all
xGetUniquePliciPageId (line 3330)

Get an plici_page_id

  • return: TRUE on error
  • access: private
bool xGetUniquePliciPageId ( &$r_plici_page_id, integer $p_plici_page_id, integer $r_plici_page_id)
  • integer $r_plici_page_id
  • integer $p_plici_page_id
  • &$r_plici_page_id
xIsNotValidPageAccess (line 552)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageAccess (string $p_value)
  • string $p_value
xIsNotValidPageCached (line 462)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageCached (string $p_value)
  • string $p_value
xIsNotValidPageDate (line 612)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageDate (string $p_value)
  • string $p_value
xIsNotValidPageDesc (line 502)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageDesc (string $p_value)
  • string $p_value
xIsNotValidPageEntry (line 452)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageEntry (string $p_value)
  • string $p_value
xIsNotValidPageLinkPliciTag (line 492)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageLinkPliciTag (string $p_value)
  • string $p_value
xIsNotValidPagePrintLeftBorder (line 622)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPagePrintLeftBorder (string $p_value)
  • string $p_value
xIsNotValidPagePrintRightBorder (line 632)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPagePrintRightBorder (string $p_value)
  • string $p_value
xIsNotValidPageProduct (line 472)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageProduct (string $p_value)
  • string $p_value
xIsNotValidPageRefClassification (line 602)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefClassification (string $p_value)
  • string $p_value
xIsNotValidPageRefDesc (line 522)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefDesc (string $p_value)
  • string $p_value
xIsNotValidPageRefDistribution (line 582)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefDistribution (string $p_value)
  • string $p_value
xIsNotValidPageRefExpire (line 592)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefExpire (string $p_value)
  • string $p_value
xIsNotValidPageRefRevisit (line 572)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefRevisit (string $p_value)
  • string $p_value
xIsNotValidPageRefRobot (line 562)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefRobot (string $p_value)
  • string $p_value
xIsNotValidPageRefTitle (line 512)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageRefTitle (string $p_value)
  • string $p_value
xIsNotValidPageTitle (line 482)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageTitle (string $p_value)
  • string $p_value
xIsNotValidPageType (line 542)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageType (string $p_value)
  • string $p_value
xIsNotValidPageVisibility (line 532)

Parameter Integrity checker

  • return: TRUE if not valid
  • access: private
bool xIsNotValidPageVisibility (string $p_value)
  • string $p_value
xMovePage (line 3593)

This function move pages between border to another

Cette fonction déplace des pages contenues dans un intervalle de bord vers une nouvelle page

  • return: TRUE on error
  • access: private
bool xMovePage (array $p_node_info, integer $p_new_id)
  • array $p_node_info
  • integer $p_new_id
xPrepareDesign (line 731)

Return a list of design for js

Va renvoyer une lsite de design pret a l'emploi pour le JS

  • access: private
array xPrepareDesign (array $p_design_list)
  • array $p_design_list
xPrepareForPosition (line 977)

Prepare for position

Prépare une liste pour l'insertion d'un élement

  • return: TRUE on error
  • access: private
bool xPrepareForPosition (array $p_page_node,  &$p_page_list, integer $p_except_id, string $p_type,  &$r_result, array $p_page_list, array $r_result)
  • array $p_page_node
  • array $p_page_list
  • integer $p_except_id
  • string $p_type
  • array $r_result
  • &$p_page_list
  • &$r_result
xRowToArray (line 1744)

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
xShiftBorder (line 703)

Va decaler les bornes d'un arbre

$boundary : integer - borne a partir de laquelle nous allons decaler les elements $shiftVariation : string - extension ou reduction de l'arbre $shiftValue : integer - Valeur du decalage

  • access: private
unknown xShiftBorder (unknown_type $p_boundary, unknown_type $p_shiftVariation, unknown_type $p_shiftValue)
  • unknown_type $p_boundary
  • unknown_type $p_shiftVariation
  • unknown_type $p_shiftValue
_check (line 3868)

Check page integrity

  • return: TRUE on error
bool _check ( &$r_resut_final, array $r_resut_final)
  • array $r_resut_final
  • &$r_resut_final
_correct_border (line 3841)

Correct border

  • return: TRUE on error
bool _correct_border (integer $p_bad_border, integer $p_correct_border)
  • integer $p_bad_border
  • integer $p_correct_border
_deleteModPage (line 1290)

Delete page link to module

  • return: TRUE on error
bool _deleteModPage (integer $p_mod_id)
  • integer $p_mod_id

Inherited Methods

Inherited From XTPage

 XTPage::XTPage()
 XTPage::convertLinkDisplayName()
 XTPage::getCurrentPageDbcDbNameListParameterForSearch()
 XTPage::isNotValidPageId()
 XTPage::isNotValidPliciPageId()
 XTPage::translatePageId()
 XTPage::translatePliciPageId()
 XTPage::xFillPliciPageIdTranslateArray()
 XTPage::xIsNotValidPageBorder()
 XTPage::xIsNotValidPageLevel()
 XTPage::xIsNotValidPageLogin()
 XTPage::xIsNotValidPagePass()
 XTPage::xTransformPageDbcDbnameListForBD()

Inherited From ObjectCached

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

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