Array values question "Flags"

Does anyone know what these mean? IDEL, IDL, IDE, ID" I just inherited a huge PHP website I have to maintain,

array(
// database field name English name width hght format see: list/edit
array(“nm” => “user”, “w” => 40,‘h’ => 1, ‘flags’ => “IDEL”, ‘f’ => 2,
‘eng’ => “Partner Username”),
array(“nm” => “GLcode”, “w” => 20,‘h’ => 1, ‘flags’ => “IDE”, ‘f’ => ‘’,
‘eng’ => “GL Code”),
array(“nm” => “assignCorporateID”, “w” => 40,‘h’ => 1, ‘flags’ => “IDEL”, ‘f’ => 7,
‘eng’ => “Assign Corporate ID”),
array(“nm” => “vendor”, “w” => 40,‘h’ => 1, ‘flags’ => “IDEL”, ‘f’ => 3,
‘eng’ => “Vendor”),
array(“nm” => “accountNumber”, “w” => 40,‘h’ => 1, ‘flags’ => “IDE”, ‘f’ => ‘’,
‘eng’ => “Account Number”),
array(“nm” => “billCycleDate”, “w” => 10,‘h’ => 1, ‘flags’ => “IDEL”, ‘f’ => ‘date’,

Yes. It means the programmer was an amateur for using cryptic abbreviations.

You will need to search through the code to see how and where it is used to try and decipher what they stand for.

1 Like

I was afraid of that, thus far, I can see no pattern.

image

Probably - I = insert (Create), D = delete (Delete), E = edit (Update), L = List (Read), ie CRUD

Sponsor our Newsletter | Privacy Policy | Terms of Service