public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "DocumentType" => null, "Fields" => null, 'ElementId' => null);
     //return properties mapping
     $this->SetPropertiesTypes(array('ElementId' => array('Type' => 'int')));
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $activityData = self::getRestActivityData();
     $this->arProperties = array('Title' => '', 'UseSubscription' => $activityData['USE_SUBSCRIPTION'] == 'Y' ? 'Y' : 'N', 'IsTimeout' => 0, 'AuthUserId' => $activityData['AUTH_USER_ID'], 'SetStatusMessage' => 'Y', 'StatusMessage' => '', 'TimeoutDuration' => 0, 'TimeoutDurationType' => 's');
     if (!empty($activityData['PROPERTIES'])) {
         foreach ($activityData['PROPERTIES'] as $name => $property) {
             if (isset($this->arProperties[$name])) {
                 continue;
             }
             $this->arProperties[$name] = isset($property['DEFAULT']) ? $property['DEFAULT'] : null;
         }
     }
     $types = array();
     if (!empty($activityData['RETURN_PROPERTIES'])) {
         foreach ($activityData['RETURN_PROPERTIES'] as $name => $property) {
             if (isset($this->arProperties[$name])) {
                 continue;
             }
             $this->arProperties[$name] = isset($property['DEFAULT']) ? $property['DEFAULT'] : null;
             if (isset($property['TYPE'])) {
                 $types[$name] = array('Type' => $property['TYPE'], 'Multiple' => CBPHelper::getBool($property['MULTIPLE']));
             }
         }
     }
     $types['IsTimeout'] = array('Type' => 'int');
     $this->SetPropertiesTypes($types);
 }
Exemple #3
0
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"GroupId" => "",
			"Files" => "",
			'FolderName' => ""
		);
	}
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"Title" => "",
			"DealId" => null,
			"WaitForState" => null,
			"StageSemantics" => null,
		);
	}
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"GroupName" => "",
			"OwnerId" => "",
			'Users' => "",
			"GroupId" => null
		);
	}
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"Title" => "",
			"CalendarUser" => "",
			"CalendarName" => "",
			"CalendarDesrc" => "",
			"CalendarFrom" => "",
			"CalendarTo" => "",
			"CalendarType" => "",
			"CalendarOwnerId" => ""
		);
	}
Exemple #7
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Text" => "", "SetVariable" => false, "Report" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "LogTitle" => "", "EntityType" => "", "EntityId" => "", "Event" => "", "LogText" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array('Title' => '', 'EventType' => '', 'EventText' => '');
 }
Exemple #10
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "TargetStateName" => "", 'CancelCurrentState' => 'N');
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "SenderUserId" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "MessageUserFrom" => "", "MessageUserTo" => "", "MessageText" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "Rewrite" => "Y");
 }
Exemple #14
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Fields" => null, "HoldToClose" => false, "AUTO_LINK_TO_CRM_ENTITY" => true, "ClosedBy" => null, "ClosedDate" => null, "TaskId" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "IBlockId" => "", "ForumId" => "", "ForumUser" => "", "ForumPostMessage" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "AbsenceUser" => "", "AbsenceName" => "", "AbsenceDesrc" => "", "AbsenceState" => "", "AbsenceFinishState" => "", "AbsenceType" => "", "AbsenceFrom" => "", "AbsenceTo" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "UserType" => null, "UserParameter" => null, "ReserveUserParameter" => null, "MaxLevel" => null, "GetUser" => null, "SkipAbsent" => "");
     $this->SetPropertiesTypes(array('GetUser' => array('Type' => 'user', 'Multiple' => true)));
 }
Exemple #18
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "MailUserFrom" => "", "MailUserFromArray" => "", "MailUserTo" => "", "MailUserToArray" => "", "MailSubject" => "", "MailText" => "", "MailMessageType" => "plain", "MailCharset" => "windows-1251", "DirrectMail" => "Y", "MailSite" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Users" => null, "Name" => null, "Description" => null, "Parameters" => null, "OverdueDate" => null, "RequestedInformation" => null, "ResponcedInformation" => null, "Comments" => "", "TaskButtonMessage" => "", "CommentLabelMessage" => "", "ShowComment" => "Y", "StatusMessage" => "", "SetStatusMessage" => "Y", "AccessControl" => "N", "InfoUser" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "Rewrite" => "Y", "SetMode" => false, "SetScope" => CBPSetPermissionsMode::ScopeWorkflow);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "TimeoutDuration" => null, "TimeoutDurationType" => "s", "TimeoutTime" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "SenderUserId" => null);
     $this->SetPropertiesTypes(array('SenderUserId' => array('Type' => 'user')));
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "VariableValue" => null);
 }
Exemple #24
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Text" => "", "SetVariable" => false, "Report" => "");
     $this->SetPropertiesTypes(array('Report' => array('Type' => 'string')));
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Name" => null, "UserId" => null);
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "SitesFilterType" => "all", "SitesFilterGroups" => array(), "SitesFilterSitesGroup" => "", "SitesFilterSites" => array(), "SyncTime" => "immediate");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "UserType" => null, "UserParameter" => null, "ReserveUserParameter" => null, "MaxLevel" => null, "GetUser" => null, "SkipAbsent" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Users" => null, "Name" => null, "Description" => null, "Parameters" => null, "OverdueDate" => null, "RequestedInformation" => null, "ResponcedInformation" => null, "Comments" => "", "TaskButtonMessage" => "", "CommentLabelMessage" => "", "ShowComment" => "Y", "StatusMessage" => "", "SetStatusMessage" => "Y", "AccessControl" => "N", "InfoUser" => null, "TimeoutDuration" => 0, "TimeoutDurationType" => "s", "IsTimeout" => 0);
     $this->SetPropertiesTypes(array('Comments' => array('Type' => 'string'), 'InfoUser' => array('Type' => 'user'), 'IsTimeout' => array('Type' => 'int')));
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "");
 }
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array('Title' => '', 'OwnerId' => '', 'UsersTo' => '', 'PostTitle' => '', 'PostMessage' => '', 'PostMessageType' => 'text', 'PostSite' => '');
 }