PATH:
home
/
bkunreyz
/
bcmuslimgolfers.com
/
wp-content
/
plugins
/
backup
/
com
/
lib
/
Dropbox
<?php namespace Dropbox; /** * A class that gives get/put/clear access to a single entry in an array. */ class ArrayEntryStore implements ValueStore { /** @var array */ private $array; /** @var mixed */ private $key; /** * Constructor. * * @param array $array * The array that we'll be accessing. * * @param mixed $key * The key for the array element we'll be accessing. */ function __construct(&$array, $key) { $this->array = &$array; $this->key = $key; } /** * Returns the entry's current value or <code>null</code> if nothing is set. * * @return object */ function get() { if (isset($this->array[$this->key])) { return $this->array[$this->key]; } else { return null; } } /** * Set the array entry to the given value. * * @param object $value */ function set($value) { $this->array[$this->key] = $value; } /** * Clear the entry. */ function clear() { unset($this->array[$this->key]); } }
[-] StreamReadException.php
[edit]
[-] ArrayEntryStore.php
[edit]
[-] WriteMode.php
[edit]
[-] AuthBase.php
[edit]
[-] WebAuthBase.php
[edit]
[-] CurlStreamRelay.php
[edit]
[-] WebAuthNoRedirect.php
[edit]
[-] autoload.php
[edit]
[-] OAuth1AccessToken.php
[edit]
[-] SSLTester.php
[edit]
[-] strict.php
[edit]
[-] DeserializeException.php
[edit]
[-] DropboxMetadataHeaderCatcher.php
[edit]
[-] RequestUtil.php
[edit]
[-] AppInfoLoadException.php
[edit]
[-] Curl.php
[edit]
[+]
WebAuthException
[+]
..
[-] Security.php
[edit]
[-] AppInfo.php
[edit]
[-] AuthInfoLoadException.php
[edit]
[+]
Exception
[-] HttpResponse.php
[edit]
[-] RootCertificates.php
[edit]
[-] OAuth1Upgrader.php
[edit]
[-] ValueStore.php
[edit]
[-] AuthInfo.php
[edit]
[-] Client.php
[edit]
[-] WebAuth.php
[edit]
[-] Host.php
[edit]
[-] Checker.php
[edit]
[-] Path.php
[edit]
[-] Util.php
[edit]
[+]
certs
[-] Exception.php
[edit]