INSTALL
LICENSE
README
AppDatabase __construct( Application $oApp)
void createNewAppTable( [string $sTableName = NULL])
The table will contain the predefined fields "id" (auto-increment key) and "timestamp" (last change)
void createNewDatabaseField( string $sFieldName, string $sFieldType)
void databaseFieldMoveLeft( string $sFieldName)
void databaseFieldMoveRight( string $sFieldName)
void deleteDatabaseField( string $sFieldName)
void deleteDatabaseRecord( string $iId)
Application getApp( )
object A getDb( )
void getDefaultTableName( )
Currently, only this table exists but future versions of phpClick will support more than one table per database
int getNumCustomFields( [string $sTableName = ''])
string getSqlEscapeOf( string $sValue)
This function helps avoid SQL injection attacks
array getTableInfoByTableName( [string $sTableName = ""])
void getUserFriendlyDbFieldType( string $sType)
void insertDatabaseRecordFromPostRequest( )
The data is directly read out of POST variables with names relating to the databases field names
boolean isPredefinedField( string $sFieldName)
mysqli_result query( string $sQuery)
void renameDatabaseField( string $sOldName, string $sNewName)
void updateDatabaseRecordFromPostRequest( mixed $sId)