You are here

function certificate_node_is_certifiable in Certificate 6.2

Same name and namespace in other branches
  1. 8.3 certificate.module \certificate_node_is_certifiable()
  2. 6 certificate.module \certificate_node_is_certifiable()
  3. 7.3 certificate.module \certificate_node_is_certifiable()
  4. 7.2 certificate.module \certificate_node_is_certifiable()
  5. 3.x certificate.module \certificate_node_is_certifiable()

Check if node is certifiable.

Return value

bool

4 calls to certificate_node_is_certifiable()
certificate_can_access_certificate in ./certificate.module
Check if a user can access a certificate for this node.
certificate_content_extra_fields in ./certificate.module
Implementation of hook_content_extra_fields().
certificate_form_alter in ./certificate.module
Implements hook_form_alter for course nodes.
certificate_nodeapi in ./certificate.module
Implements hook_nodeapi.

File

./certificate.module, line 434
Certificate module.

Code

function certificate_node_is_certifiable($node) {
  return variable_get("certificate_certifiable_{$node->type}", 0);
}