BAOBAB
co_owner.class.php
Go to the documentation of this file.
1 <?php
2 /***************************************************************************************************************************/
26 defined( 'LGV_DBF_CATCHER' ) or die ( 'Cannot Execute Directly' ); // Makes sure that this file is in the correct context.
27 
28 require_once(CO_Config::db_class_dir().'/a_co_db_table_base.class.php');
29 CO_Config::require_extension_class('tco_owner.interface.php');
30 
31 /***************************************************************************************************************************/
35  use tCO_Owner; // These are the built-in owner methods.
36 
37  /***********************************************************************************************************************/
38  /***********************/
42  public function __construct( $in_db_object = NULL,
43  $in_db_result = NULL
44  ) {
45  parent::__construct($in_db_object, $in_db_result);
46  $this->class_description = "This is an 'Owner' Class for general items.";
47  $this->children_ids();
48  }
49 
50  /***********************/
56  public function load_from_db( $in_db_result
57  ) {
58  $ret = parent::load_from_db($in_db_result);
59 
60  $this->class_description = "This is an 'Owner' Class for general items.";
61  $this->instance_description = $this->name;
62  }
63 };