- 
            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
- Library
- Support
- Arr
October\Rain\Support\Arr
Overview
Arr helper as an extension to Laravel
Extends
- Illuminate\Support\Arr
Protected Properties
There are no protected properties in the class.
Show inherited protected properties
Inherited Protected Properties
- $macros - The registered string macros. (defined in Illuminate\Support\Arr)
Public Methods
public static build()
public static build($array, $callback): array
build a new array using a callback.
public static trans()
public static trans($arr): array
trans will translate an array, usually for dropdown and checkboxlist options
Inherited Public Methods
- __call() - Dynamically handle calls to the class. (defined in Illuminate\Support\Arr)
- __callStatic() - Dynamically handle calls to the class. (defined in Illuminate\Support\Arr)
- accessible() - Determine whether the given value is array accessible. (defined in Illuminate\Support\Arr)
- add() - Add an element to an array using "dot" notation if it doesn't exist. (defined in Illuminate\Support\Arr)
- collapse() - Collapse an array of arrays into a single array. (defined in Illuminate\Support\Arr)
- crossJoin() - Cross join the given arrays, returning all possible permutations. (defined in Illuminate\Support\Arr)
- divide() - Divide an array into two arrays. One with keys and the other with values. (defined in Illuminate\Support\Arr)
- dot() - Flatten a multi-dimensional associative array with dots. (defined in Illuminate\Support\Arr)
- except() - Get all of the given array except for a specified array of keys. (defined in Illuminate\Support\Arr)
- exists() - Determine if the given key exists in the provided array. (defined in Illuminate\Support\Arr)
- first() - Return the first element in an array passing a given truth test. (defined in Illuminate\Support\Arr)
- flatten() - Flatten a multi-dimensional array into a single level. (defined in Illuminate\Support\Arr)
- flushMacros() - Flush the existing macros. (defined in Illuminate\Support\Arr)
- forget() - Remove one or many array items from a given array using "dot" notation. (defined in Illuminate\Support\Arr)
- get() - Get an item from an array using "dot" notation. (defined in Illuminate\Support\Arr)
- has() - Check if an item or items exist in an array using "dot" notation. (defined in Illuminate\Support\Arr)
- hasAny() - Determine if any of the keys exist in an array using "dot" notation. (defined in Illuminate\Support\Arr)
- hasMacro() - Checks if macro is registered. (defined in Illuminate\Support\Arr)
- isAssoc() - Determines if an array is associative. (defined in Illuminate\Support\Arr)
- isList() - Determines if an array is a list. (defined in Illuminate\Support\Arr)
- join() - Join all items using a string. The final items can use a separate glue string. (defined in Illuminate\Support\Arr)
- keyBy() - Key an associative array by a field or using a callback. (defined in Illuminate\Support\Arr)
- last() - Return the last element in an array passing a given truth test. (defined in Illuminate\Support\Arr)
- macro() - Register a custom macro. (defined in Illuminate\Support\Arr)
- map() - Run a map over each of the items in the array. (defined in Illuminate\Support\Arr)
- mixin() - Mix another object into the class. (defined in Illuminate\Support\Arr)
- only() - Get a subset of the items from the given array. (defined in Illuminate\Support\Arr)
- pluck() - Pluck an array of values from an array. (defined in Illuminate\Support\Arr)
- prepend() - Push an item onto the beginning of an array. (defined in Illuminate\Support\Arr)
- prependKeysWith() - Prepend the key names of an associative array. (defined in Illuminate\Support\Arr)
- pull() - Get a value from the array, and remove it. (defined in Illuminate\Support\Arr)
- query() - Convert the array into a query string. (defined in Illuminate\Support\Arr)
- random() - Get one or a specified number of random values from an array. (defined in Illuminate\Support\Arr)
- set() - Set an array item to a given value using "dot" notation. (defined in Illuminate\Support\Arr)
- shuffle() - Shuffle the given array and return the result. (defined in Illuminate\Support\Arr)
- sort() - Sort the array using the given callback or "dot" notation. (defined in Illuminate\Support\Arr)
- sortDesc() - Sort the array in descending order using the given callback or "dot" notation. (defined in Illuminate\Support\Arr)
- sortRecursive() - Recursively sort an array by keys and values. (defined in Illuminate\Support\Arr)
- toCssClasses() - Conditionally compile classes from an array into a CSS class list. (defined in Illuminate\Support\Arr)
- toCssStyles() - Conditionally compile styles from an array into a style list. (defined in Illuminate\Support\Arr)
- undot() - Convert a flatten "dot" notation array into an expanded array. (defined in Illuminate\Support\Arr)
- where() - Filter the array using the given callback. (defined in Illuminate\Support\Arr)
- whereNotNull() - Filter items where the value is not null. (defined in Illuminate\Support\Arr)
- wrap() - If the given value is not an array and not null, wrap it in one. (defined in Illuminate\Support\Arr)
Protected Methods
Show inherited protected methods
Inherited Protected Methods
- explodePluckParameters() - Explode the "value" and "key" arguments passed to "pluck". (defined in Illuminate\Support\Arr)