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')));
 }
Пример #2
0
 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);
 }
Пример #3
0
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"GroupId" => "",
			"Files" => "",
			'FolderName' => ""
		);
	}
Пример #4
0
	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"Title" => "",
			"DealId" => null,
			"WaitForState" => null,
			"StageSemantics" => null,
		);
	}
Пример #5
0
	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" => ""
		);
	}
Пример #7
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Text" => "", "SetVariable" => false, "Report" => "");
 }
Пример #8
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "LogTitle" => "", "EntityType" => "", "EntityId" => "", "Event" => "", "LogText" => "");
 }
Пример #9
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array('Title' => '', 'EventType' => '', 'EventText' => '');
 }
Пример #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);
 }
Пример #12
0
 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");
 }
Пример #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);
 }
Пример #15
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "IBlockId" => "", "ForumId" => "", "ForumUser" => "", "ForumPostMessage" => "");
 }
Пример #16
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "AbsenceUser" => "", "AbsenceName" => "", "AbsenceDesrc" => "", "AbsenceState" => "", "AbsenceFinishState" => "", "AbsenceType" => "", "AbsenceFrom" => "", "AbsenceTo" => "");
 }
Пример #17
0
 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)));
 }
Пример #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);
 }
Пример #20
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "Rewrite" => "Y", "SetMode" => false, "SetScope" => CBPSetPermissionsMode::ScopeWorkflow);
 }
Пример #21
0
 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')));
 }
Пример #23
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "VariableValue" => null);
 }
Пример #24
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Text" => "", "SetVariable" => false, "Report" => "");
     $this->SetPropertiesTypes(array('Report' => array('Type' => 'string')));
 }
Пример #25
0
 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");
 }
Пример #27
0
 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')));
 }
Пример #29
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "");
 }
Пример #30
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array('Title' => '', 'OwnerId' => '', 'UsersTo' => '', 'PostTitle' => '', 'PostMessage' => '', 'PostMessageType' => 'text', 'PostSite' => '');
 }