当前位置: 首页>>代码示例>>PHP>>正文


PHP CBPActivity::__construct方法代码示例

本文整理汇总了PHP中CBPActivity::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP CBPActivity::__construct方法的具体用法?PHP CBPActivity::__construct怎么用?PHP CBPActivity::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CBPActivity的用法示例。


在下文中一共展示了CBPActivity::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 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')));
 }
开发者ID:webgksupport,项目名称:alpina,代码行数:7,代码来源:createlistsdocumentactivity.php

示例2: __construct

 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);
 }
开发者ID:k-kalashnikov,项目名称:geekcon,代码行数:28,代码来源:restactivity.php

示例3: __construct

	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"GroupId" => "",
			"Files" => "",
			'FolderName' => ""
		);
	}
开发者ID:VadimDmitriev,项目名称:Test1,代码行数:9,代码来源:copy2storage.php

示例4: __construct

	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"Title" => "",
			"DealId" => null,
			"WaitForState" => null,
			"StageSemantics" => null,
		);
	}
开发者ID:VadimDmitriev,项目名称:Test1,代码行数:10,代码来源:crmstateactivity.php

示例5: __construct

	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"GroupName" => "",
			"OwnerId" => "",
			'Users' => "",
			"GroupId" => null
		);
	}
开发者ID:VadimDmitriev,项目名称:Test1,代码行数:10,代码来源:createworkgroup.php

示例6: __construct

	public function __construct($name)
	{
		parent::__construct($name);
		$this->arProperties = array(
			"Title" => "",
			"CalendarUser" => "",
			"CalendarName" => "",
			"CalendarDesrc" => "",
			"CalendarFrom" => "",
			"CalendarTo" => "",
			"CalendarType" => "",
			"CalendarOwnerId" => ""
		);
	}
开发者ID:ASDAFF,项目名称:1C_Bitrix_info_site,代码行数:14,代码来源:calendar2activity.php

示例7: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Text" => "", "SetVariable" => false, "Report" => "");
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:5,代码来源:logactivity.php

示例8: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "LogTitle" => "", "EntityType" => "", "EntityId" => "", "Event" => "", "LogText" => "");
 }
开发者ID:Satariall,项目名称:izurit,代码行数:5,代码来源:socnetlogactivity.php

示例9: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array('Title' => '', 'EventType' => '', 'EventText' => '');
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:5,代码来源:crmeventaddactivity.php

示例10: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "TargetStateName" => "", 'CancelCurrentState' => 'N');
 }
开发者ID:Satariall,项目名称:izurit,代码行数:5,代码来源:setstateactivity.php

示例11: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "SenderUserId" => null);
 }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:5,代码来源:handleexternaleventactivity.php

示例12: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "MessageUserFrom" => "", "MessageUserTo" => "", "MessageText" => "");
 }
开发者ID:webgksupport,项目名称:alpina,代码行数:5,代码来源:socnetmessageactivity.php

示例13: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "Permission" => array(), "Rewrite" => "Y");
 }
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:5,代码来源:setpermissionsactivity.php

示例14: __construct

 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);
 }
开发者ID:mrdeadmouse,项目名称:u136006,代码行数:5,代码来源:task2activity.php

示例15: __construct

 public function __construct($name)
 {
     parent::__construct($name);
     $this->arProperties = array("Title" => "", "IBlockId" => "", "ForumId" => "", "ForumUser" => "", "ForumPostMessage" => "");
 }
开发者ID:webgksupport,项目名称:alpina,代码行数:5,代码来源:forumreviewactivity.php


注:本文中的CBPActivity::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。