26 defined(
'LGV_DBF_CATCHER' ) or die ( 'Cannot Execute Directly' );
28 if ( !defined('LGV_SDBN_CATCHER') ) {
29 define(
'LGV_SDBN_CATCHER', 1);
32 require_once(CO_Config::db_class_dir().
'/co_security_node.class.php');
49 parent::__construct($in_db_object, $in_db_result);
50 $this->class_description =
'This is a security class for IDs.';
51 $this->instance_description = isset($this->name) && $this->name ?
"$this->name ($this->_id)" :
"Unnamed ID Node ($this->_id)";
52 $this->_special_first_time_security_exemption =
true;
53 $this->read_security_id = $this->
id();
54 $this->write_security_id = -1;
64 $ret = parent::load_from_db($in_db_result);
67 $this->read_security_id = $this->
id();
68 $this->write_security_id = -1;
69 $this->class_description =
'This is a security class for IDs.';
84 $this->_special_first_time_security_exemption =
false;
95 $ret = parent::user_can_read();
102 $exemption = in_array($this->
id(), $item->ids());
if(!defined( 'LGV_SDBN_CATCHER'))
$_special_first_time_security_exemption
load_from_db($in_db_result)
__construct( $in_db_object=NULL, $in_db_result=NULL)