Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • ActiveRecord
  • Cache
  • Configs
  • Core
  • DateTime
  • Debug
  • DeleteOperation
  • Errors
  • Event
  • EventHook
  • Events
  • FileCache
  • FormattedString
  • Helpers
  • I18n
  • Image
  • Inflections
  • Inflector
  • Models
  • Module
  • Modules
  • Object
  • Operation
  • PingOperation
  • Prototype
  • Route
  • Routes
  • SaveOperation
  • Session
  • TimeZone
  • TimeZoneLocation
  • Uploaded
  • Vars
  • VarsIterator

Interfaces

  • StorageInterface
  • ToArray
  • ToArrayRecursive

Traits

  • PrototypeTrait
  • ToArrayRecursiveTrait

Exceptions

  • AlreadyAuthenticated
  • AuthenticationRequired
  • Exception
  • ModuleConstructorMissing
  • ModuleIsDisabled
  • ModuleNotDefined
  • OffsetError
  • OffsetNotDefined
  • OffsetNotReadable
  • OffsetNotWritable
  • PermissionRequired
  • PropertyError
  • PropertyIsReserved
  • PropertyNotDefined
  • PropertyNotReadable
  • PropertyNotWritable
  • RouteNotDefined
  • SecurityException

Constants

  • TOKEN_ALPHA
  • TOKEN_ALPHA_UPCASE
  • TOKEN_NUMERIC
  • TOKEN_SYMBOL
  • TOKEN_SYMBOL_WIDE

Functions

  • array_flatten
  • array_insert
  • array_merge_recursive
  • camelize
  • capitalize
  • downcase
  • dump
  • escape
  • escape_all
  • exact_array_merge_recursive
  • excerpt
  • format
  • generate_token
  • generate_token_wide
  • generate_v4_uuid
  • get_autoconfig
  • humanize
  • hyphenate
  • log
  • log_error
  • log_info
  • log_success
  • log_time
  • normalize
  • normalize_namespace_part
  • normalize_url_path
  • pbkdf2
  • pluralize
  • remove_accents
  • shorten
  • singularize
  • sort_by_weight
  • stable_sort
  • strip_root
  • titleize
  • unaccent_compare
  • unaccent_compare_ci
  • underscore
  • upcase

Class Models

Models manager.

Extends the ActiveRecord manager to handle module defined models.

ICanBoogie\ActiveRecord\Models implements ArrayAccess
Extended by ICanBoogie\Models
Namespace: ICanBoogie
Located at vendor/icanboogie/module/lib/models.php

Methods summary

public
# __construct( ICanBoogie\ActiveRecord\Connections $connections, array $definitions, ICanBoogie\Modules $modules )

Initializes the ICanBoogie\Models::$modules property.

Initializes the ICanBoogie\Models::$modules property.

Parameters

$connections
ICanBoogie\ActiveRecord\Connections
$connections Connections manager.
$definitions
array
$definitions Model definitions.
$modules
ICanBoogie\Modules
$modules Modules manager.

Overrides

ICanBoogie\ActiveRecord\Models::__construct
public boolean
# offsetExists( mixed $id )

Checks if a model exists by first checking if the module it belongs to is enabled and that it actually defines the model.

Checks if a model exists by first checking if the module it belongs to is enabled and that it actually defines the model.

Parameters

$id
mixed
$id

Returns

boolean

Overrides

ICanBoogie\ActiveRecord\Models::offsetExists
public ICanBoogie\ActiveRecord\Model
# offsetGet( mixed $id )

Gets the specified model of the specified module.

Gets the specified model of the specified module.

The pattern used to request a model is <module_id>[/<model_id>] where <module_id> is the identifier of the module and <model_id> is the identifier of the module's model. The <model_id> part is optional and defaults to primary.

Parameters

$id
mixed
$id Identifier of the model.

Returns

ICanBoogie\ActiveRecord\Model

Throws

ModelNotDefined
when the model is not defined.

Overrides

ICanBoogie\ActiveRecord\Models::offsetGet

Methods inherited from ICanBoogie\ActiveRecord\Models

__get(), offsetSet(), offsetUnset()

Magic methods summary

Properties summary

protected ICanBoogie\Modules $modules
#

The modules accessor.

The modules accessor.

Properties inherited from ICanBoogie\ActiveRecord\Models

$connections, $definitions, $instances

Magic properties inherited from ICanBoogie\ActiveRecord\Models

$connections

Autodoc API documentation generated by ApiGen 2.8.0