-
Backend
-
Behaviors
-
FormController
-
ImportExportController
-
ListController
-
RelationController
- FormController
- ImportExportController
- ListController
- RelationController
- ReorderController
- UserPreferencesModel
-
-
Classes
-
Dashboard
-
NavigationManager
-
WidgetManager
- AuthManager
- BackendController
- Controller
- ControllerBehavior
- DashboardManager
- DashboardWidgetBase
- FilterScope
- FilterWidgetBase
- FormField
- FormTabs
- FormWidgetBase
- ListColumn
- LoginCustomization
- MainMenuItem
- NavigationManager
- ReportDataSourceBase
- ReportDataSourceManager
- ReportWidgetBase
- RoleManager
- RolePermission
- SettingsController
- SideMenuItem
- Skin
- StaticReportWidgetContainer
- VueComponentBase
- WidgetBase
- WidgetManager
- WildcardController
-
-
Controllers
-
Database
-
Facades
-
FilterWidgets
-
FormWidgets
-
Helpers
-
Models
-
BrandSetting
-
ExportModel
-
ImportModel
- AccessLog
- BrandSetting
- Dashboard
- EditorSetting
- ExportModel
- ImportModel
- Preference
- ReportDataCache
- User
- UserGroup
- UserPreference
- UserPreferenceModel
- UserRole
- UserThrottle
-
-
ReportWidgets
-
Skins
-
Traits
-
VueComponents
-
Widgets
-
Filter
-
Form
-
Lists
-
Table
- Filter
- Form
- Lists
- ListStructure
- ReportContainer
- RoleImpersonator
- Search
- SiteSwitcher
- Table
- Toolbar
-
- ServiceProvider
-
-
Cms
-
Classes
-
Controller
-
EditorExtension
-
Layout
-
Page
-
Partial
-
Theme
- AjaxResponse
- Asset
- CmsCompoundObject
- CmsController
- CmsDemoTrafficDataGenerator
- CmsException
- CmsObject
- CmsObjectCache
- CmsObjectCollection
- CmsReportDataSource
- CmsStatusDataSource
- CodeBase
- CodeParser
- ComponentBase
- ComponentBehavior
- ComponentHelpers
- ComponentManager
- ComponentModuleBase
- ComponentPartial
- Content
- Controller
- EditorExtension
- Layout
- LayoutCode
- Meta
- Page
- PageCode
- PageManager
- Partial
- PartialCode
- PartialStack
- PartialWatcher
- Router
- Snippet
- SnippetManager
- Theme
- ThemeManager
- ThisVariable
- TrafficLogger
-
-
Components
-
Console
-
Controllers
-
Database
-
Facades
-
FormWidgets
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
- AjaxPartialTokenParser
- ComponentNode
- ComponentTokenParser
- ContentNode
- ContentTokenParser
- DebugExtension
- DefaultNode
- DefaultTokenParser
- Extension
- FlashNode
- FlashTokenParser
- FrameworkNode
- FrameworkTokenParser
- GetAttrAdjuster
- GetAttrNode
- Loader
- MetaNode
- MetaTokenParser
- PageNode
- PageTokenParser
- PartialNode
- PartialTokenParser
- PlaceholderNode
- PlaceholderTokenParser
- PutNode
- PutTokenParser
- ScriptsNode
- ScriptsTokenParser
- StylesNode
- StylesTokenParser
-
VueComponents
-
Widgets
- ServiceProvider
-
-
Editor
-
Behaviors
-
Classes
-
Controllers
-
Traits
-
VueComponents
- ServiceProvider
-
-
Media
-
Classes
-
Controllers
-
FormWidgets
-
Helpers
-
Twig
-
Widgets
- ServiceProvider
-
-
System
-
Behaviors
-
Classes
-
PresetManager
-
SiteManager
-
UiManager
-
UpdateManager
- AppBase
- CombineAssets
- DependencyResolver
- DriverBehavior
- ErrorHandler
- MailManager
- ManifestCache
- MarkupExtensionItem
- MarkupManager
- ModelBehavior
- PagerElement
- PluginBase
- PluginManager
- PresetManager
- ProductDetail
- RateLimiter
- ResizeImageItem
- ResizeImages
- SettingsManager
- SettingsMenuItem
- SiteManager
- SystemController
- SystemReportDataSource
- UiElement
- UiManager
- UpdateManager
- VersionManager
-
-
Console
- ComposerScript
- OctoberAbout
- OctoberDown
- OctoberFresh
- OctoberMigrate
- OctoberMirror
- OctoberOptimize
- OctoberPasswd
- OctoberUp
- OctoberUpdate
- OctoberUtil
- OctoberUtilCommands
- OctoberUtilPatches
- OctoberUtilRefitLang
- PluginCheck
- PluginDisable
- PluginEnable
- PluginInstall
- PluginList
- PluginRefresh
- PluginRemove
- PluginSeed
- PluginTest
- ProjectSync
-
Controllers
-
Database
-
Facades
-
Helpers
-
Middleware
-
Models
-
ReportWidgets
-
Traits
-
Twig
-
Widgets
- ServiceProvider
-
-
Tailor
-
Behaviors
-
Classes
-
Blueprint
-
BlueprintIndexer
-
EditorExtension
-
Relations
-
SchemaBuilder
-
Scopes
- Blueprint
- BlueprintCollection
- BlueprintErrorData
- BlueprintException
- BlueprintIndexer
- BlueprintModel
- BlueprintVerifier
- ComponentVariable
- ContentFieldBase
- EditorExtension
- FieldManager
- Fieldset
- NavigationItem
- PermissionItem
- RecordIndexer
- SchemaBuilder
- SchemaPruner
-
-
Components
-
Console
-
ContentFields
-
Controllers
-
Models
-
EntryRecord
-
GlobalRecord
-
RecordImport
- ContentSchema
- EntryRecord
- GlobalRecord
- NestedFormItem
- PreviewToken
- RecordExport
- RecordImport
- RepeaterItem
-
-
Traits
-
VueComponents
- ServiceProvider
-
-
Events
-
backend
-
ajax
-
brand
-
files
-
filter
-
form
-
list
-
menu
-
page
-
roles
-
site
-
user
-
-
cms
-
ajax
-
block
-
combiner
-
component
-
internalTrafficStatistics
-
object
-
page
-
pageLookup
-
resizer
-
router
-
sitePicker
-
template
-
theme
- extendTwig
-
-
deferredBinding
-
editor
-
extension
-
-
exception
-
halcyon
-
datasource
-
-
mailer
-
media
-
model
-
auth
-
filter
-
form
-
relation
-
/docs/api/model/relation/add
-
/docs/api/model/relation/associate
- attach
-
/docs/api/model/relation/beforeadd
-
/docs/api/model/relation/beforeassociate
- beforeAttach
- beforeDetach
-
/docs/api/model/relation/beforedissociate
-
/docs/api/model/relation/beforeremove
- detach
-
/docs/api/model/relation/dissociate
-
/docs/api/model/relation/remove
-
-
/docs/api/model/afterboot
-
/docs/api/model/aftercreate
-
/docs/api/model/afterdelete
-
/docs/api/model/afterfetch
-
/docs/api/model/afterinit
- afterRelation
- afterRestore
-
/docs/api/model/aftersave
- afterTrash
-
/docs/api/model/afterupdate
- afterValidate
-
/docs/api/model/beforecreate
-
/docs/api/model/beforedelete
-
/docs/api/model/beforefetch
- beforeGetAttribute
- beforeRelation
- beforeReplicate
- beforeRestore
-
/docs/api/model/beforesave
- beforeSetAttribute
-
/docs/api/model/beforeupdate
- beforeValidate
- extendBlueprint
- getAttribute
- newInstance
- saveInternal
- setAttribute
-
-
pages
-
snippet
-
-
site
-
system
-
assets
- beforeAddAsset
-
/docs/api/system/assets/beforebundleasset
-
console
-
mirror
-
-
mail
-
reportwidgets
-
resizer
-
settings
-
site
-
updater
- extendConfigFile
- extendTwig
-
-
tailor
-
user
-
-
Library
-
Argon
-
Assetic
-
Asset
-
Cache
-
Exception
-
Factory
-
Filter
-
Traits
-
Util
- README
- AsseticServiceProvider
- AssetManager
- AssetWriter
- Combiner
- FilterManager
-
-
Auth
-
Combine
-
Composer
-
Config
-
Database
-
Attach
-
Concerns
-
Connections
-
Connectors
-
Factories
-
Models
-
Relations
-
Schema
-
Scopes
-
Traits
-
Updates
- README
- Builder
- Collection
- DatabaseServiceProvider
- Dongle
- ExpandoModel
- MigrationServiceProvider
- Model
- ModelBehavior
- ModelException
- MorphPivot
- NestedTreeScope
- Pivot
- QueryBuilder
- Replicator
- SortableScope
- TreeCollection
- Updater
-
-
Element
-
Filter
-
Form
-
Lists
-
Navigation
- ElementBase
- ElementHolder
-
-
Events
-
Exception
-
Extension
-
Filesystem
-
Flash
-
Foundation
-
Bootstrap
-
Console
-
Exception
-
Http
-
Middleware
- Kernel
-
-
Providers
- Application
-
-
Halcyon
-
Concerns
-
Datasource
-
Exception
-
Processors
-
Traits
- README
- Builder
- Collection
- HalcyonServiceProvider
- Model
-
-
Html
-
Mail
-
Network
-
Parse
-
Resize
-
Router
-
Scaffold
-
Support
-
Debug
-
Facades
-
Traits
- README
- Arr
- ClassLoader
- Collection
- Facade
- ModuleServiceProvider
- SafeCollection
- ServiceProvider
- Singleton
- Str
-
-
Translation
-
Validation
-
- Documentation
- API
- Backend
- Widgets
- ListStructure
Backend\Widgets\ListStructure
Extends
Implements
- October\Contracts\Element\ListElement
Public Properties
public bool $useStructure
useStructure display parent/child relationships in the list.
public bool $showTree
showTree will display the tree structure
public bool $treeExpanded
treeExpanded will expand the tree nodes by default.
public bool $showReorder
showReorder allows the user to reorder the records.
public bool $includeSortOrders
includeSortOrders specifies if "sort_orders" should be included in postback.
public bool $includeReferencePool
includeReferencePool should be used when sorting within subset of records. For example, sorting with pagination.
public int|null $maxDepth
maxDepth defines the maximum levels allowed for reordering.
public bool $dragRow
dragRow allows dragging the entire row in addition to the reorder handle.
Show inherited public properties
Inherited Public Properties
- $columns - configuration. (defined in Backend\Widgets\Lists)
- $model - object for the list. (defined in Backend\Widgets\Lists)
- $recordUrl - for each record row. (defined in Backend\Widgets\Lists)
- $recordOnClick - event for each record row. (defined in Backend\Widgets\Lists)
- $noRecordsMessage - to display when there are no records in the list. (defined in Backend\Widgets\Lists)
- $recordsPerPage - as maximum rows to display. (defined in Backend\Widgets\Lists)
- $perPageOptions - is the number of items per page. (defined in Backend\Widgets\Lists)
- $showSorting - options for each column. (defined in Backend\Widgets\Lists)
- $defaultSort - column to look for. (defined in Backend\Widgets\Lists)
- $showCheckboxes - next to each record row. (defined in Backend\Widgets\Lists)
- $showSetup - displays the list set up used for column visibility and ordering. (defined in Backend\Widgets\Lists)
- $expandLastColumn - expandLastCol will expand to squeeze extra room from the last column. (defined in Backend\Widgets\Lists)
- $showPagination - when limiting records per page. (defined in Backend\Widgets\Lists)
- $showPageNumbers - with pagination, disable to improve performance. (defined in Backend\Widgets\Lists)
- $customViewPath - specifies a custom view path to override partials used by the list. (defined in Backend\Widgets\Lists)
- $customPageName - specifies a name to use in the page URL for paginated records. (defined in Backend\Widgets\Lists)
- $cssClasses - to apply to the list container element. (defined in Backend\Widgets\Lists)
- $config - supplied. (defined in Backend\Classes\WidgetBase)
- $alias - defined for this widget. (defined in Backend\Classes\WidgetBase)
- $implement - extensions for this class. (defined in October\Rain\Extension\Extendable)
- $vars - is a list of variables to pass to the page. (defined in Backend\Classes\WidgetBase)
- $layout - to use for the view. (defined in Backend\Classes\WidgetBase)
- $suppressLayout - prevents the use of a layout. (defined in Backend\Classes\WidgetBase)
- $assetPath - specifies the relative path to the asset directory. (defined in Backend\Classes\WidgetBase)
- $assetUrlPath - specifies the public path to the asset directory. (defined in Backend\Classes\WidgetBase)
Protected Properties
protected array $permissions
permissions needed to modify the structure.
Show inherited protected properties
Inherited Protected Properties
- $defaultAlias - (defined in Backend\Widgets\Lists)
- $allColumns - collection of all list columns used in this list. (defined in Backend\Widgets\Lists)
- $columnOverride - default columns with supplied key names. (defined in Backend\Widgets\Lists)
- $visibleColumns - to display and their order. (defined in Backend\Widgets\Lists)
- $records - of models as a data collection. (defined in Backend\Widgets\Lists)
- $currentPageNumber - (defined in Backend\Widgets\Lists)
- $filterCallbacks - Collection of functions to apply to each list query. (defined in Backend\Widgets\Lists)
- $controller - for the backend. (defined in Backend\Classes\WidgetBase)
- $extensionData - contains class reflection information, including behaviors. (defined in October\Rain\Extension\Extendable)
- $extendableStaticMethods - is a collection of static methods used by behaviors. (defined in October\Rain\Extension\Extendable)
- $extendableGuardProperties - indicates if dynamic properties can be created. (defined in October\Rain\Extension\Extendable)
- $viewPath - specifies a path to the views directory. (defined in Backend\Classes\WidgetBase)
- $layoutPath - specifies a path to the layout directory. (defined in Backend\Classes\WidgetBase)
- $viewPathGuessCache - remembers path guesses for performance. (defined in Backend\Classes\WidgetBase)
- $assets - Collection of assets to display in the layout. (defined in Backend\Classes\WidgetBase)
- $assetBundles - Collection of combined and prioritized assets. (defined in Backend\Classes\WidgetBase)
- $assetDefaults - is the default attributes for assets. (defined in Backend\Classes\WidgetBase)
- $configPath - specifies a path to the config directory. (defined in Backend\Classes\WidgetBase)
- $emitterSingleEventCollection - of events to be fired once only. (defined in Backend\Classes\WidgetBase)
- $emitterEventCollection - of all registered events. (defined in Backend\Classes\WidgetBase)
- $emitterEventSorted - collection. (defined in Backend\Classes\WidgetBase)
- $fatalError - stores the object used for a fatal error. (defined in Backend\Classes\WidgetBase)
- $sortableColumns - All sortable columns. (defined in Backend\Widgets\Lists)
- $sortColumn - Sets the list sorting column. (defined in Backend\Widgets\Lists)
- $sortDirection - sets the list sorting direction (asc, desc). (defined in Backend\Widgets\Lists)
- $sortStep - allows for indeterminate sorting. (defined in Backend\Widgets\Lists)
- $searchTerm - Filter the records by a search term. (defined in Backend\Widgets\Lists)
- $searchMode - If searching the records, specifies a policy to use. (defined in Backend\Widgets\Lists)
- $searchScope - Use a custom scope method for performing searches. (defined in Backend\Widgets\Lists)
- $preferenceCache - Cache for retrieved user preferences. (defined in Backend\Widgets\Lists)
Public Methods
public __construct()
public __construct( Backend\Classes\Controller $controller, array $configuration = [] ): void
__construct the widget
public init()
public init(): void
init the widget, called by the constructor and free from its parameters.
public isTreeNodeExpanded()
public isTreeNodeExpanded(Model $node): bool
isTreeNodeExpanded checks if a node (model) is expanded in the session.
public onReorder()
public onReorder(): void
public onShowStructure()
public onShowStructure(): void
public onSort()
public onSort(): void
onSort AJAX handler for sorting the list.
public onToggleTreeNode()
public onToggleTreeNode(): void
onToggleTreeNode sets a node (model) to an expanded or collapsed state, stored in the session, then renders the list again.
public prepareVars()
public prepareVars(): void
prepareVars for display
public setSearchTerm()
public setSearchTerm($term, $resetState = false): void
setSearchTerm will disable the structure if a value is supplied.
public useSortOrdering()
public useSortOrdering(): bool
public validateTree()
public validateTree(): void
validateTree validates the model and settings if useStructure is used
Inherited Public Methods
- __call() - calls an undefined local method. (defined in October\Rain\Extension\Extendable)
- __callStatic() - calls an undefined static method. (defined in October\Rain\Extension\Extendable)
- __get() - an undefined property. (defined in October\Rain\Extension\Extendable)
- __set() - an undefined property. (defined in October\Rain\Extension\Extendable)
- __sleep() - prepare the object for serialization. (defined in October\Rain\Extension\Extendable)
- __wakeup() - when a model is being unserialized, check if it needs to be booted. (defined in October\Rain\Extension\Extendable)
- addColumns() - programmatically add columns, used internally and for extensibility. (defined in Backend\Widgets\Lists)
- addCss() - includes a StyleSheet asset to the asset list. (defined in Backend\Classes\WidgetBase)
- addCssBundle() - includes a CSS asset to the bundled combiner pipeline. (defined in Backend\Classes\WidgetBase)
- addDynamicMethod() - programmatically adds a method to the extendable class. (defined in October\Rain\Extension\Extendable)
- addDynamicProperty() - programmatically adds a property to the extendable class. (defined in October\Rain\Extension\Extendable)
- addFilter() - query to the stack. (defined in Backend\Widgets\Lists)
- addJs() - includes a JavaScript asset to the asset list. (defined in Backend\Classes\WidgetBase)
- addJsBundle() - includes a JS asset to the bundled combiner pipeline. (defined in Backend\Classes\WidgetBase)
- addRss() - adds an RSS link asset to the asset list. Call $this->makeAssets(). (defined in Backend\Classes\WidgetBase)
- addViewPath() - prepends a path on the available view path locations. (defined in Backend\Classes\WidgetBase)
- asExtension() - is short hand for
getClassExtension()
method, except takes the short. (defined in October\Rain\Extension\Extendable) - bindEvent() - creates a new event binding. (defined in Backend\Classes\WidgetBase)
- bindEventOnce() - creates a new event binding that fires once only. (defined in Backend\Classes\WidgetBase)
- bindToController() - binds a widget to the controller for safe use. (defined in Backend\Classes\WidgetBase)
- clearExtendedClasses() - (defined in October\Rain\Extension\Extendable)
- combineAssets() - runs asset paths through the Asset Combiner. (defined in Backend\Classes\WidgetBase)
- defineColumn() - adds a column to the list element. (defined in Backend\Widgets\Lists)
- extend() - this class with a closure. (defined in October\Rain\Extension\Extendable)
- extendClassWith() - dynamically extends a class with a specified behavior. (defined in October\Rain\Extension\Extendable)
- extendableCall() - magic method for
__call()
. (defined in October\Rain\Extension\Extendable) - extendableCallStatic() - magic method for
__callStatic()
. (defined in October\Rain\Extension\Extendable) - extendableConstruct() - should be called as part of the constructor. (defined in October\Rain\Extension\Extendable)
- extendableDestruct() - should be called when serializing the object. (defined in October\Rain\Extension\Extendable)
- extendableExtendCallback() - is a helper method for
::extend()
static method. (defined in October\Rain\Extension\Extendable) - extendableGet() - magic method for
__get()
. (defined in October\Rain\Extension\Extendable) - extendableSet() - magic method for
__set()
. (defined in October\Rain\Extension\Extendable) - fireEvent() - and call the listeners. (defined in Backend\Classes\WidgetBase)
- fireSystemEvent() - fires a combination of local and global events. The first segment is removed. (defined in Backend\Classes\WidgetBase)
- fireViewEvent() - is a special event function used for extending within view files, (defined in Backend\Classes\WidgetBase)
- flushAssets() - disables the use, and subsequent broadcast, of assets. This is useful. (defined in Backend\Classes\WidgetBase)
- getAssetPath() - locates a file based on it's definition. If the file starts with. (defined in Backend\Classes\WidgetBase)
- getAssetPaths() - returns an array of all registered asset paths. (defined in Backend\Classes\WidgetBase)
- getClassExtension() - returns a behavior object from an extendable class, example:. (defined in October\Rain\Extension\Extendable)
- getClassMethodAsReflector() - (defined in October\Rain\Extension\Extendable)
- getClassMethods() - gets a list of class methods, extension equivalent of get_class_methods(). (defined in October\Rain\Extension\Extendable)
- getColumn() - gets a specified column object. (defined in Backend\Widgets\Lists)
- getColumnValue() - returns a column value, with filters applied. (defined in Backend\Widgets\Lists)
- getColumnValueRaw() - returns a raw column value. (defined in Backend\Widgets\Lists)
- getColumns() - gets all the registered columns for the instance. (defined in Backend\Widgets\Lists)
- getConfig() - is a safe accessor for configuration values. (defined in Backend\Classes\WidgetBase)
- getConfigPath() - locates a file based on it's definition. If the file starts with. (defined in Backend\Classes\WidgetBase)
- getController() - returns the controller using this widget. (defined in Backend\Classes\WidgetBase)
- getDynamicProperties() - returns all dynamic properties and their values. (defined in October\Rain\Extension\Extendable)
- getEventHandler() - returns a fully qualified event handler name for this widget. (defined in Backend\Classes\WidgetBase)
- getFatalError() - returns error message. (defined in Backend\Classes\WidgetBase)
- getHeaderTooltipValue() - looks up the column header. (defined in Backend\Widgets\Lists)
- getHeaderValue() - looks up the column header. (defined in Backend\Widgets\Lists)
- getId() - returns a unique ID for this widget. Useful in creating HTML markup. (defined in Backend\Classes\WidgetBase)
- getModel() - returns the active model for this list. (defined in Backend\Widgets\Lists)
- getRecordAction() - (defined in Backend\Widgets\Lists)
- getRecordOnClick() - returns the onclick event for a list row. (defined in Backend\Widgets\Lists)
- getRecordUrl() - returns the record URL address for a list row. (defined in Backend\Widgets\Lists)
- getRowClass() - adds a custom CSS class string to a record row. (defined in Backend\Widgets\Lists)
- getSortColumn() - returns the current sorting column, saved in a session or cached. (defined in Backend\Widgets\Lists)
- getSortDirection() - returns the current sort direction or default of 'asc'. (defined in Backend\Widgets\Lists)
- getSortStep() - returns the current indeterminate step. (defined in Backend\Widgets\Lists)
- getUserPreference() - Retrieves a widget related key/value pair from the user preferences. (defined in Backend\Widgets\Lists)
- getUserPreferences() - Retrieves and caches all user preferences for this particular controller/widget. (defined in Backend\Widgets\Lists)
- getViewPath() - locates a file based on its definition. The file name can be prefixed. (defined in Backend\Classes\WidgetBase)
- getViewPaths() - returns the active view path locations. (defined in Backend\Classes\WidgetBase)
- getVisibleColumns() - returns the list columns that are visible by list settings or default. (defined in Backend\Widgets\Lists)
- getWidget() - (defined in Backend\Classes\WidgetBase)
- guessConfigPath() - guesses the package path for the called class. (defined in Backend\Classes\WidgetBase)
- guessConfigPathFrom() - guesses the package path from a specified class. (defined in Backend\Classes\WidgetBase)
- guessViewPath() - guesses the package path for the called class. (defined in Backend\Classes\WidgetBase)
- guessViewPathFrom() - guesses the package path from a specified class, including. (defined in Backend\Classes\WidgetBase)
- handleError() - sets standard page variables in the case of a controller error. (defined in Backend\Classes\WidgetBase)
- hasAssetsDefined() - returns true if assets any have been added. (defined in Backend\Classes\WidgetBase)
- hasFatalError() - returns true if a fatal error has been set. (defined in Backend\Classes\WidgetBase)
- hasRecordAction() - will specify is anything is clickable. (defined in Backend\Widgets\Lists)
- implementClassWith() - will implement an extension using non-interference and should. (defined in October\Rain\Extension\Extendable)
- isClassExtendedWith() - checks if extendable class is extended with a behavior object. (defined in October\Rain\Extension\Extendable)
- isClassInstanceOf() - checks if the class implements the supplied interface methods. (defined in October\Rain\Extension\Extendable)
- isColumnVisible() - checks if a column is visible to the list. (defined in Backend\Widgets\Lists)
- isUserSorting() - returns true if the user has requested a sort column. (defined in Backend\Widgets\Lists)
- makeAssets() - outputs
<link>
and<script>
tags to load assets previously added with addJs and addCss method calls. (defined in Backend\Classes\WidgetBase) - makeConfig() - reads the contents of the supplied file and applies it to this object. (defined in Backend\Classes\WidgetBase)
- makeConfigFromArray() - makes a config object from an array, making the first. (defined in Backend\Classes\WidgetBase)
- makeFileContents() - includes a file path using output buffering. (defined in Backend\Classes\WidgetBase)
- makeFormWidget() - object with the supplied form field and widget configuration. (defined in Backend\Classes\WidgetBase)
- makeLayout() - renders a layout. (defined in Backend\Classes\WidgetBase)
- makeLayoutPartial() - renders a layout partial. (defined in Backend\Classes\WidgetBase)
- makePartial() - renders a partial file contents located in the views folder. (defined in Backend\Classes\WidgetBase)
- makeView() - loads a view with the name specified. Applies layout if its name is provided. (defined in Backend\Classes\WidgetBase)
- makeViewContent() - renders supplied contents inside a layout. (defined in Backend\Classes\WidgetBase)
- makeWidget() - object with the supplied configuration file. (defined in Backend\Classes\WidgetBase)
- mergeConfig() - merges two configuration sources, either prepared or not, and returns. (defined in Backend\Classes\WidgetBase)
- methodExists() - checks if a method exists, extension equivalent of method_exists(). (defined in October\Rain\Extension\Extendable)
- onApplySetup() - handler. (defined in Backend\Widgets\Lists)
- onFilter() - event handler for changing the filter. (defined in Backend\Widgets\Lists)
- onLoadSetup() - handler to display the list set up. (defined in Backend\Widgets\Lists)
- onPaginate() - event handler for switching the page number. (defined in Backend\Widgets\Lists)
- onRefresh() - event handler for refreshing the list. (defined in Backend\Widgets\Lists)
- onResetSetup() - handler. (defined in Backend\Widgets\Lists)
- prepareQuery() - applies any filters to the model. (defined in Backend\Widgets\Lists)
- propertyExists() - checks if a property exists, extension equivalent of
property_exists()
. (defined in October\Rain\Extension\Extendable) - putUserPreference() - Saves a widget related key/value pair in to the users preferences. (defined in Backend\Widgets\Lists)
- removeColumn() - programmatically removes a column, used for extensibility. (defined in Backend\Widgets\Lists)
- render() - Renders the widget. (defined in Backend\Widgets\Lists)
- resetSession() - Resets all session data related to this widget. (defined in Backend\Classes\WidgetBase)
- resetUserPreference() - Clears a single preference key from the user preferences for this controller/widget. (defined in Backend\Widgets\Lists)
- resetUserPreferences() - Clears all user preferences for this controller/widget. (defined in Backend\Widgets\Lists)
- setSearchOptions() - applies a search options to the list search. (defined in Backend\Widgets\Lists)
- unbindEvent() - destroys an event binding. (defined in Backend\Classes\WidgetBase)
Protected Methods
protected disableStructure()
protected disableStructure(): void
disableStructure toggles the settings to completely disable the structure
protected enableStructure()
protected enableStructure(): void
enableStructure reverts disableStructure
protected getIndentSize()
protected getIndentSize(): int
getIndentSize returns the size increment of indentation
protected getIndentStartSize()
protected getIndentStartSize($treeLevel): int
getIndentStartSize is used to pad each row based on its tree level
protected getIndentTreeStatus()
protected getIndentTreeStatus($records): bool
getIndentTreeStatus checks if the collapse UI should be shown based on if any records have children.
protected getRecords()
protected getRecords(): Collection
getRecords returns all the records from the supplied model, after filtering
protected getTotalColumns()
protected getTotalColumns(): void
getTotalColumns calculates the total columns used in the list, including checkboxes and other additions.
protected hasStructurePermission()
protected hasStructurePermission(): bool
hasStructurePermission checks if the user has permissions to modify the structure.
protected loadAssets()
protected loadAssets(): void
{{inherit}}
protected reorderForNestedTree()
protected reorderForNestedTree($item): void
protected reorderForSimpleTree()
protected reorderForSimpleTree($item): void
protected reorderForSortable()
protected reorderForSortable($item): void
protected useSorting()
protected useSorting(): bool
Show inherited protected methods
Inherited Protected Methods
- applySearchToQuery() - applies the search constraint to a query. (defined in Backend\Widgets\Lists)
- combineBundledAssets() - spins over every bundle definition and combines them to an asset. (defined in Backend\Classes\WidgetBase)
- defineListColumns() - builds an array of list columns with keys as the column name. (defined in Backend\Widgets\Lists)
- emitterEventSortEvents() - sorts the listeners for a given event by priority. (defined in Backend\Classes\WidgetBase)
- evalColorPickerTypeValue() - as background color, to be seen at list. (defined in Backend\Widgets\Lists)
- evalCustomListType() - processes a custom list types registered by plugins and the app. (defined in Backend\Widgets\Lists)
- evalDateTypeValue() - as a date value. (defined in Backend\Widgets\Lists)
- evalDatetimeTypeValue() - as a datetime value. (defined in Backend\Widgets\Lists)
- evalImageTypeValue() - will process an image value. (defined in Backend\Widgets\Lists)
- evalLinkageTypeValue() - (defined in Backend\Widgets\Lists)
- evalNumberTypeValue() - process as number, proxy to text but uses different styling. (defined in Backend\Widgets\Lists)
- evalPartialTypeValue() - as partial reference. (defined in Backend\Widgets\Lists)
- evalSelectableTypeValue() - processes as selectable value types for 'dropdown', (defined in Backend\Widgets\Lists)
- evalSummaryTypeValue() - will limit a value by words. (defined in Backend\Widgets\Lists)
- evalSwitchTypeValue() - as boolean switch. (defined in Backend\Widgets\Lists)
- evalTextTypeValue() - as text and escape the value. (defined in Backend\Widgets\Lists)
- evalTimeTypeValue() - as a time value. (defined in Backend\Widgets\Lists)
- evalTimesinceTypeValue() - as diff for humans (1 min ago). (defined in Backend\Widgets\Lists)
- evalTimetenseTypeValue() - as time as current tense (Today at 0:00). (defined in Backend\Widgets\Lists)
- extendableIsAccessible() - checks if a property is accessible, property equivalent. (defined in October\Rain\Extension\Extendable)
- extendableIsSettingDynamicProperty() - returns true if a dynamic. (defined in October\Rain\Extension\Extendable)
- extensionExtractImplements() - will return classes to implement. (defined in October\Rain\Extension\Extendable)
- extensionExtractMethods() - extracts the available methods from a behavior and adds it. (defined in October\Rain\Extension\Extendable)
- fillFromConfig() - transfers config values stored inside the $config property directly. (defined in Backend\Classes\WidgetBase)
- getAssetEntryBuildPath() - Internal helper, attaches a build code to an asset path. (defined in Backend\Classes\WidgetBase)
- getAssetScheme() - is an internal helper to get the asset scheme. (defined in Backend\Classes\WidgetBase)
- getCheckedRows() - (defined in Backend\Widgets\Lists)
- getCheckedRowsEncoded() - (defined in Backend\Widgets\Lists)
- getColumnTimezonePreference() - for date specific columns. (defined in Backend\Widgets\Lists)
- getConfigValueFrom() - will apply the config getter convention. (defined in Backend\Classes\WidgetBase)
- getCurrentPageNumber() - returns the current page number for the list. This will override. (defined in Backend\Widgets\Lists)
- getExtendableMethodFromDynamicMethods() - (defined in October\Rain\Extension\Extendable)
- getExtendableMethodFromExtensions() - (defined in October\Rain\Extension\Extendable)
- getLocalPath() - converts a relative path to a local path. (defined in Backend\Classes\WidgetBase)
- getPaginationElements() - get the array of elements to pass to the view. (defined in Backend\Widgets\Lists)
- getPreferenceKey() - Returns a unique identifier for this widget and controller action for preference storage. (defined in Backend\Widgets\Lists)
- getPreferenceStorage() - Specifies the model used for storing the user preferences. (defined in Backend\Widgets\Lists)
- getSearchableColumns() - returns a collection of columns which can be searched. (defined in Backend\Widgets\Lists)
- getSession() - Retrieves a widget related key/value pair from session data. (defined in Backend\Classes\WidgetBase)
- getSetupListColumns() - returns all the list columns used for list set up. (defined in Backend\Widgets\Lists)
- getSetupPerPageOptions() - Returns an array of allowable records per page. (defined in Backend\Widgets\Lists)
- getSortableColumns() - returns a collection of columns which are sortable. (defined in Backend\Widgets\Lists)
- handleViewException() - handles a view exception. (defined in Backend\Classes\WidgetBase)
- isColumnPivot() - checks if a column refers to a pivot model specifically. (defined in Backend\Widgets\Lists)
- isColumnRelated() - checks if column refers to a relation of the model, with a toggle. (defined in Backend\Widgets\Lists)
- isColumnSortable() - checks if column can be sorted, excluding calculated non visible columns. (defined in Backend\Widgets\Lists)
- isRowChecked() - (defined in Backend\Widgets\Lists)
- isSortable() - returns true if the column can be sorted. (defined in Backend\Widgets\Lists)
- makeListColumn() - creates a list column object from it's name and configuration. (defined in Backend\Widgets\Lists)
- makeSessionId() - Returns a unique session identifier for this widget and controller action. (defined in Backend\Classes\WidgetBase)
- parseTableName() - replaces the @ symbol with a table name in a model. (defined in Backend\Widgets\Lists)
- processAssetAttributes() - (defined in Backend\Classes\WidgetBase)
- processAutoOrder() - applies a default sort order to all columns. (defined in Backend\Widgets\Lists)
- processColumnTypeModifiers() - (defined in Backend\Widgets\Lists)
- processHiddenColumns() - purges hidden columns. (defined in Backend\Widgets\Lists)
- processPermissionCheck() - check if user has permissions to show the column. (defined in Backend\Widgets\Lists)
- processUserColumnOrders() - applies a supplied column order from a user preference. (defined in Backend\Widgets\Lists)
- putSession() - Saves a widget related key/value pair in to session data. (defined in Backend\Classes\WidgetBase)
- removeDuplicateAssets() - removes duplicate and global assets from the entire collection. (defined in Backend\Classes\WidgetBase)
- renderAssetAttributes() - takes an asset definition and returns the necessary HTML output. (defined in Backend\Classes\WidgetBase)
- validateDateTimeValue() - column type. (defined in Backend\Widgets\Lists)
- validateModel() - is present and right class type. (defined in Backend\Widgets\Lists)