You are here

draggableviews_cck.module in DraggableViews 6.3

Draggableviews CCK module provides CCK-support for order fields.

File

modules/draggableviews_cck/draggableviews_cck.module
View source
<?php

/**
 * @file
 * Draggableviews CCK module provides CCK-support for order fields.
 */

/**
 * Display help and module information
 * @param path which path of the site we're displaying help
 * @param arg array that holds the current path as would be returned from arg() function
 * @return help text for the path
 */
function draggableviews_cck_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#draggableviews_cck":
      $output = '<p>' . t("CCK-support for order fields") . '</p>';
      break;
  }
  return $output;
}

/**
 * Implementing hook_draggableviews_handlers
 */
function draggableviews_cck_draggableviews_handlers() {
  return array(
    'cck' => array(
      'file' => 'draggableviews_handler_cck.inc',
      'title' => t('CCK'),
      'desciption' => 'Default implementation with CCK',
      'handler' => 'draggableviews_handler_cck',
    ),
  );
}

Functions

Namesort descending Description
draggableviews_cck_draggableviews_handlers Implementing hook_draggableviews_handlers
draggableviews_cck_help Display help and module information