You are here

function swftools_api_theme in SWF Tools 6.3

Implementation of hook_theme().

File

api/swftools_api.module, line 70
A lightweight API to allow other modules to access SWF Tools embedding methods.

Code

function swftools_api_theme() {
  return array(
    // This is the wrapper function that is exposed by the API
    'swftools_api' => array(
      'arguments' => array(
        'file' => NULL,
      ),
    ),
    // This provides access to the direct embedding method
    'swftools_direct' => array(
      'arguments' => array(
        'file' => NULL,
        'data' => NULL,
      ),
      'file' => 'includes/swftools.core.inc',
    ),
    // This implements the swftools Form API element
    'swftools' => array(
      'arguments' => array(
        'content' => NULL,
        'options' => NULL,
      ),
      'file' => 'includes/swftools.core.inc',
    ),
    // This themes the alternate HTML markup
    'swftools_html_alt' => array(
      'arguments' => array(
        'data' => NULL,
      ),
      'file' => 'includes/swftools.core.inc',
    ),
  );
}