SEARCH:
Previous: ddUserPerm Next: DD_ColInsertsOK

DDTable_IDResolve

string $table_id
string $view_id

Accepts the name of a table and returns the appropriate view to access based on the user's effective group.

The name of a view is only returned if there is some reason to redirect the user to a view. In very many cases, oftentimes in all cases, the function returns the base table name itself, such as:

  • If no column or row security is on the table
  • If the user is a root user
  • If the user is the anonymous (login) user
Previous: ddUserPerm Next: DD_ColInsertsOK