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 Collection

Double-linked list

XLite\Base\SuperClass
Extended by XLite\Model\Collection

Direct known subclasses

XLite\Model\Collection\CheckoutSteps
Namespace: XLite\Model
Since: 1.0.0
See: ____class_see____
Located at XLite/Model/Collection.php
Methods summary
public XLite\Model\ListNode
# findByCallbackResult( string $method, array $args = array() )

Search list element using a callback function

Search list element using a callback function

Parameters

$method
string
Some public method of the XLite_Model_ListNode class
$args
array
Callback arguments OPTIONAL

Returns

XLite\Model\ListNode

Since

1.0.0

See

____func_see____
public XLite\Model\ListNode
# findByKey( string $key )

Search list element by its key

Search list element by its key

Parameters

$key
string
Node identifier

Returns

XLite\Model\ListNode

Since

1.0.0

See

____func_see____
public
# insertBefore( string $key, Xlite\Model\ListNode $node )

Insert new node before a certain node

Insert new node before a certain node

Parameters

$key
string
Node key to search
$node
Xlite\Model\ListNode
New node to insert

Since

1.0.0

See

____func_see____
public
# insertAfter( string $key, Xlite\Model\ListNode $node )

Insert new node after a certain node

Insert new node after a certain node

Parameters

$key
string
Node key to search
$node
Xlite\Model\ListNode
New node to insert

Since

1.0.0

See

____func_see____
public
# add( Xlite\Model\ListNode $node )

Add new node to the end of list

Add new node to the end of list

Parameters

$node
Xlite\Model\ListNode
Node to add

Since

1.0.0

See

____func_see____
public Xlite\Model\ListNode
# getHead( )

Return first element of the list

Return first element of the list

Returns

Xlite\Model\ListNode

Since

1.0.0

See

____func_see____
public Xlite\Model\ListNode
# getTail( )

Return last element of the list

Return last element of the list

Returns

Xlite\Model\ListNode

Since

1.0.0

See

____func_see____
protected boolean
# isInitialized( )

Check if list is initialized

Check if list is initialized

Returns

boolean

Since

1.0.0

See

____func_see____
Methods inherited from XLite\Base\SuperClass
__construct(), doDie(), t()
Properties summary
protected XLite_Model_ListNode $head null
#

Start element

Start element

Since

1.0.0

See

____var_see____
protected XLite_Model_ListNode $tail null
#

End element

End element

Since

1.0.0

See

____var_see____
LiteCommerce API documentation generated by ApiGen 2.5.0