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

  • AccessLevel
  • AccountStatus
  • AddressType
  • ASelect
  • Categories
  • Classes
  • Country
  • Currency
  • DateFormat
  • DecimalPart
  • Membership
  • Memberships
  • Multiple
  • OrderStatus
  • ProductClasses
  • Regular
  • SMTPSecurity
  • State
  • SubcategoriesLook
  • TestLiveMode
  • ThousandDelimiter
  • TimeFormat
  • TimeZone
  • Title
  • WeightUnit
  • YesNo
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class Categories

Category selector

XLite\Base\SuperClass
Extended by XLite\Base\Singleton
Extended by XLite\Base
Extended by XLite\Core\Handler
Extended by XLite\View\AView
Extended by XLite\View\FormField\AFormField
Extended by XLite\View\FormField\Select\ASelect
Extended by XLite\View\FormField\Select\Multiple
Extended by XLite\View\FormField\Select\Categories
Namespace: XLite\View\FormField\Select
Since: 1.0.0
See: ____class_see____
Located at XLite/View/FormField/Select/Categories.php
Methods summary
protected array
# getDefaultOptions( )

Return default options list

Return default options list

Returns

array

Since

1.0.0

See

____func_see____
protected string
# getIndentationString( array $category )

Return indentation string for displaying category depth level

Return indentation string for displaying category depth level

Parameters

$category
array
Category data

Returns

string

Since

1.0.14

See

____func_see____
protected string
# getCategoryName( array $category )

Return translated category name

Return translated category name

:KLUDGE: it's the hack to prevent execution of superflous queries

Parameters

$category
array
Category data

Returns

string

Since

1.0.6

See

____func_see____
Methods inherited from XLite\View\FormField\Select\Multiple
getCommonAttributes(), getDefaultAttributes(), isOptionSelected(), setValue(), setWidgetParams()
Methods inherited from XLite\View\FormField\Select\ASelect
defineWidgetParams(), getFieldTemplate(), getFieldType(), getOptions(), isListEmpty()
Methods inherited from XLite\View\FormField\AFormField
__construct(), assembleClasses(), assembleValidationRules(), callFormMethod(), checkFieldAccessability(), checkFieldValidity(), checkFieldValue(), checkSavedValue(), getAttributes(), getAttributesCode(), getCSSFiles(), getDefaultLabel(), getDefaultName(), getDefaultParamFieldOnly(), getDefaultTemplate(), getDefaultValue(), getDefaultWrapperClass(), getDir(), getFieldId(), getInlineJSCode(), getLabel(), getName(), getRequiredFieldErrorMessage(), getValidityFlag(), getValue(), getWrapperClass(), isRequired(), isVisible(), prepareAttributes(), sanitize(), setCommonAttributes(), validate()
Methods inherited from XLite\View\AView
__call(), __clone(), __constructStatic(), __get(), addSlashes(), addViewListChild(), applyXpathPatches(), buildListItemClass(), checkMode(), checkTarget(), checkVisibility(), closeView(), concat(), defineViewList(), detectCurrentViewZone(), display(), displayCommentedData(), displayInheritedViewListContent(), displayNestedViewListContent(), displayViewListContent(), formatDate(), formatFileSize(), formatPrice(), formatSize(), formatTime(), get(), getAllowedTargets(), getArrayField(), getChildWidget(), getCommonFiles(), getContent(), getCurrencySymbol(), getCurrentLanguage(), getDefaultModes(), getInheritedListName(), getInheritedViewList(), getJSFiles(), getListName(), getMetaTags(), getNamePostedData(), getNameToDelete(), getNamespaces(), getNestedListName(), getNestedViewList(), getObjectField(), getRegisteredMetas(), getRegisteredNamespaces(), getRegisteredResources(), getRequestParamValue(), getResources(), getResourcesSchema(), getResourcesTypeSchema(), getRowClass(), getTail(), getTemplate(), getTemplateFile(), getThemeFiles(), getValidationEngineLanguageFile(), getValidationEngineLanguageResource(), getViewList(), getViewListChildren(), getViewListClass(), getViewListContent(), getViewListContentAsNodes(), getWidget(), getXpathByContent(), inc(), includeCompiledFile(), initView(), insertViewListByPattern(), insertViewListByXpath(), isDeveloperMode(), isDisplayRequired(), isDisplayRequiredForMode(), isEmpty(), isSelected(), isViewListVisible(), postprocessContent(), prepareResource(), rand(), registerMetas(), registerNamespaces(), registerResources(), registerResourcesForCurrentWidget(), removeWidgetFromList(), split(), truncate()
Methods inherited from XLite\Core\Handler
buildFullURL(), buildURL(), buildURLArguments(), buildURLPath(), getParam(), getParamsHash(), getPostedData(), getPrefixPostedData(), getPrefixSelected(), getRequestDataByPrefix(), getSelected(), getWidgetParams(), getWidgetSettings(), getWidgetSettingsFilter(), init(), isExported(), validateAttributes()
Methods inherited from XLite\Base
getComplex(), is(), isComplex(), set(), setComplex(), setProperties()
Methods inherited from XLite\Base\Singleton
getInstance(), resetInstance()
Methods inherited from XLite\Base\SuperClass
doDie(), t()
Constants summary
string INDENT_STRING '-'
#
integer INDENT_MULTIPLIER 3
#
Constants inherited from XLite\View\FormField\Select\ASelect
PARAM_OPTIONS
Constants inherited from XLite\View\FormField\AFormField
FIELD_TYPE_CHECKBOX, FIELD_TYPE_LABEL, FIELD_TYPE_PASSWORD, FIELD_TYPE_RADIO, FIELD_TYPE_SELECT, FIELD_TYPE_SEPARATOR, FIELD_TYPE_TEXT, FIELD_TYPE_TEXTAREA, PARAM_ATTRIBUTES, PARAM_COMMENT, PARAM_FIELD_ONLY, PARAM_HELP, PARAM_ID, PARAM_IS_ALLOWED_FOR_CUSTOMER, PARAM_LABEL, PARAM_NAME, PARAM_REQUIRED, PARAM_VALUE, PARAM_WRAPPER_CLASS
Constants inherited from XLite\View\AView
INSERT_AFTER, INSERT_BEFORE, PARAM_MODES, PARAM_TEMPLATE, REPLACE, RESOURCE_CSS, RESOURCE_JS
Constants inherited from XLite\Core\Handler
PARAM_AJAX_TARGET, PARAM_AJAX_WIDGET, PARAM_DUMP_STARTED, PARAM_IS_EXPORTED, PARAM_SILENT
Properties inherited from XLite\View\FormField\AFormField
$errorMessage, $isAllowedForCustomer, $name, $validityFlag
Properties inherited from XLite\View\AView
$countDeep, $countLevel, $isCloned, $metas, $namedWidgets, $namespaces, $resources, $tail, $viewLists
Properties inherited from XLite\Core\Handler
$widgetParams
Properties inherited from XLite\Base
$singletons
Properties inherited from XLite\Base\Singleton
$instances
LiteCommerce API documentation generated by ApiGen 2.5.0