(view)
string o2view_snapshot_name(string $view_name, string $snapshot_name)
ATTENTION: Use of function o2view_snapshot_name() to set snapshot name is deprecated, use parameter on Snapshot-start or Snapshot-attach instructions instead.
Function is still valid to get actual snapshot name from view.
Returns or sets snapshot table name for the view.
When called without $snapshot_name parameter function returns the used snapshot table name (useful in table expression for a view, to address other views snapshots).
When parameter $snapshot_name is passed then it is used as snapshot table name for the view and can be the same for different views.