HumHub Documentation (unofficial)

Deprecated

Table of Contents

humhub/assets/Select2BootstrapAsset.php
humhub/commands/MigrateController.php
humhub/compat/search/Searchable.php
humhub/compat/search/SearchAddEvent.php
humhub/components/behaviors/AccessControl.php
humhub/components/Module.php
humhub/components/queue/ActiveJob.php
humhub/components/Theme.php
humhub/components/View.php
humhub/libs/BaseSettingsManager.php
humhub/libs/Helpers.php
humhub/libs/ThemeHelper.php
humhub/libs/UUID.php
humhub/models/Setting.php
humhub/modules/activity/widgets/Stream.php
humhub/modules/content/components/actions/ContentContainerStream.php
humhub/modules/content/components/ContentActiveRecord.php
humhub/modules/content/components/ContentAddonActiveRecord.php
humhub/modules/content/models/Content.php
humhub/modules/content/widgets/LegacyWallEntryControlLink.php
humhub/modules/content/widgets/stream/StreamEntryWidget.php
humhub/modules/content/widgets/Stream.php
humhub/modules/content/widgets/WallEntry.php
humhub/modules/content/widgets/WallEntryAddons.php
humhub/modules/directory/Module.php
humhub/modules/file/converter/PreviewImage.php
humhub/modules/file/models/File.php
humhub/modules/file/models/FileCompat.php
humhub/modules/file/widgets/FileUploadButton.php
humhub/modules/file/widgets/FileUploadList.php
humhub/modules/installer/Module.php
humhub/modules/marketplace/controllers/BrowseController.php
humhub/modules/marketplace/models/Module.php
humhub/modules/marketplace/Module.php
humhub/modules/marketplace/services/ModuleService.php
humhub/modules/notification/components/BaseNotification.php
humhub/modules/notification/controllers/ListController.php
humhub/modules/notification/models/Notification.php
humhub/modules/queue/driver/MySQLCommand.php
humhub/modules/space/models/Space.php
humhub/modules/space/modules/manage/widgets/Menu.php
humhub/modules/space/widgets/Chooser.php
humhub/modules/stream/actions/LegacyStreamTrait.php
humhub/modules/stream/actions/Stream.php
humhub/modules/tour/widgets/Tour.php
humhub/modules/ui/form/widgets/BasePicker.php
humhub/modules/ui/form/widgets/ColorPicker.php
humhub/modules/ui/menu/MenuLink.php
humhub/modules/ui/menu/widgets/Menu.php
humhub/modules/ui/view/components/ThemeViews.php
humhub/modules/user/authclient/AuthClientHelpers.php
humhub/modules/user/authclient/Facebook.php
humhub/modules/user/authclient/GitHub.php
humhub/modules/user/authclient/Google.php
humhub/modules/user/authclient/LinkedIn.php
humhub/modules/user/authclient/Live.php
humhub/modules/user/authclient/Twitter.php
humhub/modules/user/authclient/ZendLdapClient.php
humhub/modules/user/components/PermissionManager.php
humhub/modules/user/components/ProfileStream.php
humhub/modules/user/components/User.php
humhub/modules/user/controllers/AccountController.php
humhub/modules/user/models/Mentioning.php
humhub/modules/user/models/UserFilter.php
humhub/modules/user/widgets/UserPicker.php
humhub/widgets/ActiveForm.php
humhub/widgets/BaseMenu.php
humhub/widgets/ColorPickerField.php
humhub/widgets/ContentTagDropDown.php
humhub/widgets/DataSaved.php
humhub/widgets/DatePicker.php
humhub/widgets/DurationPicker.php
humhub/widgets/TimePicker.php

Select2BootstrapAsset.php

Line Element Reason
19 Select2BootstrapAsset

since 1.5

36 Select2BootstrapAsset::$css

since version 1.2.0-beta.3

MigrateController.php

Line Element Reason
228 MigrateController::webMigrateAll()

since 1.16; use MigrationService::migrateUp()

245 MigrateController::webMigrateUp()

since 1.16; use MigrationService::create($module)->migrateUp()

Searchable.php

Line Element Reason
8 Searchable

since 1.16

SearchAddEvent.php

