ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:session:reference:persist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v5:session:reference:persist [2018/07/01 21:52]
peterdd typo in class name
v5:session:reference:persist [2018/07/01 22:55] (current)
peterdd prefer functions start lowercase (#430)
Line 8: Line 8:
 </WRAP> </WRAP>
 ===== Description ======= ===== Description =======
-The **static** method //**persists**// sets or gets the status of a persistent connection on the session connection. This is not the same value as the driver associated with the database abstraction layer.+The **static** method //**persist**// sets or gets the status of a persistent connection on the session connection. This is not the same value as the driver associated with the database abstraction layer.
  
-The value must be set **//before//** [[v5:session:reference:config|config()]] is called+The value must be set **//before//** [[v5:session:reference:config|config()]] is called.
  
  
Line 16: Line 16:
  
 ^$connectMode^Connection Method^ ^$connectMode^Connection Method^
-^true|PConnect()| +^true|pConnect()| 
-^false|Connect()| +^false|connect()| 
-^'N'|NConnect()| +^'N'|nConnect()| 
-^'P'|PConnect()| +^'P'|pConnect()| 
-^'C'|Connect()|+^'C'|connect()|
    
 =====Use As A Getter===== =====Use As A Getter=====
v5/session/reference/persist.txt · Last modified: 2018/07/01 22:55 by peterdd