BAOBAB
co_security_node.class.php
Go to the documentation of this file.
1 <?php
2 /***************************************************************************************************************************/
26 defined( 'LGV_SDBN_CATCHER' ) or die ( 'Cannot Execute Directly' ); // Makes sure that this file is in the correct context.
27 
28 if ( !defined('LGV_ADBTB_CATCHER') ) {
29  define('LGV_ADBTB_CATCHER', 1);
30 }
31 
32 require_once(CO_Config::db_class_dir().'/a_co_db_table_base.class.php');
33 
34 /***************************************************************************************************************************/
39  protected $_ids;
40 
41  /***********************************************************************************************************************/
42  /***********************/
52  protected function _default_setup() {
53  $default_setup = parent::_default_setup();
54  return $default_setup;
55  }
56 
57  /***********************/
65  protected function _build_parameter_array() {
66  $ret = parent::_build_parameter_array();
67 
68  $ret['login_id'] = NULL;
69  $ret['personal_ids'] = NULL;
70  $ret['ids'] = NULL;
71 
72  return $ret;
73  }
74 
75  /***********************************************************************************************************************/
76  /***********************/
80  public function __construct( $in_db_object = NULL,
81  $in_db_result = NULL
82  ) {
83  parent::__construct($in_db_object, $in_db_result);
84  $this->class_description = 'The basic class for all security nodes. This should be specialized.';
85 
86  $this->instance_description = isset($this->name) && $this->name ? "$this->name ($this->_id)" : "Unnamed Security Node ($this->_id)";
87  }
88 };
if(!defined( 'LGV_ADBTB_CATCHER'))
__construct( $in_db_object=NULL, $in_db_result=NULL)