apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: MySessionSchemaCache

Source Location: /Net_LDAP2-2.2.0/doc/examples/schema_cache.php

Class Overview




Methods


Inherited Variables

Inherited Methods


Class Details

[line 89]


[ Top ]


Method Detail

MySessionSchemaCache (Constructor)   [line 96]

MySessionSchemaCache MySessionSchemaCache( )

Initilize the cache

Here we do nothing. You can use the class constructor for everything you want, but typically it is used to configure the caches config.

  • Access: public

[ Top ]

loadSchema   [line 108]

Net_LDAP2_Schema|Net_LDAP2_Error|false loadSchema( )

Load schema from session

For the sake of simplicity we dont implement a cache aging here. This is not a big problem, since php sessions shouldnt last endlessly.

  • Access: public

[ Top ]

storeSchema   [line 136]

true|Net_LDAP2_Error storeSchema( $schema)

Store the schema object in session
  • Access: public

Parameters:

   $schema   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:03:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.