archive-com.com » COM » S » SOLARPHP.COM

Total: 875

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Solar Framework : Class : Solar_Cache_Adapter_File : Methods
    the cache dump Convenience method for getting a dump the whole object or one of its properties or an external variable entry Returns the path and filename for the entry key fetch Fetches cache entry data fetchOrAdd Fetches data if it exists if not uses a callback to create the data and adds it to the cache in a race condition safe way fetchOrSave Fetches data if it exists if not uses a callback to create the data and saves it to the cache getLife Gets the cache lifetime in seconds increment Increments a cache entry value by the specified amount isActive Gets the current activity state of the cache on or off locale Looks up class specific locale strings based on a key save Inserts updates cache entry data setActive Makes the cache active true or inactive false Protected buildConfig Builds and returns the default config for a class including all configs inherited from its parents deleteAll Support method to recursively descend into cache subdirectories and remove their contents exception Convenience method for returning exceptions with localized text fetchOrInsert Support method for fetchOrSave and fetchOrAdd isExpired Checks if a file has expired is past its lifetime or not postConfig

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File.Methods (2016-02-13)
    Open archived version from archive


  • Solar Framework : Class : Solar_Cache_Adapter_File : _deleteAll
    into cache subdirectories and remove their contents Parameters string dir The directory to remove Returns void Description Support method to recursively descend into cache subdirectories and remove their contents Prev Up Next Solar Cache Adapter File buildConfig Home Solar Cache

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File._deleteAll (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_File : _preConfig
    File preConfig void Sets the default cache directory location Parameters None Returns void Description Sets the default cache directory location Prev Up Next Solar Cache Adapter File postConstruct Home Solar Cache Adapter File add Local Navigation Home Project Packages Classes

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File._preConfig (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_File : Delete
    string key Deletes an entry from the cache Parameters string key The entry ID Returns void Description Deletes an entry from the cache Prev Up Next Solar Cache Adapter File add Home Solar Cache Adapter File deleteAll Local Navigation Home

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File.delete (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_File : Entry
    filename for the entry key Parameters string key The entry ID Returns string The cache entry path and filename Description Returns the path and filename for the entry key Prev Up Next Solar Cache Adapter File dump Home Solar Cache

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File.entry (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_File : Save
    int life NULL Inserts updates cache entry data Parameters string key The entry ID mixed data The data to write into the entry int life A custom lifespan in seconds for the entry if null uses the default lifespan for the adapter instance Returns bool True on success false on failure Description Inserts updates cache entry data Prev Up Next Solar Cache Adapter File locale Home Solar Cache Adapter File

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_File.save (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_Memcache : Config
    null host string The memcached host name default localhost Default localhost port int The memcached port number default 11211 Default 11211 timeout int The timeout before the server connection is considered a miss in seconds Default is 1 second and should not really be changed for reasons other than testing purposes Default 1 pool array An array of memcache connections to connect to in a multi server pool Each connection

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_Memcache.Config (2016-02-13)
    Open archived version from archive

  • Solar Framework : Class : Solar_Cache_Adapter_Memcache : Properties
    prefix For exmple a Vendor Class Name class would define the default config array in Vendor Class Name This convention lets child classes inherit parent config keys and values php DO THIS INSTEAD protected Vendor Class Name array foo bar baz dib life int The lifetime of each cache entry in seconds Inherited from Solar Cache Adapter pool node array Default configuration for a pool server node host string The memcached host name default localhost port int The memcached port number default 11211 persistent bool Controls the use of a persistent connection default TRUE weight int Number of buckets to create for this server which in turn controls its probability of being selected The probability is relative to the total weight of all servers Default 1 timeout int Value in seconds which will be used for connecting to the daemon Default 1 retry interval int Controls how often a failed server will be retried Default is 15 seconds A setting of 1 disables automatic retry status bool Controls if the server should be flagged as online Setting this parameter to FALSE and retry interval to 1 allows a failed server to be kept in the pool so as not to

    Original URL path: http://solarphp.com/apidoc/class.Solar_Cache_Adapter_Memcache.Properties (2016-02-13)
    Open archived version from archive



  •