public function __construct(RequestMeta $tabRequestMeta, $label, $entityName = NULL, $entityIdentifier = NULL, $tabLabel = NULL) { parent::__construct($tabRequestMeta->getUrl(), $label); $this->tabRequestMeta = $tabRequestMeta; $this->entityName = $entityName; $this->identifier = $entityIdentifier; $this->tablabel = $tabLabel; }
public function setRequestMeta(RequestMeta $requestMeta) { $this->setAction($requestMeta->getUrl()); $this->setHTTPHeader('X-Psc-Cms-Request-Method', $requestMeta->getMethod()); return $this; }