XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
cleanOrphan ($table_link='', $field_link='', $field_object='') | |
synchronization () | |
Fonctions membres publiques hérités de XoopsModelAbstract | |
__construct ($args=null, $handler=null) | |
setHandler ($handler) | |
setVars ($args) | |
Membres hérités additionnels | |
Champs de données hérités de XoopsModelAbstract | |
$handler | |
Object synchronization handler class.
XoopsModelAbstract Usage of methods provided by XoopsModelSync:
Step #1: set linked table and adjoint fields through XoopsPersistableObjectHandler: $handler->table_link = $handler->db->prefix("the_linked_table"); // full name of the linked table that is used for the query $handler->field_link = "the_linked_field"; // name of field in linked table that will be used to link the linked table with current table $handler->field_object = "the_object_field"; // name of field in current table that will be used to link the linked table with current table; linked field name will be used if the field name is not set Step #2: perform query
cleanOrphan | ( | $table_link = '' , |
|
$field_link = '' , |
|||
$field_object = '' |
|||
) |
Clean orphan objects against linked objects
string | $table_link | table of linked object for JOIN; deprecated, for backward compatibility |
string | $field_link | field of linked object for JOIN; deprecated, for backward compatibility |
string | $field_object | field of current object for JOIN; deprecated, for backward compatibility |
for MySQL 4.1+
synchronization | ( | ) |
Synchronizing objects