Line Element Reason
10 SearchAddEvent

since 1.16

AccessControl.php

Line Element Reason
110 AccessControl::$guestAllowedActions

since 1.2.2 use ['guestAccess' => ['action1', 'action2']] rule instead

118 AccessControl::$adminOnly

since 1.2.2 use ['adminOnly'] rule instead

125 AccessControl::$loggedInOnly

since 1.2.2 use ['loggedInOnly'] rule instead

Module.php

Line Element Reason
227 Module::getIsActivated()

since 1.16; use static::getIsEnabled() instead.

291 Module::migrate()

since v1.16; use static::getMigrationService()->migrateUp()

340 Module::beforeUpdate()
350 Module::afterUpdate()

ActiveJob.php

Line Element Reason
19 ActiveJob

since version 1.3

Theme.php

Line Element Reason
16 Theme

since 1.3

View.php

Line Element Reason
19 View

since 1.3

BaseSettingsManager.php

Line Element Reason
309 BaseSettingsManager::isDatabaseInstalled()

since 1.16

Helpers.php

Line Element Reason
137 Helpers::substru()

since 1.11 Use mb_substr() instead.

185 Helpers::GetBytesOfPHPIniValue()

bug on PHP7 "A non well formed numeric value encountered"

253 Helpers::checkClassType()

since 1.16; use DataTypeHelper::checkClassType()

266 Helpers::classUsesTraits()

since 1.16; use DataTypeHelper::classUsesTraits()

29 Helpers::CLASS_CHECK_INVALID_CLASSNAME_PARAMETER

since 1.16; Use constant in DataTypeHelper class instead

36 Helpers::CLASS_CHECK_INVALID_TYPE_PARAMETER

since 1.16; Use constant in DataTypeHelper class instead

43 Helpers::CLASS_CHECK_VALUE_IS_EMPTY

since 1.16; Use constant in DataTypeHelper class instead

50 Helpers::CLASS_CHECK_INVALID_TYPE

since 1.16; Use constant in DataTypeHelper class instead

57 Helpers::CLASS_CHECK_NON_EXISTING_CLASS

since 1.16; Use constant in DataTypeHelper class instead

64 Helpers::CLASS_CHECK_TYPE_NOT_IN_LIST

since 1.16; Use constant in DataTypeHelper class instead

71 Helpers::CLASS_CHECK_VALUE_IS_INSTANCE

since 1.16; Use constant in DataTypeHelper class instead

78 Helpers::CLASS_CHECK_VALUE_IS_NULL

since 1.16; Use constant in DataTypeHelper class instead

ThemeHelper.php

Line Element Reason
19 ThemeHelper

since 1.3

UUID.php

Line Element Reason
171 UUID::is_valid()

since 1.15, use static::validate()

Setting.php

Line Element Reason
68 Setting::get()

since version 1.1

83 Setting::set()

since version 1.1

92 Setting::setText()

since version 1.1

100 Setting::getText()

since version 1.1

116 Setting::isFixed()

since version 1.1

128 Setting::isInstalled()

since v1.16; use Yii::$app->isInstalled()

141 Setting::fixModuleIdAndName()

since version 1.1

174 Setting::getModule()

since version 1.1

Stream.php

Line Element Reason
10 Stream

use ActivityStreamViewer instead

ContentContainerStream.php

Line Element Reason
17 ContentContainerStream

since version 1.2

ContentActiveRecord.php

Line Element Reason
386 ContentActiveRecord::getWallOut()

since 1.7 use StreamEntryWidget::renderStreamEntry()

405 ContentActiveRecord::getWallEntryWidget()

since 1.7

ContentAddonActiveRecord.php

Line Element Reason
156 ContentAddonActiveRecord::canRead()

Use canView() instead. It will be deleted since v1.17

176 ContentAddonActiveRecord::canWrite()

since 1.4

Content.php

Line Element Reason
855 Content::addTag()

since 1.15

866 Content::addTags()

since 1.15

1108 Content::setState()

Use $this->getStateService()->set(). It will be deleted in v1.15.

148 Content::$muteDefaultSocialActivities

since v1.2.3 use ContentActiveRecord::silentContentCreation instead.

