Class humhub\modules\friendship\controllers\RequestController
Inheritance | humhub\modules\friendship\controllers\RequestController » humhub\components\Controller » yii\web\Controller |
---|
Membership Handling Controller
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$actionTitlesMap | array | Page titles | humhub\components\Controller |
$pageTitle | string | Title of the rendered page | humhub\components\Controller |
$prependActionTitles | boolean | Append page title | humhub\components\Controller |
$subLayout | null|string | The name of the sub layout to be applied to this controller's views. | humhub\components\Controller |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$access | string | Defines the ControllerAccess class for this controller responsible for managing access rules | humhub\components\Controller |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
forbidden() | humhub\components\Controller | |
getAccessRules() | Returns access rules for the standard access control behavior. | humhub\components\Controller |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_INIT | \yii\base\Event | An event raised on init a controller. | humhub\components\Controller |
Method Details
Adds or Approves Friendship Request
public void actionAdd ( ) | ||
throws | \yii\web\HttpException |
---|
Declines or Deletes Friendship
public void actionDelete ( ) | ||
throws | \yii\web\HttpException |
---|
public void beforeAction ( $action ) | ||
$action | ||
throws | \yii\web\HttpException |
---|