24include_once(
'./Services/ContainerReference/classes/class.ilContainerReference.php');
 
   49    public function __construct($a_id = 0, $a_call_by_reference = 
true)
 
   62        $this->member_update = $status;
 
   83        $query = 
'select member_update from crs_reference_settings where ' .
 
   87            return (
bool) $row->member_update;
 
   98        $id = parent::create();
 
  100        $query = 
'INSERT INTO crs_reference_settings (obj_id, member_update ) ' .
 
  105        $this->db->manipulate(
$query);
 
  116        $query = 
'SELECT * FROM crs_reference_settings ' .
 
  130        $query = 
'UPDATE crs_reference_settings ' .
 
  133        $this->db->manipulate(
$query);
 
  143    public function delete()
 
  145        if (!parent::delete()) {
 
  148        $query = 
'DELETE FROM crs_reference_settings ' .
 
  150        $this->db->manipulate(
$query);
 
  158    public function cloneObject($a_target_id, $a_copy_id = 0, $a_omit_tree = 
false)
 
  160        $new_obj = parent::cloneObject($a_target_id, $a_copy_id, $a_omit_tree);
 
An exception for terminatinating execution or to throw for unit testing.
static getLogger($a_component_id)
Get component logger.
update()
update object in db@access public boolean true on success
cloneObject($a_target_id, $a_copy_id=0, $a_omit_tree=false)
Clone course reference.@access public
__construct($a_id=0, $a_call_by_reference=true)
Constructor.
static lookupMemberUpdateEnabled(int $obj_id)
enableMemberUpdate(bool $status)
getId()
get object id @access public
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
foreach($_POST as $key=> $value) $res