Overview

Namespaces

  • None
  • PHP
  • XLite
    • Base
    • Controller
      • Admin
        • Base
      • Console
      • Customer
        • Base
    • Core
      • ColumnType
      • Doctrine
      • FileCache
      • HTTP
      • ImageOperator
      • Pack
      • Task
        • Base
      • TranslationDriver
      • Validator
        • Enum
        • Pair
        • String
          • ObjectId
    • DataSet
      • Collection
      • Transport
        • Order
    • Logic
      • Order
        • Modifier
      • Tax
        • Processor
    • Model
      • Base
      • Category
      • Collection
      • Image
        • Category
        • Product
      • ListNode
      • Order
      • OrderItem
      • Payment
        • Base
        • Processor
      • QueryBuilder
        • Base
      • Repo
        • Base
        • Category
        • Image
          • Category
          • Product
        • Order
        • Payment
        • Shipping
      • Shipping
        • Processor
      • WidgetParam
        • ObjectId
    • Module
      • CDev
        • Bestsellers
          • Core
          • Model
            • Repo
          • View
            • FormField
              • Select
            • Pager
        • FeaturedProducts
          • Controller
            • Admin
          • Core
          • Model
            • Repo
          • View
            • Admin
            • Customer
            • Form
            • Pager
        • FileAttachments
          • Controller
            • Admin
          • Model
            • Product
              • Attachment
            • Repo
              • Base
              • Product
                • Attachment
          • View
            • Form
            • Panel
            • Product
              • Details
                • Customer
                  • Page
        • ProductOptions
          • Controller
            • Admin
            • Customer
          • Model
            • Repo
          • View
            • Button
            • Form
              • Item
    • Upgrade
      • Entry
        • Module
    • View
      • Account
      • Address
      • Base
      • Button
        • Addon
      • Checkout
        • Step
      • Console
      • ExternalSDK
      • Form
        • Address
        • Cart
          • Item
          • ShippingEstimator
        • Checkout
        • FileDialog
        • ItemsList
          • Product
        • Login
          • Admin
          • Customer
        • Module
        • Order
          • Modify
        • Product
          • Modify
            • Base
          • Search
            • Admin
            • Customer
        • Profile
        • Profiles
        • Search
          • Product
        • Upgrade
      • FormField
        • Inline
          • Input
            • Checkbox
              • Switcher
            • Text
              • Integer
              • Position
              • Price
              • Product
        • Input
          • Base
          • Checkbox
          • Text
            • Base
        • Label
        • Select
        • Separator
        • Textarea
      • ItemsList
        • Model
          • Product
            • Admin
        • Module
        • Order
          • Admin
        • Product
          • Admin
          • Customer
        • Profile
          • Admin
      • JS
      • LanguagesModify
        • Button
      • Location
        • Node
      • Menu
        • Customer
      • Model
        • Address
        • FileDialog
        • Profile
      • ModulesManager
        • Action
      • Order
        • Details
          • Admin
          • Base
        • Search
        • Statistics
      • OrderList
      • Pager
        • Admin
          • Model
          • Module
          • Order
          • Product
          • Profile
        • Customer
          • Order
          • Product
      • PagerOrig
      • Payment
      • Product
        • Details
          • Admin
          • Customer
            • Page
      • ProductClass
      • RequestHandler
      • Sort
      • StickyPanel
        • Product
          • Admin
      • Tabs
      • Taxes
      • TopMenu
        • Node
      • Upgrade
        • SelectCoreVersion
        • Step
          • Completed
          • Prepare
          • ReadyToInstall

Classes

  • ActionStatus
  • Address
  • AEntity
  • CachingFactory
  • Cart
  • Category
  • CategoryProducts
  • CategoryTranslation
  • Collection
  • Config
  • ConfigTranslation
  • Country
  • Currency
  • CurrencyTranslation
  • Factory
  • FormId
  • IframeContent
  • Inventory
  • Language
  • LanguageLabel
  • LanguageLabelTranslation
  • LanguageTranslation
  • ListNode
  • MailImageParser
  • Measure
  • MeasureDump
  • Membership
  • MembershipTranslation
  • Module
  • ModuleKey
  • Order
  • OrderDetail
  • OrderItem
  • Product
  • ProductClass
  • ProductClassTranslation
  • ProductTranslation
  • Profile
  • Session
  • SessionCell
  • Shipping
  • State
  • Task
  • TemplatePatch
  • TmpVar
  • ViewList
  • Zone
  • ZoneElement
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class CachingFactory

Abstract caching factory

XLite\Base\SuperClass
Extended by XLite\Base\Singleton
Extended by XLite\Base
Extended by XLite\Model\Factory
Extended by XLite\Model\CachingFactory
Namespace: XLite\Model
Since: 1.0.0
See: ____class_see____
Located at XLite/Model/CachingFactory.php
Methods summary
public static mixed
# getObjectFromCallback( string $signature, mixed $handler, string $method, array $args = array(), boolean $clearCache = false )

Cache and return a result of object method call

Cache and return a result of object method call

Parameters

$signature
string
Result key in cache
$handler
mixed
Callback object
$method
string
Method to call
$args
array
Callback arguments OPTIONAL
$clearCache
boolean
Clear cache flag OPTIONAL

Returns

mixed

Since

1.0.0

See

____func_see____
public static XLite\Base
# getObject( string $signature, string $class, array $args = array() )

cache and return object instance

cache and return object instance

Parameters

$signature
string
Result key in cache
$class
string
Object class name
$args
array
Constructor arguments OPTIONAL

Returns

XLite\Base

Since

1.0.0

See

____func_see____
public static
# clearCacheCell( string $signature )

Clear cache cell

Clear cache cell

Parameters

$signature
string
Cache cell key

Since

1.0.0

See

____func_see____
public static
# clearCache( )

Clear cache

Clear cache

Since

1.0.0

See

____func_see____
protected static mixed
# prepareHandler( mixed $handler )

Get handler object (or pseudo-constant)

Get handler object (or pseudo-constant)

Parameters

$handler
mixed
Variable to prepare

Returns

mixed

Since

1.0.0

See

____func_see____
public
# __destruct( )

Clean up cache

Clean up cache

Since

1.0.0

See

____func_see____
Methods inherited from XLite\Model\Factory
__get(), create(), createObject(), getSingleton(), isSingleton()
Methods inherited from XLite\Base
__call(), get(), getComplex(), is(), isComplex(), set(), setComplex(), setProperties()
Methods inherited from XLite\Base\Singleton
getInstance(), resetInstance()
Methods inherited from XLite\Base\SuperClass
__construct(), doDie(), t()
Properties summary
protected static array $cache array()
#

Objects cache

Objects cache

Since

1.0.0

See

____var_see____
Properties inherited from XLite\Base
$singletons
Properties inherited from XLite\Base\Singleton
$instances
LiteCommerce API documentation generated by ApiGen 2.5.0