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 : FetchOrAdd
    for the entry if null uses the default lifespan for the adapter instance Returns mixed The fetched or created data Description 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 php create a request object request Solar Registry get request create an entry ID named for the current URI id request server REQUEST

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


  • Solar Framework : Class : Solar_Cache_Adapter : FetchOrSave
    for the entry if null uses the default lifespan for the adapter instance Returns mixed The fetched or created data Description Fetches data if it exists if not uses a callback to create the data and saves it to the cache php create a request object request Solar Registry get request create an entry ID named for the current URI id request server REQUEST URI create a cache object cache

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

  • Solar Framework : Class : Solar_Cache_Adapter : IsActive
    Gets the current activity state of the cache on or off 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 increment Home Solar Cache Adapter locale Local Navigation Home Project Packages Classes Manual

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

  • Solar Framework : Class : Solar_Cache_Adapter : Save
    data to the cache with its own entry identifier If the entry does not exist it is created if the entry does already exist it is updated with the new data Does not replace if caching is not active For example to store an array in the cache php create a cache object cache Solar factory Solar Cache create a unique ID id my array set up some data to

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

  • Solar Framework : Class : Solar_Cache_Adapter : SetActive
    flag Makes the cache active true or inactive false Parameters bool flag True to turn on false to turn off Returns void Description Makes the cache active true or inactive false php cache Solar factory Solar Cache turn the cache off cache setActive false turn it back on cache setActive true Prev Up Next Solar Cache Adapter save Home Solar Cache Adapter Apc Local Navigation Home Project Packages Classes Manual

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

  • Solar Framework : Class : Solar_Cache_Adapter_Apc : Config
    Whether or not the cache should be active at instantiation Default true life int The lifetime of each cache entry in seconds Default 0 prefix string A prefix to place in front of every cache entry key e g use this to deconflict between identical cache keys in caches shared among different domains or environments Default null Prev Up Next Overview Home Constants Local Navigation Home Project Packages Classes Manual

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

  • Solar Framework : Class : Solar_Cache_Adapter_Apc : 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_Apc.Properties (2016-02-13)
    Open archived version from archive

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

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



  •