LegacyWallEntryControlLink.php

Line Element Reason
12 LegacyWallEntryControlLink

StreamEntryWidget.php

Line Element Reason
99 StreamEntryWidget::renderLegacyWallEntry()

since 1.7 contains render logic for deprecated WallEntry widget

Stream.php

Line Element Reason
20 Stream

since version 1.2

WallEntry.php

Line Element Reason
32 WallEntry

since 1.7 use WallStreamEntryWidget

241 WallEntry::renderWallEntry()

since 1.4

273 WallEntry::getWallEntryViewParams()

since 1.4 use [[getLayoutViewParams()]] instead

83 WallEntry::$wallEntryLayout

since 1.4 use [[widgetLayout]] instead

125 WallEntry::$showFiles

since 1.2 use $addonOptions of ShowFiles Widget or disable 'show_in_stream' file flag.

WallEntryAddons.php

Line Element Reason
40 WallEntryAddons::$widgetOptions

since 1.7 use WallStreamEntryOptions

Module.php

Line Element Reason
15 Module

since 1.9

20 Module::$isCoreModule

since 1.11 will be removed with v1.12

PreviewImage.php

Line Element Reason
138 PreviewImage::getWidth()

since 1.5

150 PreviewImage::getHeight()

since 1.5

162 PreviewImage::getImage()

since 1.5

File.php

Line Element Reason
289 File::canRead()

Use canView() instead. It will be deleted since v1.17

102 File::STATE_PUBLISHED

since 1.15

FileCompat.php

Line Element Reason
32 FileCompat::getFilesOfObject()

since version 1.2

44 FileCompat::getStoredFilePath()

since version 1.2

57 FileCompat::getPreviewImageUrl()

since version 1.2

73 FileCompat::attachPrecreated()

since version 1.2

88 FileCompat::getFilename()

since version 1.2

106 FileCompat::getInfoArray()

since version 1.2

131 FileCompat::getMimeBaseType()

since version 1.2

145 FileCompat::getMimeSubType()

since version 1.2

161 FileCompat::getExtension()

since version 1.2

FileUploadButton.php

Line Element Reason
22 FileUploadButton

since version 1.2

FileUploadList.php

Line Element Reason
25 FileUploadList

since version 1.2

Module.php

Line Element Reason
111 Module::setInstalled()

since v1.16; use Yii::$app->setInstalled()

122 Module::setDatabaseInstalled()

since v1.16; use Yii::$app->setDatabaseInstalled()

BrowseController.php

Line Element Reason
83 BrowseController::actionActivate()

since v1.16; use static::actionEnable()

Module.php

Line Element Reason
200 Module::getIsActivated()

since v1.16; use self::getIsEnabled()

Module.php

Line Element Reason
97 Module::isEnabled()

since v1.16; use static::isMarketplaceEnabled() instead

ModuleService.php

Line Element Reason
86 ModuleService::activate()

since v1.16; use static::enable()

BaseNotification.php

Line Element Reason
567 BaseNotification::getAsText()

since version 1.2

576 BaseNotification::getAsHtml()

since version 1.2

ListController.php

Line Element Reason
97 ListController::actionGetUpdateJson()

since version 1.2

Notification.php

Line Element Reason
115 Notification::getClass()

since version 1.2 use [getBaseModel()] instead

MySQLCommand.php

Line Element Reason
18 MySQLCommand

since 1.5.1

Space.php

Line Element Reason
670 Space::isModuleEnabled()

Menu.php

Line Element Reason
20 Menu

since version 1.1

Chooser.php

Line Element Reason
231 Chooser::getMembershipQuery()

since version 1.2

LegacyStreamTrait.php

Line Element Reason
61 LegacyStreamTrait::getContentResultEntry()

since 1.7

119 LegacyStreamTrait::renderEntry()

since 1.7 use StreamEntryWidget::renderStreamEntry() instead

180 LegacyStreamTrait::isInitialRequest()

since 1.6 use StreamQuery::isInitialQuery

198 LegacyStreamTrait::setupCriteria()

since 1.7 use Stream::beforeApplyFilters()

205 LegacyStreamTrait::setupFilters()

since 1.7 use Stream::beforeApplyFilters()

