/**
  * Constructor.
  */
 public function __construct($workspace)
 {
     parent::__construct(self::ACTION, array('workspace' => array('name' => $workspace->getName())), null, null, null, null, $workspace);
 }
示例#2
0
 /**
  * Constructor.
  */
 public function __construct($receiverGroup)
 {
     parent::__construct(self::ACTION, array('receiverGroup' => array('name' => $receiverGroup->getName())), null, $receiverGroup);
 }
示例#3
0
 /**
  * Constructor.
  */
 public function __construct($receiver)
 {
     parent::__construct(self::ACTION, array('receiverUser' => array('lastName' => $receiver->getLastName(), 'firstName' => $receiver->getFirstName())), $receiver);
 }
 /**
  * Constructor.
  * ChangeSet expected variable is array which contain all modified properties, in the following form:
  * (
  *      'propertyName1' => ['property old value 1', 'property new value 1'],
  *      'propertyName2' => ['property old value 2', 'property new value 2'],
  *      etc.
  * )
  *
  * Please respect lower caml case naming convention for property names
  */
 public function __construct($role, $changeSet)
 {
     parent::__construct(self::ACTION, array('role' => array('name' => $role->getName(), 'changeSet' => $changeSet), 'workspace' => array('name' => $role->getWorkspace()->getName())), null, null, null, $role, $role->getWorkspace());
     $this->setIsDisplayedInWorkspace(true);
 }
 /**
  * Constructor.
  */
 public function __construct($role)
 {
     parent::__construct(self::ACTION, array('role' => array('name' => $role->getName()), 'workspace' => array('name' => $role->getWorkspace()->getName())), null, null, null, $role, $role->getWorkspace());
 }
 /**
  * Constructor.
  */
 public function __construct($details = [])
 {
     parent::__construct(self::ACTION, $details);
 }
示例#7
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(self::ACTION, array());
 }