[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/cck/includes/ -> content.rules.inc (summary)

(no description)

File Size: 348 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 20 functions

  content_rules_action_info()
  content_rules_action_populate_field()
  content_rules_action_populate_field_form()
  content_rules_action_populate_field_form_step_submit()
  content_rules_action_populate_field_validate()
  content_rules_action_populate_field_submit()
  content_rules_action_populate_field_label()
  workflow_ng_action_populate_field_upgrade()
  content_rules_condition_info()
  content_rules_field_has_value()
  content_rules_field_has_value_form()
  content_rules_field_has_value_validate()
  content_rules_field_has_value_submit()
  content_rules_field_has_value_label()
  content_rules_field_changed()
  content_rules_field_changed_form()
  content_rules_field_changed_label()
  content_rules_get_field_names_by_type()
  _content_rules_get_field_value()
  _content_rules_field_has_value()

Functions
Functions that are not part of a class:

content_rules_action_info()   X-Ref
Implementation of hook_rules_action_info().


content_rules_action_populate_field($node, $settings, $element, &$state)   X-Ref
Action: populate a field.


content_rules_action_populate_field_form($settings, &$form, &$form_state)   X-Ref
Action "populate a field" configuration form.
This is a multistep form!


content_rules_action_populate_field_form_step_submit($form, &$form_state)   X-Ref
No description

content_rules_action_populate_field_validate($form, &$form_state)   X-Ref
Validate the chosen value or php code.


content_rules_action_populate_field_submit(&$settings, $form, &$form_state)   X-Ref
No description

content_rules_action_populate_field_label($settings, $argument_labels)   X-Ref
Label callback: Improve the label of the action.


workflow_ng_action_populate_field_upgrade(&$element)   X-Ref
No description

content_rules_condition_info()   X-Ref
Implementation of hook_rules_condition_info().


content_rules_field_has_value($node, $settings)   X-Ref
Condition: Check the value of a field.


content_rules_field_has_value_form($settings, &$form, &$form_state)   X-Ref
Use the same configuration form as the "populate field" action.


content_rules_field_has_value_validate($form, &$form_state)   X-Ref
No description

content_rules_field_has_value_submit(&$settings, $form, &$form_state)   X-Ref
No description

content_rules_field_has_value_label($settings, $argument_labels)   X-Ref
No description

content_rules_field_changed($node1, $node2, $settings)   X-Ref
Condition: Check if the field has changed.


content_rules_field_changed_form($settings, &$form, &$form_state)   X-Ref
No description

content_rules_field_changed_label($settings, $argument_labels)   X-Ref
No description

content_rules_get_field_names_by_type($type = NULL)   X-Ref
Returns the fields of a given field type only.
Suitable for using it with #options.


_content_rules_get_field_value($settings, &$state)   X-Ref
No description

_content_rules_field_has_value($node_value, $value)   X-Ref
Checks whether both field values match in a robust way.

It returns TRUE, only if the number of multiple values matches and
each property of the cck field's value is the same in the node.

param: $node_value The value present in the node.
param: $value The value to check for.



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7