Class humhub\modules\space\modules\manage\models\AdvancedSettingsSpace

Inheritancehumhub\modules\space\modules\manage\models\AdvancedSettingsSpace » humhub\modules\space\models\Space » humhub\modules\content\components\ContentContainerActiveRecord » humhub\components\ActiveRecord » yii\db\ActiveRecord
ImplementsSerializable, humhub\modules\search\interfaces\Searchable

AdvancedSettingsSpace

Public Methods

Hide inherited methods

MethodDescriptionDefined By
afterDelete() humhub\modules\content\components\ContentContainerActiveRecord
afterSave() humhub\modules\space\modules\manage\models\AdvancedSettingsSpace
archive() Archive this Space humhub\modules\space\models\Space
attributeHints() humhub\modules\space\models\Space
attributeLabels() humhub\modules\space\modules\manage\models\AdvancedSettingsSpace
beforeDelete() humhub\modules\space\models\Space
beforeSave() humhub\components\ActiveRecord
behaviors() humhub\modules\space\models\Space
can() Checks if the current user has the given Permission on this ContentContainerActiveRecord. humhub\modules\content\components\ContentContainerActiveRecord
canAccessPrivateContent() Checks if the user is allowed to access private content in this container humhub\modules\content\components\ContentContainerActiveRecord
canInvite() Checks if given user can invite people to this workspace Note: use directly permission instead humhub\modules\space\models\Space
canJoin() Indicates that this user can join this workspace humhub\modules\space\models\Space
canJoinFree() Indicates that this user can join this workspace w ithout permission humhub\modules\space\models\Space
canShare() Checks if given user can share content. humhub\modules\space\models\Space
checkVisibility() Validator for visibility humhub\modules\space\models\Space
createUrl() Creates url in content container scope. humhub\modules\content\components\ContentContainerActiveRecord
findByGuid() humhub\modules\content\components\ContentContainerActiveRecord
getApplicants() humhub\modules\space\models\Space
getContentContainerRecord() Returns the related ContentContainer model (e.g. Space or User) humhub\modules\content\components\ContentContainerActiveRecord
getCreatedBy() Relation to User defined in created_by attribute humhub\components\ActiveRecord
getDefaultContentVisibility() Determines the default visibility of this container type. humhub\modules\content\components\ContentContainerActiveRecord
getDisplayName() Returns the display name of content container humhub\modules\content\components\ContentContainerActiveRecord
getErrorMessage() Returns the errors as string for all attribute or a single attribute. humhub\components\ActiveRecord
getFileManager() Returns the file manager for this record humhub\components\ActiveRecord
getMembershipUser() humhub\modules\space\models\Space
getMemberships() Returns all Membership relations with status = STATUS_MEMBER. humhub\modules\space\models\Space
getModuleManager() Returns a ModuleManager humhub\modules\content\components\ContentContainerActiveRecord
getNonMembershipUser() humhub\modules\space\models\Space
getOwnerUser() humhub\modules\space\models\Space
getPermissionManager() Returns a ContentContainerPermissionManager instance for this ContentContainerActiveRecord as permission object and the given user (or current user if not given) as permission subject. humhub\modules\content\components\ContentContainerActiveRecord
getProfileBannerImage() Returns the Profile Banner Image Object for this Content Base humhub\modules\content\components\ContentContainerActiveRecord
getProfileImage() Returns the Profile Image Object for this Content Base humhub\modules\content\components\ContentContainerActiveRecord
getSearchAttributes() Returns an array of informations used by search subsystem. humhub\modules\space\models\Space
getTags() Returns an array with assigned Tags humhub\modules\space\models\Space
getUniqueId() Returns a unique id for this record/model humhub\components\ActiveRecord
getUpdatedBy() Relation to User defined in updated_by attribute humhub\components\ActiveRecord
getUrl() Should be overwritten by implementation humhub\modules\content\components\ContentContainerActiveRecord
getUserGroup() Returns user group for the given $user or current logged in user if no $user instance was provided. humhub\modules\content\components\ContentContainerActiveRecord
getUserGroups() Returns user groups humhub\modules\content\components\ContentContainerActiveRecord
getWallOut() Returns the wall output for this content container. humhub\modules\content\components\ContentContainerActiveRecord
hasTags() Checks if space has tags humhub\modules\space\models\Space
isArchived() Returns weather or not the contentcontainer is archived. (Default false). humhub\modules\content\components\ContentContainerActiveRecord
isVisibleFor() Checks the current visibility setting of this ContentContainerActiveRecord humhub\modules\content\components\ContentContainerActiveRecord
rules() humhub\modules\space\modules\manage\models\AdvancedSettingsSpace
scenarios() humhub\modules\space\modules\manage\models\AdvancedSettingsSpace
serialize() Serializes attributes and oldAttributes of this record. humhub\components\ActiveRecord
tableName() humhub\modules\space\models\Space
unarchive() Unarchive this Space humhub\modules\space\models\Space
unserialize() Unserializes the given string, calls the init() function and sets the attributes and oldAttributes. humhub\components\ActiveRecord

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
JOIN_POLICY_APPLICATION 1 humhub\modules\space\models\Space
JOIN_POLICY_FREE 2 humhub\modules\space\models\Space
JOIN_POLICY_NONE 0 humhub\modules\space\models\Space
SCENARIO_CREATE 'create' humhub\modules\space\models\Space
SCENARIO_EDIT 'edit' humhub\modules\space\models\Space
STATUS_ARCHIVED 2 humhub\modules\space\models\Space
STATUS_DISABLED 0 humhub\modules\space\models\Space
STATUS_ENABLED 1 humhub\modules\space\models\Space
USERGROUP_ADMIN 'admin' humhub\modules\space\models\Space
USERGROUP_GUEST 'guest' humhub\modules\space\models\Space
USERGROUP_MEMBER 'member' humhub\modules\space\models\Space
USERGROUP_MODERATOR 'moderator' humhub\modules\space\models\Space
USERGROUP_OWNER 'owner' humhub\modules\space\models\Space
USERGROUP_USER 'user' humhub\modules\space\models\Space
VISIBILITY_ALL 2 humhub\modules\space\models\Space
VISIBILITY_NONE 0 humhub\modules\space\models\Space
VISIBILITY_REGISTERED_ONLY 1 humhub\modules\space\models\Space

Property Details

$indexGuestUrl public property
public string|null $indexGuestUrl null
$indexUrl public property
public string|null $indexUrl null

Method Details

afterSave() public method

public void afterSave ( $insert, $changedAttributes )
$insert
$changedAttributes
attributeLabels() public method

public void attributeLabels ( )
rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )