当前位置: 首页>>代码示例>>PHP>>正文


PHP zen_theme函数代码示例

本文整理汇总了PHP中zen_theme函数的典型用法代码示例。如果您正苦于以下问题:PHP zen_theme函数的具体用法?PHP zen_theme怎么用?PHP zen_theme使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了zen_theme函数的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: vojo_generic_theme

/**
 * Implementation of HOOK_theme().
 */
function vojo_generic_theme(&$existing, $type, $theme, $path)
{
    $hooks = zen_theme($existing, $type, $theme, $path);
    // Add your theme hooks like this:
    $hooks['blog_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'templates/node-blog-edit');
    // @TODO: Needs detailed comments. Patches welcome!
    return $hooks;
}
开发者ID:vojodotco,项目名称:vojo_co_sites_folder,代码行数:11,代码来源:template.php

示例2: mumbo_theme

/**
 * Implementation of HOOK_theme().
 */
function mumbo_theme(&$existing, $type, $theme, $path) {
  $hooks = zen_theme($existing, $type, $theme, $path);
  // Add your theme hooks like this:
  /*
  $hooks['hook_name_here'] = array( // Details go here );
  */
  // @TODO: Needs detailed comments. Patches welcome!
  return $hooks;
}
开发者ID:ndrsklng,项目名称:sajten,代码行数:12,代码来源:template.php

示例3: nys_theme

/**
 * Implementation of HOOK_theme().
 */
function nys_theme(&$existing, $type, $theme, $path)
{
    $hooks = zen_theme($existing, $type, $theme, $path);
    // Add your theme hooks like this:
    /*
    $hooks['hook_name_here'] = array( // Details go here );
    */
    // @TODO: Needs detailed comments. Patches welcome!
    $hooks['search_theme_form'] = array('arguments' => array('form' => NULL));
    return $hooks;
}
开发者ID:justinlundy,项目名称:SenateDrupal,代码行数:14,代码来源:template.php

示例4: STARTERKIT_theme

/**
 * Implementation of HOOK_theme().
 */
function STARTERKIT_theme(&$existing, $type, $theme, $path)
{
    return zen_theme($existing, $type, $theme, $path);
}
开发者ID:patdunlavey,项目名称:Williamstown-Beat,代码行数:7,代码来源:template.php

示例5: cti_flex_theme

/**
 * Implementation of HOOK_theme().
 */
function cti_flex_theme(&$existing, $type, $theme, $path)
{
    $hooks = zen_theme($existing, $type, $theme, $path);
    return $hooks;
}
开发者ID:javaperl,项目名称:fcase,代码行数:8,代码来源:template.php

示例6: tma_theme

/**
 * Implementation of HOOK_theme().
 */
function tma_theme(&$existing, $type, $theme, $path)
{
    return zen_theme($existing, $type, $theme, $path);
}
开发者ID:patdunlavey,项目名称:Williamstown-Beat,代码行数:7,代码来源:template.php

示例7: camp_theme

/**
 * Implementation of HOOK_theme().
 */
function camp_theme(&$existing, $type, $theme, $path)
{
    $hooks = zen_theme($existing, $type, $theme, $path);
    // Add your theme hooks like this:
    /*
    $hooks['hook_name_here'] = array( // Details go here );
    */
    $hooks['news_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-news');
    $hooks['session_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-session');
    $hooks['sponsor_node_form'] = array('arguments' => array('form' => NULL), 'template' => 'form-node-sponsor');
    // @TODO: Needs detailed comments. Patches welcome!
    return $hooks;
}
开发者ID:pietromalerba,项目名称:ShowCase-Drupal-Test-project,代码行数:16,代码来源:template.php

示例8: zen_classic_theme

/**
 * Implementation of HOOK_theme().
 */
function zen_classic_theme(&$existing, $type, $theme, $path)
{
    return zen_theme($existing, $type, $theme, $path);
}
开发者ID:kimpepper,项目名称:drupal-base,代码行数:7,代码来源:template.php

示例9: eiffeldoc_theme

/**
 * Implementation of HOOK_theme().
 */
function eiffeldoc_theme(&$existing, $type, $theme, $path)
{
    return zen_theme($existing, $type, $theme, $path);
}
开发者ID:tioui,项目名称:EiffelStudio,代码行数:7,代码来源:template.php


注:本文中的zen_theme函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。