Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • Assets
  • ComposerUtility
  • Events
  • FilterInput
  • FixedGroups
  • HttpRequest
  • Logger
  • MediaUploader
  • MimeTypes
  • PreloadItem
  • Psr0ClassLoader
  • Psr4ClassLoader
  • Random
  • Registry
  • Request
  • Security
  • XoopsTpl
  • Yaml

Interfaces

  • AttributeInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Registry

Registry - a non-persisted key value store

Earlier version was based on Zend_Registry, some names preserved

ArrayObject implements IteratorAggregate, Traversable, ArrayAccess, Serializable, Countable
Extended by Xoops\Core\Registry implements Xoops\Core\AttributeInterface
Namespace: Xoops\Core
Package: Registry
Category: Xoops\Core\Registry
Copyright: 2013-2014 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Registry.php
Methods summary
public mixed
# get( string $name, mixed $default = null )

Retrieve a registry entry value.

Retrieve a registry entry value.

Parameters

$name
Name of the registry entry
$default

A default value returned if the requested registry entry is not set.

Returns

mixed
The value of the attribute, or null if not set.

Implementation of

Xoops\Core\AttributeInterface::get()
public
# set( string $name, mixed $value )

Set a registry entry value.

Set a registry entry value.

Parameters

$name
Name of the registry entry
$value
Value for the registry entry

Implementation of

Xoops\Core\AttributeInterface::set()
public boolean
# has( string $name )

has - test if registry entry with a given name is set

has - test if registry entry with a given name is set

Parameters

$name
Name of the registry entry

Returns

boolean
true if name is registered

Implementation of

Xoops\Core\AttributeInterface::has()
public mixed
# remove( string $name )

Remove an attribute.

Remove an attribute.

Parameters

$name
An attribute name.

Returns

mixed

An attribute value, if the named attribute existed and has been removed, otherwise NULL.

Implementation of

Xoops\Core\AttributeInterface::remove()
public array
# clear( )

Remove all attributes.

Remove all attributes.

Returns

array
old values

Implementation of

Xoops\Core\AttributeInterface::clear()
Methods inherited from ArrayObject
__construct(), append(), asort(), count(), exchangeArray(), getArrayCopy(), getFlags(), getIterator(), getIteratorClass(), ksort(), natcasesort(), natsort(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), serialize(), setFlags(), setIteratorClass(), uasort(), uksort(), unserialize()
Constants inherited from ArrayObject
ARRAY_AS_PROPS, STD_PROP_LIST
API documentation generated by ApiGen