Guest User

Untitled

a guest
Mar 25th, 2010
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.23 KB | None | 0 0
  1. array (
  2.   'rules' =>
  3.   array (
  4.     'rules_3' =>
  5.     array (
  6.       '#type' => 'rule',
  7.       '#set' => 'event_node_insert',
  8.       '#label' => 'Nach Speichern Nachricht (und dann alle Minute)',
  9.       '#active' => 1,
  10.       '#weight' => '0',
  11.       '#categories' =>
  12.       array (
  13.       ),
  14.       '#status' => 'custom',
  15.       '#conditions' =>
  16.       array (
  17.       ),
  18.       '#actions' =>
  19.       array (
  20.         0 =>
  21.         array (
  22.           '#weight' => 0,
  23.           '#info' =>
  24.           array (
  25.             'arguments' =>
  26.             array (
  27.               'node' =>
  28.               array (
  29.                 'label' => 'node',
  30.                 'type' => 'node',
  31.               ),
  32.             ),
  33.             'label' => 'Message für node',
  34.             'status' => 'custom',
  35.             'categories' =>
  36.             array (
  37.               0 => 'mfn',
  38.             ),
  39.             'module' => 'Rule Sets',
  40.             'base' => 'rules_action_invoke_set',
  41.             'set' => 'rules_mfn',
  42.           ),
  43.           '#name' => 'rules_action_invoke_set_rules_mfn',
  44.           '#settings' =>
  45.           array (
  46.             '#argument map' =>
  47.             array (
  48.               'node' => 'node',
  49.             ),
  50.           ),
  51.           '#type' => 'action',
  52.         ),
  53.       ),
  54.       '#version' => 6003,
  55.     ),
  56.     'rules_1' =>
  57.     array (
  58.       '#type' => 'rule',
  59.       '#set' => 'rules_mfn',
  60.       '#label' => 'Sende Nachricht',
  61.       '#active' => 1,
  62.       '#weight' => '0',
  63.       '#categories' =>
  64.       array (
  65.       ),
  66.       '#status' => 'custom',
  67.       '#conditions' =>
  68.       array (
  69.       ),
  70.       '#actions' =>
  71.       array (
  72.         1 =>
  73.         array (
  74.           '#weight' => -2,
  75.           '#info' =>
  76.           array (
  77.             'module' => 'Rules',
  78.             'base' => 'rules_action_save_variable',
  79.             'label' => 'Add a new date variable',
  80.             'arguments' =>
  81.             array (
  82.               'var_name' =>
  83.               array (
  84.                 'type' => 'value',
  85.                 'default value' => 'date',
  86.               ),
  87.               'date' =>
  88.               array (
  89.                 'type' => 'date',
  90.                 'label' => 'date',
  91.               ),
  92.             ),
  93.             'new variables' =>
  94.             array (
  95.               'date' =>
  96.               array (
  97.                 'type' => 'date',
  98.                 'label' => 'Added date',
  99.               ),
  100.             ),
  101.           ),
  102.           '#name' => 'rules_add_var_date',
  103.           '#settings' =>
  104.           array (
  105.             'date' => '+1 second',
  106.             '#argument map' =>
  107.             array (
  108.               'date' => 'date',
  109.             ),
  110.           ),
  111.           '#type' => 'action',
  112.         ),
  113.         0 =>
  114.         array (
  115.           '#weight' => 0,
  116.           '#type' => 'action',
  117.           '#settings' =>
  118.           array (
  119.             'to' => '[email protected]',
  120.             'from' => '',
  121.             'subject' => 'Regelmäßige Nachricht',
  122.             'message' => 'Das ist eine Testnachricht [date:site-date]',
  123.             '#eval input' =>
  124.             array (
  125.               'token_rules_input_evaluator' =>
  126.               array (
  127.                 'message' =>
  128.                 array (
  129.                   0 => 'date',
  130.                 ),
  131.               ),
  132.             ),
  133.           ),
  134.           '#name' => 'rules_action_mail',
  135.           '#info' =>
  136.           array (
  137.             'label' => 'Send a mail to an arbitrary mail address',
  138.             'module' => 'System',
  139.             'eval input' =>
  140.             array (
  141.               0 => 'subject',
  142.               1 => 'message',
  143.               2 => 'from',
  144.               3 => 'to',
  145.             ),
  146.           ),
  147.         ),
  148.       ),
  149.       '#version' => 6003,
  150.     ),
  151.     'rules_2' =>
  152.     array (
  153.       '#type' => 'rule',
  154.       '#set' => 'rules_mfn',
  155.       '#label' => 'Ruleset in 1Minute nochmal ausführen',
  156.       '#active' => 1,
  157.       '#weight' => '1',
  158.       '#categories' =>
  159.       array (
  160.       ),
  161.       '#status' => 'custom',
  162.       '#conditions' =>
  163.       array (
  164.       ),
  165.       '#actions' =>
  166.       array (
  167.         0 =>
  168.         array (
  169.           '#weight' => 0,
  170.           '#type' => 'action',
  171.           '#settings' =>
  172.           array (
  173.             'task_identifier' => 'mes_[node:nid]',
  174.             'task_date' => '+1 minute',
  175.             '#argument map' =>
  176.             array (
  177.               'node' => 'node',
  178.             ),
  179.             '#eval input' =>
  180.             array (
  181.               'token_rules_input_evaluator' =>
  182.               array (
  183.                 'task_identifier' =>
  184.                 array (
  185.                   0 => 'node',
  186.                 ),
  187.               ),
  188.             ),
  189.           ),
  190.           '#name' => 'rules_action_schedule_set_rules_mfn',
  191.           '#info' =>
  192.           array (
  193.             'arguments' =>
  194.             array (
  195.               'task_identifier' =>
  196.               array (
  197.                 'type' => 'string',
  198.                 'label' => 'Identifier',
  199.                 'description' => 'User provided string to identify the task. Existing tasks for this rule set with the same identifier will be replaced',
  200.               ),
  201.               'task_date' =>
  202.               array (
  203.                 'type' => 'date',
  204.                 'label' => 'Scheduled evaluation date',
  205.               ),
  206.               'node' =>
  207.               array (
  208.                 'label' => 'node',
  209.                 'type' => 'node',
  210.               ),
  211.             ),
  212.             'label' => 'Schedule Message für node',
  213.             'status' => 'custom',
  214.             'categories' =>
  215.             array (
  216.               0 => 'mfn',
  217.             ),
  218.             'module' => 'Rule Scheduler',
  219.             'base' => 'rules_scheduler_action',
  220.             'set' => 'rules_mfn',
  221.           ),
  222.         ),
  223.       ),
  224.       '#version' => 6003,
  225.     ),
  226.   ),
  227.   'rule_sets' =>
  228.   array (
  229.     'rules_mfn' =>
  230.     array (
  231.       'arguments' =>
  232.       array (
  233.         'node' =>
  234.         array (
  235.           'label' => 'node',
  236.           'type' => 'node',
  237.         ),
  238.       ),
  239.       'label' => 'Message für node',
  240.       'status' => 'custom',
  241.       'categories' =>
  242.       array (
  243.         0 => 'mfn',
  244.       ),
  245.     ),
  246.   ),
  247. )
Advertisement
Add Comment
Please, Sign In to add comment