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_Memcache : Methods
    entry deleteAll Removes all cache entries dump Convenience method for getting a dump the whole object or one of its properties or an external variable entry Returns the adapter specific name for the entry key fetch Gets 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 Updates or inserts 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 createPool Adds servers to a memcache connection pool from configuration exception Convenience method for returning exceptions with localized text fetchOrInsert Support method for fetchOrSave and fetchOrAdd postConfig A hook that activates after buildConfig in the constructor postConstruct Post

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


  • Solar Framework : Class : Solar_Cache_Adapter_Memcache : Save
    life NULL Updates or inserts 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 Updates or inserts cache entry data Prev Up Next Solar Cache Adapter Memcache locale Home Solar Cache Adapter

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : Properties
    that you do not define config defaults in config directly php DO NOT DO THIS protected config array foo bar baz dib Instead define config defaults in a protected property named for the class withan underscore 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

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : Methods
    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 Sets

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : Add
    only if the entry does not already exist 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 true Always reports a successsful add Description Inserts cache entry data but only if the entry does not already exist Prev Up Next Solar Cache Adapter

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : GetLife
    cache lifetime in seconds Inherited from Solar Cache Adapter Parameters None Returns int The cache lifetime in seconds Description Gets the cache lifetime in seconds Prev Up Next Solar Cache Adapter None fetchOrSave Home Solar Cache Adapter None increment Local

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : Increment
    Increments a cache entry value by the specified amount Parameters string key The entry ID string amt The amount to increment by default 1 Using negative values is effectively a decrement Returns void Never increments Description Increments a cache entry value by the specified amount If the entry does not exist creates it at zero then increments it Prev Up Next Solar Cache Adapter None getLife Home Solar Cache Adapter

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

  • Solar Framework : Class : Solar_Cache_Adapter_None : IsActive
    the current activity state of the cache on or off Inherited from Solar Cache Adapter Parameters None Returns bool True if active false if not Description Gets the current activity state of the cache on or off php cache Solar factory Solar Cache is the cache active or not flag cache isActive Solar dump flag Prev Up Next Solar Cache Adapter None increment Home Solar Cache Adapter None locale Local

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



  •