Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_view_theme_Factory
  • icms_view_theme_Object
  • Overview
  • Package
  • Class

Class icms_view_theme_Factory

icms_view_theme_Factory

Package: View\Theme
Category: ICMS
Copyright: Copyright (c) 2000 XOOPS.org
License: GNU public license
Author: Skalpa Keo skalpa@xoops.org
Located at view/theme/Factory.php
Methods summary
public &
# createInstance( $options = array(), $initArgs = array() )

Instanciate the specified theme

Instanciate the specified theme

public boolean
# isThemeAllowed( string $name )

Checks if the specified theme is enabled or not

Checks if the specified theme is enabled or not

Parameters

$name

Returns

boolean
public static array
# getThemesList( )

Gets list of themes folder from themes directory, excluding any directories that do not have theme.html

Gets list of themes folder from themes directory, excluding any directories that do not have theme.html

Returns

array
public static array
# getAdminThemesList( )

Gets list of administration themes folder from themes directory, excluding any directories that do not have theme_admin.html

Gets list of administration themes folder from themes directory, excluding any directories that do not have theme_admin.html

Returns

array
Properties summary
public string $xoBundleIdentifier
# 'icms_view_theme_Factory'
public array $allowedThemes

Currently enabled themes (if empty, all the themes in themes/ are allowed)

Currently enabled themes (if empty, all the themes in themes/ are allowed)

Public

array
# array()
public string $defaultTheme

Default theme to instanciate if none specified

Default theme to instanciate if none specified

Public

string
# 'iTheme'
public boolean $allowUserSelection

If users are allowed to choose a custom theme

If users are allowed to choose a custom theme

Public

bool
# true
API documentation generated by ApiGen