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_template_file_Handler
  • icms_view_template_file_Object
  • icms_view_template_set_Handler
  • icms_view_template_set_Object
  • Overview
  • Package
  • Class

Class icms_view_template_set_Handler

Template set handler class. This class is responsible for providing data access mechanisms to the data source of template set class objects.

icms_core_ObjectHandler
Extended by icms_view_template_set_Handler
Package: View\Template
Category: ICMS
Copyright: Copyright (c) 2000 XOOPS.org
License: LICENSE.txt
Author: Kazumi Ono onokazu@xoops.org
Located at view/template/set/Handler.php
Methods summary
public object &
# create( boolean $isNew = true )

create a new templateset instance

create a new templateset instance

Parameters

$isNew
is the new tempateset new??

Returns

object
icms_view_template_set_Object icms_view_template_set_Object reference to the new template

See

icms_view_template_set_Object
public object &
# get( integer $id )

Gets templateset from database by ID

Gets templateset from database by ID

Parameters

$id
of the tempateset to get

Returns

object
icms_view_template_set_Object icms_view_template_set_Object reference to the new template

See

icms_view_template_set_Object
public object &
# getByName( string $tplset_name )

Gets templateset from database by Name

Gets templateset from database by Name

Parameters

$tplset_name
of the tempateset to get

Returns

object
icms_view_template_set_Object icms_view_template_set_Object reference to the new template

See

icms_view_template_set_Object
public object
# insert( string & $tplset )

Inserts templateset into the database

Inserts templateset into the database

Parameters

$tplset
$tplset_name of the tempateset to get

Returns

object
icms_view_template_set_Object icms_view_template_set_Object reference to the new template

See

icms_view_template_set_Object
public object
# delete( object & $tplset )

Deletes templateset from the database

Deletes templateset from the database

Parameters

$tplset
icms_view_template_set_Object reference to the object of the tempateset to delete

Returns

object
icms_view_template_set_Object icms_view_template_set_Object reference to the new template

See

icms_view_template_set_Object
public array
# getObjects( object $criteria = null, boolean $id_as_key = false )

retrieve array of icms_view_template_set_Objects meeting certain conditions

retrieve array of icms_view_template_set_Objects meeting certain conditions

Parameters

$criteria
icms_db_criteria_Element with conditions for the blocks
$id_as_key
should the tplfile's tpl_id be the key for the returned array?

Returns

array
icms_view_template_set_Objects matching the conditions
public integer
# getCount( object $criteria = null )

Count some tplfilesets

Count some tplfilesets

Parameters

$criteria
icms_db_criteria_Element

Returns

integer
$count number of template filesets that match the criteria
public array
# getList( array $criteria = null )

Gets list of tplset objects into an array

Gets list of tplset objects into an array

Parameters

$criteria
array of WHERE statement criteria

Returns

array
The array of tplset objects
Methods inherited from icms_core_ObjectHandler
__construct()
Properties inherited from icms_core_ObjectHandler
$db
API documentation generated by ApiGen