<?php
namespace Phad;
/**
* When `Phad::access->call()` is called, this enum indicates where `call()` is being called from. This happens when a node declares an appropriate attribute with the value `call:something`.
*/
enum Caller {
/* declared on `diddelete`. Return value is not used. Passes no additional arguments. */
case DID_DELETE;
/* declared on `access` attribute. Passes an array representing a data node. */
case CAN_ACCESS;
/* declared on `candelete` attribute. Passes no additional arguments. */
case CAN_DELETE;
/* declared on `cansubmit` attribute. Passes an $ItemRow array representing the data to-be-sumbitted */
case CAN_SUBMIT;
}