forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' of https://github.com/ILIAS-eLearning/ILIAS into…
… trunk
- Loading branch information
Showing
8 changed files
with
239 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?php | ||
|
||
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */ | ||
|
||
include_once("./Services/ActiveRecord/class.ActiveRecord.php"); | ||
|
||
/** | ||
* Item group active record class | ||
* | ||
* @author Alex Killing <[email protected]> | ||
* @version $Id$ | ||
* @ingroup | ||
*/ | ||
class ilItemGroupAR extends ActiveRecord | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
static function returnDbTableName() { | ||
return 'itgr_data'; | ||
} | ||
|
||
/** | ||
* @var int | ||
* | ||
* @con_is_primary true | ||
* @con_is_unique true | ||
* @con_has_field true | ||
* @con_fieldtype integer | ||
* @con_is_notnull true | ||
* @con_length 4 | ||
* @con_sequence false | ||
*/ | ||
protected $id; | ||
|
||
/** | ||
* @var string | ||
* | ||
* @con_has_field true | ||
* @con_fieldtype integer | ||
* @con_length 1 | ||
* @con_is_notnull false | ||
*/ | ||
protected $hide_title = ''; | ||
|
||
/** | ||
* Get ID | ||
* | ||
* @return int ID | ||
*/ | ||
public function getId() { | ||
return $this->id; | ||
} | ||
|
||
|
||
/** | ||
* Set ID | ||
* | ||
* @param int $id ID | ||
*/ | ||
public function setId($id) { | ||
$this->id = $id; | ||
} | ||
|
||
/** | ||
* Set hide title | ||
* | ||
* @param bool $a_hide_title hide title | ||
*/ | ||
public function setHideTitle($a_hide_title) | ||
{ | ||
$this->hide_title = $a_hide_title; | ||
} | ||
|
||
|
||
/** | ||
* Get hide title | ||
* | ||
* @return bool hide title | ||
*/ | ||
public function getHideTitle() | ||
{ | ||
return $this->hide_title; | ||
} | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.