當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。