AbstractSettings

implements Omeka\Settings\SettingsInterface

Known subclasses

Omeka\Settings\AbstractTargetSettings, Omeka\Settings\Settings, Omeka\Settings\SiteSettings, Omeka\Settings\UserSettings
Abstract
Open source code
Methods Summary
public
# __construct( Doctrine\DBAL\Connection $connection , Omeka\Mvc\Status $status )
abstract public
# getTableName( )
Get the setting table name.
public
# set( string $id , mixed $value )
Set a setting This will overwrite an existing setting with the same ID. A null value will delete an existing setting.

Implementation of

public
# get( string $id , mixed $default = NULL )
Get a setting Will return null if no setting exists with the passed ID.

Implementation of

public
# delete( string $id )
Delete a setting

Implementation of

protected
# isCached( string $id )
Is a setting already cached?
protected
# cache( )
Cache all settings.
protected
# setCache( )
protected
# setSetting( $id , $value )
protected
# deleteSetting( $id )
Properties Summary
protected Doctrine\DBAL\Connection $connection
# NULL
protected Omeka\Mvc\Status $status
# NULL
protected array $cache
# NULL