| core_storage

# Element index for package core_storage [ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ l ] [ m ] [ o ] [ p ] [ q ] [ r ] [ s ] [ t ] [ u ] [ z ] [ _ ] ## _ _bs_sop_lasyLoad in file Bs_SimpleObjPersister.class.php, function _bs_sop_lasyLoad() function to include some other BS-classes. (Used to load other crypting classes) $_dbName in file Bs_ObjPersisterForMySql.class.php, variable Bs_ObjPersisterForMySql::$_dbName (subpackage: objectpersister) The database to use. If not specified, the default db from the main db connection will be used. That should be the sites db. $_dbTableName in file Bs_ObjPersisterForMySql.class.php, variable Bs_ObjPersisterForMySql::$_dbTableName (subpackage: objectpersister) The db table name to use. $_directory in file Bs_ObjPersisterForFile.class.php, variable Bs_ObjPersisterForFile::$_directory (subpackage: objectpersister) the directory that holds the flat files. $_objToPersist in file Bs_ObjPersister.class.php, variable Bs_ObjPersister::$_objToPersist (subpackage: objectpersister) The Object we are handling for persisting/unpersisting. $_path in file Bs_ObjPersisterForFile.class.php, variable Bs_ObjPersisterForFile::$_path (subpackage: objectpersister) the path to the directory where the flat files are located. (may be a network path, right?) if you think in db-lingo, $_path is the database and $_directory is the table. $_persistInfo in file Bs_ObjPersister.class.php, variable Bs_ObjPersister::$_persistInfo (subpackage: objectpersister) Cleaned persit info hash based on the passed persist hints hash. _generateSql in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::_generateSql() (subpackage: objectpersister) Helper to render the SQL string when storing _genericLoad in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::_genericLoad() (subpackage: objectpersister) This is the central load method it's used by the other loads. _getClassName in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::_getClassName() (subpackage: objectpersister) Find out the classname and if it's in scope of an object or classname(string) _getClassRegistry in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::_getClassRegistry() (subpackage: objectpersister) Pass a string or object and returns _classRegistry. _getExpectedMetaTypes in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::_getExpectedMetaTypes() (subpackage: objectpersister) Helper used by classVarCheck() _persistTrigger in file Bs_ObjPersister.class.php, method Bs_ObjPersister::_persistTrigger() (subpackage: objectpersister) Is triggered just befor we try to get the persist data from the object. _unpersistTrigger in file Bs_ObjPersister.class.php, method Bs_ObjPersister::_unpersistTrigger() (subpackage: objectpersister) Is triggered just after we initialized the object successfully. _assembleSqlQueryForClassTbl in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::_assembleSqlQueryForClassTbl() (subpackage: oodb) _createClearInHouse in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::_createClearInHouse() (subpackage: oodb) _dbType2metaType in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::_dbType2metaType() (subpackage: oodb) _getStreamFields in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::_getStreamFields() (subpackage: oodb) I sometimes need all the streamNames from the PersistProperty _metaType2dbType in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::_metaType2dbType() (subpackage: oodb) _setError_Delete in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::_setError_Delete() (subpackage: oodb) _setError_Fetch in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::_setError_Fetch() (subpackage: oodb) _setError_Store in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::_setError_Store() (subpackage: oodb) _typeTrans in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::_typeTrans() (subpackage: oodb) top ## a $aArray in file Bs_ObjPersister.class.php, variable testObj::$aArray $aBool in file Bs_ObjPersister.class.php, variable testObj::$aBool $aInt in file Bs_ObjPersister.class.php, variable testObj::$aInt $aObj in file Bs_ObjPersister.class.php, variable testObj::$aObj $aString in file Bs_ObjPersister.class.php, variable testObj::$aString top ## b $bInt in file Bs_ObjPersister.class.php, variable testObj::$bInt BS_OBJPERSISTERFORFILE_VERSION in file Bs_ObjPersisterForFile.class.php, constant BS_OBJPERSISTERFORFILE_VERSION BS_OBJPERSISTERFORMYSQL_VERSION in file Bs_ObjPersisterForMySql.class.php, constant BS_OBJPERSISTERFORMYSQL_VERSION Bs_ObjPersister_require_Bs_Rc4Crypt in file Bs_ObjPersister.class.php, function Bs_ObjPersister_require_Bs_Rc4Crypt() function to include the static Bs_Rc4Crypt class when needed. the pseudostatic object will be created at the bottom of that class. BS_OBJPERSISTER_VERSION in file Bs_ObjPersister.class.php, constant BS_OBJPERSISTER_VERSION BS_OODBBASICS_VERSION in file Bs_OoDbBasics.class.php, constant BS_OODBBASICS_VERSION BS_OODBFORMYSQL_VERSION in file Bs_OoDbForMySql.class.php, constant BS_OODBFORMYSQL_VERSION BS_OODB_CLEAR_IN_HOUSE_EXTENTION in file Bs_OoDbForMySql.class.php, constant BS_OODB_CLEAR_IN_HOUSE_EXTENTION BS_OODB_CLEAR_IN_HOUSE_TBL in file Bs_OoDbForMySql.class.php, constant BS_OODB_CLEAR_IN_HOUSE_TBL BS_OODB_STREAM_DEFAULT_NAME in file Bs_OoDbBasics.class.php, constant BS_OODB_STREAM_DEFAULT_NAME BS_OODB_STREAM_PREFIX in file Bs_OoDbBasics.class.php, constant BS_OODB_STREAM_PREFIX BS_OODB_VERSION in file Bs_OoDb.class.php, constant BS_OODB_VERSION BS_OP_BLOB_HASH_NAME in file Bs_ObjPersister.class.php, constant BS_OP_BLOB_HASH_NAME BS_OP_FIELD_PREFIX in file Bs_ObjPersister.class.php, constant BS_OP_FIELD_PREFIX BS_OP_STREAM_PREFIX in file Bs_ObjPersister.class.php, constant BS_OP_STREAM_PREFIX BS_OP_TABLE_PREFIX in file Bs_ObjPersister.class.php, constant BS_OP_TABLE_PREFIX BS_SIMPLEOBJPERSISTER_VERSION in file Bs_SimpleObjPersister.class.php, constant BS_SIMPLEOBJPERSISTER_VERSION bs_sop_getHints in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::bs_sop_getHints() bs_sop_postLoad in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::bs_sop_postLoad() bs_sop_preStore in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::bs_sop_preStore() BS_SOP_STORE_INSERT_FORCED in file Bs_SimpleObjPersister.class.php, constant BS_SOP_STORE_INSERT_FORCED BS_SOP_STORE_INSERT_FORCED_WITH_ID_CHANGE in file Bs_SimpleObjPersister.class.php, constant BS_SOP_STORE_INSERT_FORCED_WITH_ID_CHANGE BS_SOP_STORE_OK in file Bs_SimpleObjPersister.class.php, constant BS_SOP_STORE_OK Return states of store(). See store() Bs_ObjPersisterForFile.class.php procedural page Bs_ObjPersisterForFile.class.php Bs_ObjPersisterForMySql.class.php procedural page Bs_ObjPersisterForMySql.class.php Bs_ObjPersister.class.php procedural page Bs_ObjPersister.class.php Bs_SimpleObjPersister.class.php procedural page Bs_SimpleObjPersister.class.php Bs_OoDbBasics.class.php procedural page Bs_OoDbBasics.class.php Bs_OoDbForMySql.class.php procedural page Bs_OoDbForMySql.class.php Bs_OoDb.class.php procedural page Bs_OoDb.class.php $bsDb in file Bs_ObjPersisterForMySql.class.php, variable Bs_ObjPersisterForMySql::$bsDb (subpackage: objectpersister) Reference to the db object. $Bs_Rc4Crypt in file Bs_ObjPersister.class.php, variable Bs_ObjPersister::$Bs_Rc4Crypt (subpackage: objectpersister) reference to the global instance of Bs_Rc4Crypt. Bs_ObjPersister in file Bs_ObjPersister.class.php, class Bs_ObjPersister (subpackage: objectpersister) A B S T R A C T [*1] Object Bs_ObjPersister.class.php Bs_ObjPersister in file Bs_ObjPersister.class.php, method Bs_ObjPersister::Bs_ObjPersister() (subpackage: objectpersister) Constuctor. Bs_ObjPersisterForFile in file Bs_ObjPersisterForFile.class.php, class Bs_ObjPersisterForFile (subpackage: objectpersister) dependencies: Bs_ObjPersister Bs_ObjPersisterForMySql in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::Bs_ObjPersisterForMySql() (subpackage: objectpersister) Constuctor. Bs_ObjPersisterForMySql in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::Bs_ObjPersisterForMySql() (subpackage: objectpersister) Constuctor. Bs_ObjPersisterForMySql in file Bs_ObjPersisterForMySql.class.php, class Bs_ObjPersisterForMySql (subpackage: objectpersister) dependencies: Bs_ObjPersister, Bs_MySql (which requires Bs_Db) Bs_SimpleObjPersister in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::Bs_SimpleObjPersister() (subpackage: objectpersister) Constructor Bs_SimpleObjPersister in file Bs_SimpleObjPersister.class.php, class Bs_SimpleObjPersister (subpackage: objectpersister) Bs_SimpleObjPersister.class.php is able to store and load an Object to a DB. $bsDb in file Bs_OoDbForMySql.class.php, variable Bs_OoDbForMySql::$bsDb (subpackage: oodb) Reference to the db object. Bs_OoDb in file Bs_OoDb.class.php, method Bs_OoDb::Bs_OoDb() (subpackage: oodb) Constuctor. Bs_OoDb in file Bs_OoDb.class.php, class Bs_OoDb (subpackage: oodb) A B S T R A C T [*1] Object Bs_OoDb.class.php Bs_OoDbBasics in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::Bs_OoDbBasics() (subpackage: oodb) Constructor During the process of storing '$this' is cloned (copied), reset and reused. Bs_OoDbBasics in file Bs_OoDbBasics.class.php, class Bs_OoDbBasics (subpackage: oodb) Basic function library for Bs_OoDb.class.php OoDb is the abriviation for "Object Oriented Database" For details on how to use ooDb see Bs_OoDb.class.php (or Bs_OoDbForMySql.class.php) The folling text will discribe details and concepts of the implementation. Bs_OoDbForMySql in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::Bs_OoDbForMySql() (subpackage: oodb) Constuctor. Bs_OoDbForMySql in file Bs_OoDbForMySql.class.php, class Bs_OoDbForMySql (subpackage: oodb) *********************************************************************** Imlementation of the abstract class Bs_OoDb in MySQL. top ## c $cInt in file Bs_ObjPersister.class.php, variable testObj::$cInt classVarCheck in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::classVarCheck() (subpackage: objectpersister) Matches the class and the hint-hash for inconsistences createDirectory in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::createDirectory() (subpackage: objectpersister) Create the db table. createTable in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::createTable() (subpackage: objectpersister) Create the db table. commit in file Bs_OoDb.class.php, method Bs_OoDb::commit() (subpackage: oodb) commit in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::commit() (subpackage: oodb) createClassTable in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::createClassTable() (subpackage: oodb) Create the db table. createClassTableFromName in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::createClassTableFromName() (subpackage: oodb) If only the className is passed we will try to instanciate the object. If it's not in our scope -> Exception If you pass a full path <class>.class.php file, we will first try to include the file and the instanciate the object. top ## d $dummy1 in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$dummy1 $dummy2 in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$dummy2 delete in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::delete() (subpackage: objectpersister) Delete an Object from the DB. dropDirectory in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::dropDirectory() (subpackage: objectpersister) Drop the db table (if it exists). dropTable in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::dropTable() (subpackage: objectpersister) Drop the db table (if it exists). deleteAllObjectRelation in file Bs_OoDb.class.php, method Bs_OoDb::deleteAllObjectRelation() (subpackage: oodb) deleteAllObjectRelation in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::deleteAllObjectRelation() (subpackage: oodb) deleteObjectData in file Bs_OoDb.class.php, method Bs_OoDb::deleteObjectData() (subpackage: oodb) deleteObjectData in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::deleteObjectData() (subpackage: oodb) To prevent deadlocks, always start deleting with the main clearInHouse-Table deleteObjectRelation in file Bs_OoDb.class.php, method Bs_OoDb::deleteObjectRelation() (subpackage: oodb) deleteObjectRelation in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::deleteObjectRelation() (subpackage: oodb) dropTable in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::dropTable() (subpackage: oodb) Drop the db table (if it exists). top ## e errorDump in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::errorDump() (subpackage: oodb) top ## f fetchCihChildren in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::fetchCihChildren() (subpackage: oodb) NOTE catches exception 'No such table in db' and returns empty array. fetchCihChildren in file Bs_OoDb.class.php, method Bs_OoDb::fetchCihChildren() (subpackage: oodb) fetchCihParents in file Bs_OoDb.class.php, method Bs_OoDb::fetchCihParents() (subpackage: oodb) fetchCihParents in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::fetchCihParents() (subpackage: oodb) NOTE catches exception 'No such table in db' and returns empty array. fetchObjectData in file Bs_OoDb.class.php, method Bs_OoDb::fetchObjectData() (subpackage: oodb) fetchObjectData in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::fetchObjectData() (subpackage: oodb) flattenObjArray in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::flattenObjArray() (subpackage: oodb) Wrapper for function _flattenObjArray() forceSave in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::forceSave() (subpackage: oodb) If 'forceSave' is set to TRUE the "md5 autodetect modification" will not be used and the data will always be stored. top ## g getDbObject in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::getDbObject() (subpackage: objectpersister) Get the db Interface. (An instance of Bs_Db) getDirectory in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::getDirectory() (subpackage: objectpersister) getPath in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::getPath() (subpackage: objectpersister) getPersistInfo in file Bs_ObjPersister.class.php, method Bs_ObjPersister::getPersistInfo() (subpackage: objectpersister) Returns a hash with the *cleaned* persist information thst was retrieved from the persist hint hash and by analysing the target object itself. getError_Delete in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getError_Delete() (subpackage: oodb) getError_Persist in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getError_Persist() (subpackage: oodb) getError_Unpersist in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getError_Unpersist() (subpackage: oodb) getFieldNames in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getFieldNames() (subpackage: oodb) I sometimes need all varNames that will have a filed in the underlying storage getID in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getID() (subpackage: oodb) Get the objects sorage ID. getPersistTag in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getPersistTag() (subpackage: oodb) Status info is set in the $_persistTag -hash. For exsample the ID of the object when it's fetched from the storage. The $_persistTag is dependent on the scope. (See header info: Scope) Thus the ID may differ from one scope to the other. getScope in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::getScope() (subpackage: oodb) (See header info: Scope) Get the scope; the area to store the data. getStorageScope in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::getStorageScope() (subpackage: oodb) getStorageScope in file Bs_OoDb.class.php, method Bs_OoDb::getStorageScope() (subpackage: oodb) top ## h hintsSyntaxCheck in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::hintsSyntaxCheck() (subpackage: objectpersister) Will check the hint-hash for syntax errors ? == optional +#<nr> == mandetory only if #<nr> is set. top ## i insert in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::insert() (subpackage: objectpersister) Inserts a *new* Object into the DB. It *must* have an unique ID already set. isReservedWord in file Bs_ObjPersister.class.php, method Bs_ObjPersister::isReservedWord() (subpackage: objectpersister) The following words are explicitly reserved in MySQL and most of them are forbidden by ANSI SQL92 top ## l load in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::load() (subpackage: objectpersister) Load the Object from the DB. loadAll in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::loadAll() (subpackage: objectpersister) Load all objects of the passed classname. loadById in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::loadById() (subpackage: objectpersister) Load single Objects from the DB using an ID. loadByIds in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::loadByIds() (subpackage: objectpersister) Load multiple Objects from the DB using an ID-list. loadByWhere in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::loadByWhere() (subpackage: objectpersister) Load multiple Objects from the DB using a SQL WHERE-clause. loadMeByWhere in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::loadMeByWhere() (subpackage: objectpersister) Load first found Object from the DB using a WHERE clause With the 2ed param it's possible to control which vars are to be loaded by passing a list of obj-var names. top ## m $myData in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$myData $myObject in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$myObject $myString in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$myString myObjectToBePersisted in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::myObjectToBePersisted() Constructor myObjectToBePersisted in file Bs_SimpleObjPersister.class.php, class myObjectToBePersisted matchDbFields_Versus_OoDbProperty in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::matchDbFields_Versus_OoDbProperty() (subpackage: oodb) Match the object fields against the table fields of the $tblName in the database. top ## o oQuery in file Bs_OoDb.class.php, method Bs_OoDb::oQuery() (subpackage: oodb) It's sufficent that the query only selects the ID $className and result of query must match! $scope and scope of query must match! * --sb OPTIMISATION : Gather all the records at once, instanciate 1 object and duplicate it times rec-number. top ## p $password in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$password $password in file Bs_ObjPersister.class.php, variable testObj::$password persist in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::persist() (subpackage: objectpersister) Persist the desired object data into the db table. persist in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::persist() (subpackage: objectpersister) Persist the desired object data into the db table. persist in file Bs_ObjPersister.class.php, method Bs_ObjPersister::persist() (subpackage: objectpersister) Persist the object that is handeled by this object. $pDataHasChanged in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pDataHasChanged (subpackage: oodb) Only persist if something has changed. $pDefaultScope in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pDefaultScope (subpackage: oodb) $pDefaultScope in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pDefaultScope (subpackage: oodb) $pErrorDelete in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pErrorDelete (subpackage: oodb) $pErrorFetch in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pErrorFetch (subpackage: oodb) $pErrorStore in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pErrorStore (subpackage: oodb) A vector of the errors that happend during the last persist/unpersist/delete trys. $pInfoList in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pInfoList (subpackage: oodb) $pMetaData in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pMetaData (subpackage: oodb) Cached information from _prepareToPersistData() For what we want to do, we need data in different structurs. $pObjFetchedFromStorage in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pObjFetchedFromStorage (subpackage: oodb) A list of all objects, that have been already fetched from the storage. When trying to $pObjName in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pObjName (subpackage: oodb) $pObjPutInStorage in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pObjPutInStorage (subpackage: oodb) A list of all objects, that have already been put into the storage. When persisting, we have to mark each object with a targetID and when finished we have to remove the marker. $pObjToPersist in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pObjToPersist (subpackage: oodb) $pStorageAutoCreate in file Bs_OoDbBasics.class.php, variable Bs_OoDbBasics::$pStorageAutoCreate (subpackage: oodb) persist in file Bs_OoDb.class.php, method Bs_OoDb::persist() (subpackage: oodb) Persist a object 1) Check if the object passed ($obj) has already been stored. If so, return ID. top ## q queryFetch in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::queryFetch() (subpackage: oodb) Get rec-array of any complete query queryFetch in file Bs_OoDb.class.php, method Bs_OoDb::queryFetch() (subpackage: oodb) top ## r $rc4key in file Bs_ObjPersister.class.php, variable Bs_ObjPersister::$rc4key (subpackage: objectpersister) a key to use to crypt data that should be cryptified. i think that a hardcoded key is much much better than nothing. register in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::register() (subpackage: objectpersister) You can register the Objects *once* before making use of the SimpleObjPersister. rollback in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::rollback() (subpackage: oodb) rollback in file Bs_OoDb.class.php, method Bs_OoDb::rollback() (subpackage: oodb) top ## s setCrypt in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::setCrypt() (subpackage: objectpersister) When using the 'crypt'=>TRUE as attribute in the hint-hash, it's strongly recommended to set your own 'secreat' $cryptKey. By default the used crypter is symmetric (= same password for en- and de-crypting). setDbName in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::setDbName() (subpackage: objectpersister) Sets the database name to use. setDbObject in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::setDbObject() (subpackage: objectpersister) Set the db Interface. (An instance of Bs_Db) I recomment to use the DB-factory function "getDbObject()" in Bs_Db. setDbTableName in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::setDbTableName() (subpackage: objectpersister) Sets the db table name to use. setDirectory in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::setDirectory() (subpackage: objectpersister) setPath in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::setPath() (subpackage: objectpersister) setPersisterID in file Bs_ObjPersister.class.php, method Bs_ObjPersister::setPersisterID() (subpackage: objectpersister) Write back the persisterID to the objToPersist. setVarSettings in file Bs_ObjPersister.class.php, method Bs_ObjPersister::setVarSettings() (subpackage: objectpersister) Set the '_persistInfo hash'. See header for details. smartError in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::smartError() (subpackage: objectpersister) Display the hint-hash with some explanation store in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::store() (subpackage: objectpersister) Store the Object to the DB. setHardScope in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::setHardScope() (subpackage: oodb) (See header info: Scope) Set a 'strong'-scope. That is: the passed object will be stored with the given scope. setID in file Bs_OoDbBasics.class.php, method Bs_OoDbBasics::setID() (subpackage: oodb) Set the objects sorage ID. softDelete in file Bs_OoDb.class.php, method Bs_OoDb::softDelete() (subpackage: oodb) Only delete the object (and chield-objects) if no strong references point to it. startTransaction in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::startTransaction() (subpackage: oodb) startTransaction in file Bs_OoDb.class.php, method Bs_OoDb::startTransaction() (subpackage: oodb) Optional: Overload transaction functions if underlying storage provides them. storeClearInHouse in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::storeClearInHouse() (subpackage: oodb) storeClearInHouse in file Bs_OoDb.class.php, method Bs_OoDb::storeClearInHouse() (subpackage: oodb) storeObjectData in file Bs_OoDbForMySql.class.php, method Bs_OoDbForMySql::storeObjectData() (subpackage: oodb) Store the passed $lonelyList-data (=objdect data) in the table. storeObjectData in file Bs_OoDb.class.php, method Bs_OoDb::storeObjectData() (subpackage: oodb) top ## t testObj in file Bs_ObjPersister.class.php, method testObj::testObj() testObj in file Bs_ObjPersister.class.php, class testObj tableExists in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::tableExists() (subpackage: objectpersister) This function checks to see if the table exists in that we plan to persist this objects. top ## u $uniqueKey in file Bs_SimpleObjPersister.class.php, variable myObjectToBePersisted::$uniqueKey unzip in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::unzip() unPersist in file Bs_ObjPersister.class.php, method Bs_ObjPersister::unPersist() (subpackage: objectpersister) Unpersist the object that is handeled by this object. unPersist in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::unPersist() (subpackage: objectpersister) (Get the data from db) and push it into the object. unPersist in file Bs_ObjPersisterForFile.class.php, method Bs_ObjPersisterForFile::unPersist() (subpackage: objectpersister) (Get the data from db) and push it into the object. updateTableStructure in file Bs_SimpleObjPersister.class.php, method Bs_SimpleObjPersister::updateTableStructure() (subpackage: objectpersister) This function will use the hints and options to set up a field-attribute hash, that is updateTableStructure in file Bs_ObjPersisterForMySql.class.php, method Bs_ObjPersisterForMySql::updateTableStructure() (subpackage: objectpersister) checks if the db table structure is up-to-date and updates what's needed. unpersist in file Bs_OoDb.class.php, method Bs_OoDb::unpersist() (subpackage: oodb) Unpersist a object - Dramatic dynamic :-) 1) IF className is passed, instanceiate an object(suppressing any missing parameter warnings) ELSE use passed object assuming it's the right class (read on to see what is the *right* class). top ## z zip in file Bs_SimpleObjPersister.class.php, method myObjectToBePersisted::zip() top Documentation generated on Mon, 29 Dec 2003 21:07:26 +0100 by phpDocumentor 1.2.3