27 LegacyStreamTrait::$mode

since 1.6 use ActivityStreamAction

33 LegacyStreamTrait::$activeQuery

since 1.7 use StreamQuery->query()

41 LegacyStreamTrait::$from

since 1.7 use $streamQuery->from

49 LegacyStreamTrait::$to

since 1.7 use $streamQuery->to

Stream.php

Line Element Reason
82 Stream::MODE_NORMAL

since 1.6 use ActivityStreamAction

88 Stream::MODE_ACTIVITY

since 1.6 use ActivityStreamAction

94 Stream::FROM_DASHBOARD

since 1.7 use BaseStreamEntryWidget::VIEW_MODE_DASHBOARD

100 Stream::MAX_LIMIT

since 1.7 not in use

Tour.php

Line Element Reason
76 Tour::loadResources()

since 1.3.13

BasePicker.php

Line Element Reason
141 BasePicker::$formName

since 1.2.2 use $name instead

ColorPicker.php

Line Element Reason
25 ColorPicker::$field

since v1.2.2 use $attribute instead

MenuLink.php

Line Element Reason
192 MenuLink::createByArray()

since 1.4

247 MenuLink::toArray()

since 1.4

Menu.php

Line Element Reason
213 Menu::addItem()

since 1.4

223 Menu::addItemGroup()

since 1.4 not longer supported!

232 Menu::getItemGroups()

since 1.4

243 Menu::getItems()

since 1.4

360 Menu::getActive()

since 1.4

374 Menu::deleteItemByUrl()

since 1.4

385 Menu::setViewState()

since 1.4

ThemeViews.php

Line Element Reason
101 ThemeViews::legacyTranslate()

since 1.3

AuthClientHelpers.php

Line Element Reason
18 AuthClientHelpers

since 1.14

23 AuthClientHelpers::storeAuthClientForUser()

since 1.14

Facebook.php

Line Element Reason
14 Facebook

GitHub.php

Line Element Reason
14 GitHub

Google.php

Line Element Reason
16 Google

LinkedIn.php

Line Element Reason
18 LinkedIn

Live.php

Line Element Reason
14 Live

Twitter.php

Line Element Reason
16 Twitter

ZendLdapClient.php

Line Element Reason
19 ZendLdapClient

since 1.4

PermissionManager.php

Line Element Reason
379 PermissionManager::getGroupStateRecord()

since 1.10

ProfileStream.php

Line Element Reason
19 ProfileStream

since 1.6 use \humhub\modules\user\stream\ProfileStream

User.php

Line Element Reason
162 User::isGuestAccessEnabled()

since 1.4

187 User::canDeleteAccount()

since 1.14

AccountController.php

Line Element Reason
433 AccountController::actionCropBannerImage()

since version 1.2

443 AccountController::actionBannerImageUpload()

since version 1.2

457 AccountController::actionProfileImageUpload()

since version 1.2

470 AccountController::actionCropProfileImage()

since version 1.2

479 AccountController::actionDeleteProfileImage()

since version 1.2

Mentioning.php

Line Element Reason
111 Mentioning::parse()

since 1.3 use [[\humhub\modules\content\widgets\richtext\RichText::processText()]] instead

UserFilter.php

Line Element Reason
48 UserFilter::getUserPickerResult()

since 1.2 use

UserPicker.php

Line Element Reason
39 UserPicker

since 1.2 use UserPickerField widget for rendering a picker and \humhub\modules\user\models\UserPicker for search queries.

ActiveForm.php

Line Element Reason
19 ActiveForm

since 1.3

BaseMenu.php

Line Element Reason
19 BaseMenu

since 1.4

ColorPickerField.php

Line Element Reason
20 ColorPickerField

since 1.3

ContentTagDropDown.php

Line Element Reason
18 ContentTagDropDown

since 1.3

DataSaved.php

Line Element Reason
19 DataSaved

since 1.2 use \humhub\modules\ui\view\components\View::saved

DatePicker.php

Line Element Reason
18 DatePicker

since 1.3

DurationPicker.php

Line Element Reason
18 DurationPicker

since 1.3

TimePicker.php

Line Element Reason
19 TimePicker

since 1.3

Search results