Classification provider.
More...
|
static | getValidProviders ($a_parent_ref_id, $a_parent_obj_id, $a_parent_obj_type) |
| Get all valid providers (for parent container) More...
|
|
static | isActive ($a_parent_ref_id, $a_parent_obj_id, $a_parent_obj_type) |
| Is provider currently active? More...
|
|
◆ __construct()
ilClassificationProvider::__construct |
( |
|
$a_parent_ref_id, |
|
|
|
$a_parent_obj_id, |
|
|
|
$a_parent_obj_type |
|
) |
| |
Constructor.
- Parameters
-
int | $a_parent_ref_id | |
int | $a_parent_obj_id | |
string | $a_parent_obj_type | |
- Returns
- self
Definition at line 26 of file class.ilClassificationProvider.php.
References init(), and string.
28 $this->parent_ref_id = (int)$a_parent_ref_id;
29 $this->parent_obj_id = (int)$a_parent_obj_id;
30 $this->parent_type = (
string)$a_parent_obj_type;
Add rich text string
The name of the decorator.
init()
Instance initialisation.
◆ getFilteredObjects()
ilClassificationProvider::getFilteredObjects |
( |
| ) |
|
|
abstract |
◆ getValidProviders()
static ilClassificationProvider::getValidProviders |
( |
|
$a_parent_ref_id, |
|
|
|
$a_parent_obj_id, |
|
|
|
$a_parent_obj_type |
|
) |
| |
|
static |
Get all valid providers (for parent container)
- Parameters
-
int | $a_parent_ref_id | |
int | $a_parent_obj_id | |
string | $a_parent_obj_type | |
- Returns
- array
Definition at line 51 of file class.ilClassificationProvider.php.
References $res, array, getFilteredObjects(), importPostData(), ilTaxonomyClassificationProvider\isActive(), ilTaggingClassificationProvider\isActive(), isActive(), render(), and setSelection().
Referenced by ilClassificationBlockGUI\initProviders().
55 include_once
"Services/Taxonomy/classes/class.ilTaxonomyClassificationProvider.php";
61 include_once
"Services/Tagging/classes/class.ilTaggingClassificationProvider.php";
static isActive($a_parent_ref_id, $a_parent_obj_id, $a_parent_obj_type)
Taxonomy classification provider.
static isActive($a_parent_ref_id, $a_parent_obj_id, $a_parent_obj_type)
Create styles array
The data for the language used.
Tag classification provider.
◆ importPostData()
ilClassificationProvider::importPostData |
( |
|
$a_saved = null | ) |
|
|
abstract |
◆ init()
ilClassificationProvider::init |
( |
| ) |
|
|
protected |
◆ initListGUI()
◆ isActive()
static ilClassificationProvider::isActive |
( |
|
$a_parent_ref_id, |
|
|
|
$a_parent_obj_id, |
|
|
|
$a_parent_obj_type |
|
) |
| |
|
staticabstract |
Is provider currently active?
- Parameters
-
int | $a_parent_ref_id | |
int | $a_parent_obj_id | |
string | $a_parent_obj_type | |
- Returns
- bool
Referenced by getValidProviders().
◆ render()
ilClassificationProvider::render |
( |
array & |
$a_html, |
|
|
|
$a_parent_gui |
|
) |
| |
|
abstract |
Render HTML chunks.
- Parameters
-
array | $a_html | |
object | $a_parent_gui | |
Referenced by getValidProviders().
◆ setSelection()
ilClassificationProvider::setSelection |
( |
|
$a_value | ) |
|
|
abstract |
◆ $parent_obj_id
ilClassificationProvider::$parent_obj_id |
|
protected |
◆ $parent_ref_id
ilClassificationProvider::$parent_ref_id |
|
protected |
◆ $parent_type
ilClassificationProvider::$parent_type |
|
protected |
The documentation for this class was generated from the following file: