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


PHP CBPDocument::_ReplaceTaskURL方法代码示例

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


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

示例1: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array('AUTO_EXECUTE' => '0', 'ACTIVE' => 'Y', 'NAME' => GetMessage("BP_V1ST_NAME"), 'DESCRIPTION' => GetMessage("BP_V1ST_DESC"), 'TEMPLATE' => array(array('Type' => 'SequentialWorkflowActivity', 'Name' => 'Template', 'Properties' => array('Title' => GetMessage("BP_V1ST_SEQ"), 'Permission' => array('read' => array(array('Template', 'Voters'), 'author'))), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A71936_98620_60725_95722', 'Properties' => array('MailSubject' => GetMessage("BP_V1ST_TASK_NAME"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_V1ST_TASK_TEXT"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Voters'), 'Title' => GetMessage("BP_V1ST_MAIL_NAME"))), array('Type' => 'ApproveActivity', 'Name' => 'ApproveActivity1', 'Properties' => array('ApproveType' => 'any', 'OverdueDate' => '', 'ApproveMinPercent' => '50', 'ApproveWaitForAll' => 'N', 'Name' => GetMessage("BP_V1ST_TASK_T"), 'Description' => GetMessage("BP_V1ST_TASK_DESC"), 'Parameters' => '', 'Users' => array('Template', 'Voters'), 'Title' => GetMessage("BP_V1ST_VNAME")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A25099_16832_64072_25637', 'Properties' => array('Title' => GetMessage("BP_V1ST_S2")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A29301_24557_63118_91259', 'Properties' => array('MailSubject' => GetMessage("BP_V1ST_MAIL_SUBJ"), 'MailText' => GetMessage("BP_V1ST_MAIL_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters'), 'author'), 'Title' => GetMessage("BP_V1ST_MAIL_NAME"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A93341_94449_30890_54582', 'Properties' => array('TargetStateTitle' => GetMessage("BP_V1ST_APPR"), 'Title' => GetMessage("BP_V1ST_APPR_S"))), array('Type' => 'PublishDocumentActivity', 'Name' => 'A50491_99266_37083_78593', 'Properties' => array('Title' => GetMessage("BP_V1ST_T3"))))), array('Type' => 'SequenceActivity', 'Name' => 'A28091_6558_3951_66191', 'Properties' => array('Title' => GetMessage("BP_V1ST_S2")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A7429_66097_71801_19761', 'Properties' => array('MailSubject' => GetMessage("BP_V1ST_MAIL2_NA"), 'MailText' => GetMessage("BP_V1ST_MAIL2_NA_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters'), 'author'), 'Title' => GetMessage("BP_V1ST_TNA"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A81366_56581_39764_20787', 'Properties' => array('TargetStateTitle' => GetMessage("BP_V1ST_STAT_NA"), 'Title' => GetMessage("BP_V1ST_STAT_NA_T")))))))))), 'PARAMETERS' => array('Voters' => array('Name' => GetMessage("BP_V1ST_PARAM1"), 'Description' => GetMessage("BP_V1ST_PARAM1_DESC"), 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => '')), 'VARIABLES' => array());
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:vote1st.php

示例2: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array('AUTO_EXECUTE' => '0', 'ACTIVE' => 'Y', 'NAME' => GetMessage("BP_EXPR_NAME"), 'DESCRIPTION' => GetMessage("BP_EXPR_DESC"), 'TEMPLATE' => array(array('Type' => 'SequentialWorkflowActivity', 'Name' => 'Template', 'Properties' => array('Title' => GetMessage("BP_EXPR_S"), 'Permission' => array('read' => array(array('Template', 'Reviewers'), array('Template', 'Approvers'), 'author'))), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A94662_69963_83390_76732', 'Properties' => array('MailSubject' => GetMessage("BP_EXPR_TASK1"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_EXPR_TASK1_MAIL"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Reviewers'), 'Title' => GetMessage("BP_EXPR_M"))), array('Type' => 'ApproveActivity', 'Name' => 'ApproveActivity1', 'Properties' => array('ApproveType' => 'vote', 'OverdueDate' => '', 'ApproveMinPercent' => '50', 'ApproveWaitForAll' => 'Y', 'Name' => GetMessage("BP_EXPR_APPR1"), 'Description' => GetMessage("BP_EXPR_APPR1_DESC"), 'Parameters' => '', 'Users' => array('Template', 'Reviewers'), 'Title' => GetMessage("BP_EXPR_NAME")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A64611_46822_29561_87975', 'Properties' => array('Title' => GetMessage("BP_EXPR_ST"))), array('Type' => 'SequenceActivity', 'Name' => 'A68833_77308_5845_73466', 'Properties' => array('Title' => GetMessage("BP_EXPR_ST"))))), array('Type' => 'MailActivity', 'Name' => 'A96367_17945_13820_95972', 'Properties' => array('MailSubject' => GetMessage("BP_EXPR_MAIL2_SUBJ"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_EXPR_MAIL2_TEXT"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Approvers'), 'Title' => GetMessage("BP_EXPR_M"))), array('Type' => 'ApproveActivity', 'Name' => 'ApproveActivity2', 'Properties' => array('ApproveType' => 'all', 'OverdueDate' => '', 'ApproveMinPercent' => '50', 'ApproveWaitForAll' => 'N', 'Name' => GetMessage("BP_EXPR_APP2_TEXT"), 'Description' => GetMessage("BP_EXPR_APP2_DESC"), 'Parameters' => '', 'Users' => array('Template', 'Approvers'), 'Title' => GetMessage("BP_EXPR_TAPP")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A22532_2878_32169_11537', 'Properties' => array('Title' => GetMessage("BP_EXPR_ST")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A83133_30611_25503_24252', 'Properties' => array('MailSubject' => GetMessage("BP_EXPR_MAIL3_SUBJ"), 'MailText' => GetMessage("BP_EXPR_MAIL3_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('author', array('Template', 'Reviewers'), array('Template', 'Approvers')), 'Title' => GetMessage("BP_EXPR_M"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A74836_68856_62794_73135', 'Properties' => array('TargetStateTitle' => GetMessage("BP_EXPR_ST3_T"), 'Title' => GetMessage("BP_EXPR_ST3_TIT"))), array('Type' => 'PublishDocumentActivity', 'Name' => 'A18564_33518_5981_62692', 'Properties' => array('Title' => GetMessage("BP_EXPR_PUB"))))), array('Type' => 'SequenceActivity', 'Name' => 'A51489_50805_51908_16085', 'Properties' => array('Title' => GetMessage("BP_EXPR_ST")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A79990_95953_26064_13430', 'Properties' => array('MailSubject' => GetMessage("BP_EXPR_MAIL4_SUBJ"), 'MailText' => GetMessage("BP_EXPR_MAIL4_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('author', array('Template', 'Reviewers'), array('Template', 'Approvers')), 'Title' => GetMessage("BP_EXPR_M"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A92731_73187_56429_18444', 'Properties' => array('TargetStateTitle' => GetMessage("BP_EXPR_NA"), 'Title' => GetMessage("BP_EXPR_NA_ST")))))))))), 'PARAMETERS' => array('Reviewers' => array('Name' => GetMessage("BP_EXPR_PARAM2"), 'Description' => GetMessage("BP_EXPR_PARAM2_DESC"), 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => ''), 'Approvers' => array('Name' => GetMessage("BP_EXPR_PARAM1"), 'Description' => '', 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => '')), 'VARIABLES' => array());
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:expert.php

示例3: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array('AUTO_EXECUTE' => '0', 'ACTIVE' => 'Y', 'NAME' => GetMessage("BP_DBLA_NAME"), 'DESCRIPTION' => GetMessage("BP_DBLA_DESC"), 'TEMPLATE' => array(array('Type' => 'SequentialWorkflowActivity', 'Name' => 'Template', 'Properties' => array('Title' => GetMessage("BP_DBLA_T"), 'Permission' => array('read' => array(array('Template', 'Voters1'), array('Template', 'Voters2'), 'author'))), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A28652_8343_148_31493', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_TASK"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_DBLA_TASK_DESC"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Voters1'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'ApproveActivity', 'Name' => 'ApproveActivity1', 'Properties' => array('ApproveType' => 'all', 'OverdueDate' => '', 'ApproveMinPercent' => '50', 'ApproveWaitForAll' => 'N', 'Name' => GetMessage("BP_DBLA_APPROVE"), 'Description' => GetMessage("BP_DBLA_APPROVE_TEXT"), 'Parameters' => '', 'Users' => array('Template', 'Voters1'), 'Title' => GetMessage("BP_DBLA_APPROVE_TITLR")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A17547_32223_79545_47398', 'Properties' => array('Title' => GetMessage("BP_DBLA_S")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A27867_13545_12971_17663', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_MAIL_SUBJ"), 'MailText' => GetMessage("BP_DBLA_MAIL_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters1'), 'author'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'MailActivity', 'Name' => 'A18214_65247_45761_70900', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_MAIL2_SUBJ"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_DBLA_MAIL2_TEXT"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Voters2'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'ApproveActivity', 'Name' => 'ApproveActivity2', 'Properties' => array('ApproveType' => 'vote', 'OverdueDate' => '', 'ApproveMinPercent' => '50', 'ApproveWaitForAll' => 'N', 'Name' => GetMessage("BP_DBLA_APPROVE2"), 'Description' => GetMessage("BP_DBLA_APPROVE2_TEXT"), 'Parameters' => '', 'Users' => array('Template', 'Voters2'), 'Title' => GetMessage("BP_DBLA_APPROVE2_TITLE")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A66252_54392_98992_85416', 'Properties' => array('Title' => GetMessage("BP_DBLA_S")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A53284_91445_14224_61949', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_MAIL3_SUBJ"), 'MailText' => GetMessage("BP_DBLA_MAIL3_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters2'), 'author'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A7968_41299_59793_3782', 'Properties' => array('TargetStateTitle' => GetMessage("BP_DBLA_APP"), 'Title' => GetMessage("BP_DBLA_APP_S"))), array('Type' => 'PublishDocumentActivity', 'Name' => 'A67943_28837_6285_74924', 'Properties' => array('Title' => GetMessage("BP_DBLA_PUB_TITLE"))))), array('Type' => 'SequenceActivity', 'Name' => 'A12994_12953_66343_68057', 'Properties' => array('Title' => GetMessage("BP_DBLA_S")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A91433_23054_53017_48385', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_NAPP"), 'MailText' => GetMessage("BP_DBLA_NAPP_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters2'), 'author'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A52669_22760_20977_24814', 'Properties' => array('TargetStateTitle' => GetMessage("BP_DBLA_NAPP_DRAFT"), 'Title' => GetMessage("BP_DBLA_NAPP_DRAFT_S"))))))))), array('Type' => 'SequenceActivity', 'Name' => 'A38247_89879_46019_89829', 'Properties' => array('Title' => GetMessage("BP_DBLA_S")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A48868_5097_265_85128', 'Properties' => array('MailSubject' => GetMessage("BP_DBLA_MAIL4_SUBJ"), 'MailText' => GetMessage("BP_DBLA_MAIL4_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters1'), 'author'), 'Title' => GetMessage("BP_DBLA_M"))), array('Type' => 'SetStateTitleActivity', 'Name' => 'A11966_38248_36340_23189', 'Properties' => array('TargetStateTitle' => GetMessage("BP_DBLA_NAPP_DRAFT"), 'Title' => GetMessage("BP_DBLA_NAPP_DRAFT_S")))))))))), 'PARAMETERS' => array('Voters1' => array('Name' => GetMessage("BP_DBLA_PARAM1"), 'Description' => '', 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => ''), 'Voters2' => array('Name' => GetMessage("BP_DBLA_PARAM2"), 'Description' => '', 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => '')), 'VARIABLES' => array());
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:dblapprove.php

示例4: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array("AUTO_EXECUTE" => 0, "ACTIVE" => "Y", "NAME" => GetMessage("BPT_ST_NAME"), "DESCRIPTION" => GetMessage("BPT_ST_DESC"), "PARAMETERS" => array('Creators' => array('Name' => GetMessage("BPT_ST_CREATORS"), 'Description' => '', 'Type' => 'user', 'Required' => 1, 'Multiple' => 1, 'Default' => GetMessage("BPT_ST_AUTHOR")), 'Approvers' => array('Name' => GetMessage("BPT_ST_APPROVERS"), 'Description' => '', 'Type' => 'user', 'Required' => 1, 'Multiple' => 1, 'Default' => '')), "VARIABLES" => array(), "TEMPLATE" => array(array('Type' => 'StateMachineWorkflowActivity', 'Name' => 'Template', 'Properties' => array('Title' => GetMessage("BPT_ST_BP_NAME"), 'InitialStateName' => 'A24311_90344_46263_93603'), 'Children' => array(array('Type' => 'StateActivity', 'Name' => 'A24311_90344_46263_93603', 'Properties' => array('Permission' => array('read' => array(array('Template', 'Creators'), 'author'), 'write' => array(array('Template', 'Creators'), 'author')), 'Title' => GetMessage("BPT_ST_ST_DRAFT")), 'Children' => array(array('Type' => 'EventDrivenActivity', 'Name' => 'A60358_33256_48109_7232', 'Properties' => array('Title' => GetMessage("BPT_ST_F")), 'Children' => array(array('Type' => 'HandleExternalEventActivity', 'Name' => 'A51140_77423_9962_89571', 'Properties' => array('Permission' => array('author'), 'Title' => GetMessage("BPT_ST_CMD_APPR"))), array('Type' => 'SetStateActivity', 'Name' => '6415d1f824b3c901092dca75de4f63ff', 'Properties' => array('TargetStateName' => 'A21096_75379_71462_5314', 'Title' => GetMessage("BPT_ST_SETSTATE"))))), array('Type' => 'EventDrivenActivity', 'Name' => 'A29936_73709_64127_66887', 'Properties' => array('Title' => GetMessage("BPT_ST_F")), 'Children' => array(array('Type' => 'HandleExternalEventActivity', 'Name' => 'A94196_7496_26093_25274', 'Properties' => array('Permission' => array(1), 'Title' => GetMessage("BPT_ST_CMD_PUBLISH"))), array('Type' => 'SetStateActivity', 'Name' => 'fe7994c3ccaf844dd7931cb0f6dea9b1', 'Properties' => array('TargetStateName' => 'A63574_17349_63919_63247', 'Title' => GetMessage("BPT_ST_SETSTATE"))))))), array('Type' => 'StateActivity', 'Name' => 'A21096_75379_71462_5314', 'Properties' => array('Permission' => array('read' => array(array('Template', 'Approvers'), array('Template', 'Creators'), 'author', 1), 'write' => array(array('Template', 'Approvers'), 1)), 'Title' => GetMessage("BPT_ST_CMD_APP")), 'Children' => array(array('Type' => 'StateInitializationActivity', 'Name' => 'A21398_19376_97560_43971', 'Properties' => array('Title' => GetMessage("BPT_ST_INIT")), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A43038_42133_40786_25817', 'Properties' => array('MailSubject' => GetMessage("BPT_ST_SUBJECT"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BPT_ST_TEXT"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Approvers'), 'Title' => GetMessage("BPT_ST_MAIL_TITLE"))), array('Type' => 'ApproveActivity', 'Name' => 'A67683_71359_97848_39571', 'Properties' => array('ApproveType' => 'any', 'OverdueDate' => '', 'Name' => GetMessage("BPT_ST_APPROVE_NAME"), 'Description' => GetMessage("BPT_ST_APPROVE_DESC"), 'Parameters' => '', 'Users' => array('Template', 'Approvers'), 'Title' => GetMessage("BPT_ST_APPROVE_TITLE")), 'Children' => array(array('Type' => 'SequenceActivity', 'Name' => 'A59613_65289_48965_36944', 'Properties' => array('Title' => GetMessage("BPT_ST_SEQ")), 'Children' => array(array('Type' => 'SetStateActivity', 'Name' => 'A55952_79788_55492_180', 'Properties' => array('TargetStateName' => 'A63574_17349_63919_63247', 'Title' => GetMessage("BPT_ST_SET_PUB"))))), array('Type' => 'SequenceActivity', 'Name' => 'A33350_1503_71725_10015', 'Properties' => array('Title' => GetMessage("BPT_ST_SEQ")), 'Children' => array(array('Type' => 'SetStateActivity', 'Name' => 'A50289_31807_90287_91538', 'Properties' => array('TargetStateName' => 'A24311_90344_46263_93603', 'Title' => GetMessage("BPT_ST_SET_DRAFT"))))))))))), array('Type' => 'StateActivity', 'Name' => 'A63574_17349_63919_63247', 'Properties' => array('Permission' => array('read' => array(array('Template', 'Creators'), 'author', 1), 'write' => array(1)), 'Title' => GetMessage("BPT_ST_TP")), 'Children' => array(array('Type' => 'StateInitializationActivity', 'Name' => 'A54581_85798_93933_67509', 'Properties' => array('Title' => GetMessage('BPT_ST_INS')), 'Children' => array(array('Type' => 'SaveHistoryActivity', 'Name' => 'A25642_16907_65069_1784', 'Properties' => array('Title' => GetMessage('BPT_ST_SAVEH'), 'UserId' => '{=Document:MODIFIED_BY}')), array('Type' => 'PublishDocumentActivity', 'Name' => 'A95261_51340_58180_66962', 'Properties' => array('Title' => GetMessage('BPT_ST_PUBDC')))))))))));
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:status.php

示例5: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array("AUTO_EXECUTE" => 0, 'ACTIVE' => 'Y', "NAME" => GetMessage("BPT_SM_NAME"), "DESCRIPTION" => GetMessage("BPT_SM_DESC"), "TEMPLATE" => array(array("Type" => "SequentialWorkflowActivity", "Name" => "Template", "Properties" => array("Title" => GetMessage("BPT_SM_TITLE1"), 'Permission' => array('read' => array(array('Template', 'Voters'), 'author'))), "Children" => array(array("Type" => "MailActivity", "Name" => "A55107_6725_78774_36295", "Properties" => array("MailSubject" => GetMessage("BPT_SM_TASK1_TITLE"), "MailText" => CBPDocument::_ReplaceTaskURL(GetMessage("BPT_SM_TASK1_TEXT"), $documentType), "MailMessageType" => 'plain', "MailCharset" => 'windows-1251', "MailUserFrom" => '', "MailUserFromArray" => array('user_1'), "MailUserTo" => '', "MailUserToArray" => array('Template', 'Voters'), "Title" => GetMessage("BPT_SM_ACT_TITLE"))), array("Type" => 'ApproveActivity', "Name" => 'ApproveActivity1', "Properties" => array("ApproveType" => 'vote', "OverdueDate" => '', "ApproveMinPercent" => '50', "ApproveWaitForAll" => 'N', "Name" => GetMessage("BPT_SM_APPROVE_NAME"), "Description" => GetMessage("BPT_SM_APPROVE_DESC"), "Parameters" => '', "Users" => array('Template', 'Voters'), "Title" => GetMessage("BPT_SM_APPROVE_TITLE")), "Children" => array(array("Type" => 'SequenceActivity', "Name" => 'A66645_60922_64384_78185', "Properties" => array("Title" => GetMessage("BPT_SM_ACT_NAME")), "Children" => array(array("Type" => 'MailActivity', "Name" => 'A52783_8897_80513_17412', "Properties" => array("MailSubject" => GetMessage("BPT_SM_MAIL1_SUBJ"), "MailText" => GetMessage("BPT_SM_MAIL1_TEXT"), "MailMessageType" => 'plain', "MailCharset" => 'windows-1251', "MailUserFrom" => '', "MailUserFromArray" => array('user_1'), "MailUserTo" => '', "MailUserToArray" => array(array('Template', 'Voters'), 'author'), "Title" => GetMessage("BPT_SM_MAIL1_TITLE"))), array("Type" => 'SetStateTitleActivity', "Name" => 'A50333_41630_15247_27412', "Properties" => array("TargetStateTitle" => GetMessage("BPT_SM_STATUS"), "Title" => GetMessage("BPT_SM_STATUS2"))), array("Type" => 'PublishDocumentActivity', "Name" => 'A48746_87842_51629_82911', "Properties" => array("Title" => GetMessage("BPT_SM_PUB"))))), array("Type" => 'SequenceActivity', "Name" => 'A54969_58395_8300_44921', "Properties" => array("Title" => GetMessage("BPT_SM_ACT_NAME")), "Children" => array(array("Type" => 'MailActivity', "Name" => 'A81331_27726_32679_75654', "Properties" => array("MailSubject" => GetMessage("BPT_SM_MAIL2_SUBJ"), "MailText" => GetMessage("BPT_SM_MAIL2_TEXT"), "MailMessageType" => 'plain', "MailCharset" => 'windows-1251', "MailUserFrom" => '', "MailUserFromArray" => array('user_1'), "MailUserTo" => '', "MailUserToArray" => array(array('Template', 'Voters'), 'author'), "Title" => GetMessage("BPT_SM_MAIL2_TITLE"))), array("Type" => 'SetStateTitleActivity', "Name" => 'A23308_83481_97609_4879', "Properties" => array("TargetStateTitle" => GetMessage("BPT_SM_MAIL2_STATUS"), "Title" => GetMessage("BPT_SM_MAIL2_STATUS2")))))))))), "PARAMETERS" => array("Voters" => array("Name" => GetMessage("BPT_SM_PARAM_NAME"), "Description" => GetMessage("BPT_SM_PARAM_DESC"), "Type" => 'user', "Required" => 1, "Multiple" => 1, "Default" => '')), "VARIABLES" => array());
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:simple.php

示例6: IncludeModuleLangFile

<?php

IncludeModuleLangFile(__FILE__);
$arFields = array('AUTO_EXECUTE' => '0', 'ACTIVE' => 'Y', 'NAME' => GetMessage("BP_REVW_TITLE"), 'DESCRIPTION' => GetMessage("BP_REVW_DESC"), 'TEMPLATE' => array(array('Type' => 'SequentialWorkflowActivity', 'Name' => 'Template', 'Properties' => array('Title' => GetMessage("BP_REVW_T"), 'Permission' => array('read' => array(array('Template', 'Voters'), 'author'))), 'Children' => array(array('Type' => 'MailActivity', 'Name' => 'A56338_78317_67588_59492', 'Properties' => array('MailSubject' => GetMessage("BP_REVW_TASK"), 'MailText' => CBPDocument::_ReplaceTaskURL(GetMessage("BP_REVW_TASK_DESC"), $documentType), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array('Template', 'Voters'), 'Title' => GetMessage("BP_REVW_MAIL"))), array('Type' => 'ReviewActivity', 'Name' => 'A69090_59491_29160_24923', 'Properties' => array('OverdueDate' => '', 'Name' => GetMessage("BP_REVW_REVIEW"), 'Description' => GetMessage("BP_REVW_REVIEW_DESC"), 'Parameters' => '', 'Users' => array('Template', 'Voters'), 'Title' => GetMessage("BP_REVW_TITLE"))), array('Type' => 'MailActivity', 'Name' => 'A19784_81717_13797_20029', 'Properties' => array('MailSubject' => GetMessage("BP_REVW_MAIL_SUBJ"), 'MailText' => GetMessage("BP_REVW_MAIL_TEXT"), 'MailMessageType' => 'plain', 'MailCharset' => 'windows-1251', 'MailUserFrom' => '', 'MailUserFromArray' => array('user_1'), 'MailUserTo' => '', 'MailUserToArray' => array(array('Template', 'Voters'), 'author'), 'Title' => GetMessage("BP_REVW_MAIL")))))), 'PARAMETERS' => array('Voters' => array('Name' => GetMessage("BP_REVW_PARAM1"), 'Description' => '', 'Type' => 'user', 'Required' => '1', 'Multiple' => '1', 'Default' => '')), 'VARIABLES' => array());
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:4,代码来源:review.php


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