Menu

Wrapper

Aruna Devi

Wrapper


wrapper class is a class, a data structure, or abstract data type whose instances are collections of other objects.

It have wrapper of singleRow and MultipleRow
singleRow is allow for single row updations, starts with ClsW and multipleRow is allow for mass updations, NaanalDBtable.
Inputs are


1.id


Each record have unique id.id have 0 value means it goes to insert,if id any value means it goes to update.


2.fldID


fieldID is access the anyother field from table for id.


3.objPdo


PDO – PHP Data Objects – is a database access layer providing a uniform method of access to multiple databases.


4.tablename


The table created for module. so the table and module name are same


5.arrField


arrField contains all fields in the module table


6.arrConfigVar


config's variables are placed in an arrConfigVar


7.module


module specify the wrapper class.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.