Subscribe to our news:

 Partners
 Testimonials
Grey: "We're a two-person company, it's just me an my wife. I'm the technical guru, and she handles the business operations. I have to know a lot about MySQL, but that's much too technical for her. I have frequently had to setup CGI scripts (I code in Perl) so she can manage some of our tables (suppliers, manufacturers, etc).
I discovered PHP Generator a couple of days ago, tried the free version,and within a few hours I had purchased the Pro version (as well as SQL Maestro for MySQL).
Today I am completing the conversion of the last of my custom table managers to PHP Generator. This is eliminating several thousand lines of
code that I don't have to support any more!
Thanks for this fantastic product".
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".
More
Add your opinion
 Customers
|
PHP Generator for MySQL online Help
class PermissionSet
PermissionSet is a simple class that encapsulates object permissions and provide methods to query/change all or certain permissions. An instance of this class is passed to the OnGetCustomPagePermissions event to customize page-level permissions.
The following methods can be used to query the current state of a class instance. All functions return Boolean.
Signature
|
Description
|
hasViewGrant()
|
Returns whether the current user can view records.
|
hasAddGrant()
|
Returns whether the current user can add records.
|
hasEditGrant()
|
Returns whether the current user can edit records.
|
hasDeleteGrant()
|
Returns whether the current user can delete records.
|
hasAdminGrant()
|
Returns whether the current user has admin privileges for the current page.
|
The following methods can be used to change the current state of a class instance. All parameters are Boolean.
Signature
|
Description
|
setViewGrant($value)
|
Allows the current user to view records.
|
setAddGrant($value)
|
Allows the current user to add records.
|
setEditGrant($value)
|
Allows the current user to edit records.
|
setDeleteGrant($value)
|
Allows the current user to delete records.
|
setAdminGrant($value)
|
Grants the current user admin privileges for the current page.
|
setGrants($view, $add, $edit, $delete)
|
Sets all page permissions at once.
|
|
 Company news 
Aug 23, 2022
New version introduces toggles, one- and two-dimensional barcodes, enhanced lookups sort order, changing page data sources, PHP 8.1 support, editor hints, and other useful things.
Feb 12, 2021
A new version comes with PHP 8.0 support, inline View forms, updated CheckBox Group editor, on-the-fly adding of new items to multi choice controls and other useful improvements.
Sep 10, 2020
A new minor version features the possibility to customize headers and footers of 'Registration', 'Resend verification' and 'Password recovery' pages, revised OnAddEnvironmentVariables event, default values is Cascading Combobox editors and more.
 Resources
The article shows how to implement an AJAX-based one-click editor for a logical column.
This article begins a series of step-by-step tutorials on how we made the NBA demo. It explains how to add new items to the menu, implement run-time theme selection, and tweak the login form.
The article illustrates how to use various chart libraries with PHP Generator.
 Feature of the day
PHP Generator allows you to select a standard HTML template or create your own style with CSS file.
PHP Generator supports data export to PDF, XML, CVS, Excel and Word.
|