Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

storage_cluster.php
Go to the documentation of this file.
1 <?php
15 class ezpCacheStorageClusterOptions extends ezcBaseOptions
16 {
21 protected $storageOptions;
22
35 public function __construct( $options = array() )
36 {
37 // @TODO : Define new options if necessary
38 $this->storageOptions = new ezcCacheStorageOptions();
39 parent::__construct( $options );
40 }
41
50 public function __set( $key, $value )
51 {
52 switch( $key )
53 {
54 default:
55 $this->storageOptions->$key = $value;
56 return;
57 }
58
59 $this->properties[$key] = $value;
60 }
61
70 public function __get( $key )
71 {
72 if ( isset( $this->properties[$key] ) )
73 {
74 return $this->properties[$key];
75 }
76 // Delegate
77 return $this->storageOptions->$key;
78 }
79
87 public function __isset( $key )
88 {
89 // Delegate
90 return ( array_key_exists( $key, $this->properties ) || isset( $this->storageOptions->$key ) );
91 }
92 }
93 ?>
ezpCacheStorageClusterOptions
Definition: storage_cluster.php:16
ezpCacheStorageClusterOptions\__isset
__isset( $key)
Definition: storage_cluster.php:87
ezpCacheStorageClusterOptions\__construct
__construct( $options=array())
Definition: storage_cluster.php:35
ezpCacheStorageClusterOptions\__get
__get( $key)
Definition: storage_cluster.php:70
ezpCacheStorageClusterOptions\__set
__set( $key, $value)
Definition: storage_cluster.php:50
ezpCacheStorageClusterOptions\$storageOptions
$storageOptions
Definition: storage_cluster.php:21
properties
$def properties['rest_client_id']
Definition: ezprestauthorizedclient.php:21
$options
$options
Definition: optionlist.php:56
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.