Index

(view)

o2view_status

string o2view_status(string $view_name)

Returns view mode flag.

Flag can be [I]nsert, [D]elete or [M]odify.
Modify mode is the standard mode for a record after selection.
Insert mode is after a prepare-insert action, until next post-row or record change.
Delete mode is rarely detected and it is set after e delete action on record.

This function is mostly useful to detect [I]nsert mode status.


Parameters:
  1. $view_name