Class ilBuddySystemRelationStateFactory.
More...
◆ __construct()
ilBuddySystemRelationStateFactory::__construct |
( |
| ) |
|
|
protected |
◆ getInitialState()
ilBuddySystemRelationStateFactory::getInitialState |
( |
| ) |
|
◆ getInstance()
static ilBuddySystemRelationStateFactory::getInstance |
( |
| ) |
|
|
static |
◆ getRendererByOwnerAndRelation()
ilBuddySystemRelationStateFactory::getRendererByOwnerAndRelation |
( |
|
$owner_id, |
|
|
ilBuddySystemRelation |
$relation |
|
) |
| |
◆ getStatesAsOptionArray()
ilBuddySystemRelationStateFactory::getStatesAsOptionArray |
( |
|
$with_initial_state = false | ) |
|
- Parameters
-
- Returns
- array
Definition at line 107 of file class.ilBuddySystemRelationStateFactory.php.
References PHPMailer\PHPMailer\$options, and $state.
109 if (null !== self::$state_option_array[$with_initial_state]) {
110 return self::$state_option_array[$with_initial_state];
115 foreach ($this->getValidStates() as
$state) {
116 if ($with_initial_state || !$state->isInitial()) {
117 $options[get_class($state)] = $this->lng->txt(
'buddy_bs_state_' . strtolower($state->getName()));
121 return (self::$state_option_array[$with_initial_state] =
$options);
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
◆ $instance
ilBuddySystemRelationStateFactory::$instance |
|
staticprotected |
◆ $lng
ilBuddySystemRelationStateFactory::$lng |
|
protected |
◆ $state_option_array
ilBuddySystemRelationStateFactory::$state_option_array |
|
staticprotected |
◆ $valid_states
ilBuddySystemRelationStateFactory::$valid_states |
|
staticprotected |
The documentation for this class was generated from the following file: