You are here

protected function PasswordPolicyItem::func in Password Policy 7.2

Gets function of item by name.

Parameters

string $function_name: The identifier of the function.

Return value

string|null The actual name of the function to call, or NULL if the function does not exist.

3 calls to PasswordPolicyItem::func()
PasswordPolicyCondition::match in includes/PasswordPolicyCondition.inc
Checks whether condition matches.
PasswordPolicyConstraint::check in includes/PasswordPolicyConstraint.inc
Checks whether constraint is met.
PasswordPolicyItem::adminForm in includes/PasswordPolicyItem.inc
Form constructor for adminForm().

File

includes/PasswordPolicyItem.inc, line 59
Contains PasswordPolicyItem.

Class

PasswordPolicyItem
Class PasswordPolicyItem.

Code

protected function func($function_name) {
  return ctools_plugin_get_function($this->info, $function_name);
}