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


PHP professions::GetProfGroupTitle方法代码示例

本文整理汇总了PHP中professions::GetProfGroupTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP professions::GetProfGroupTitle方法的具体用法?PHP professions::GetProfGroupTitle怎么用?PHP professions::GetProfGroupTitle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在professions的用法示例。


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

示例1: getProfessionText

 private function getProfessionText()
 {
     $prof_text = '';
     $prof_group_id = $this->options['prof_group_id'];
     $prof_id = $this->options['prof_id'];
     if ($prof_group_id) {
         $prof_text = professions::GetProfGroupTitle($prof_group_id);
     } elseif ($prof_id) {
         $group_id = professions::GetGroupIdByProf($prof_id);
         $prof_text = professions::GetProfGroupTitle($group_id);
         $prof_text .= ' — ';
         $prof_text .= professions::GetProfName($prof_id);
     } else {
         $prof_text = 'Каталог фрилансеров';
     }
     return $prof_text;
 }
开发者ID:uadev,项目名称:fl-ru-damp,代码行数:17,代码来源:quickPaymentPopupFrlbind.php

示例2: e_url

    $sLocation = e_url('page');
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: {$sLocation}");
    exit(0);
} elseif ($page < 1) {
    include ABS_PATH . '/404.php';
    exit;
}
//------------------------------------------------------------------------------
$freelancer = new freelancer();
if (!$prof_id && !$prof_group_id) {
    $prof_type = false;
    $anchor = 0;
    $cat_menu_freelancers = true;
} elseif ($prof_group_id) {
    $prof_name = professions::GetProfGroupTitle($prof_group_id);
    $prof_type = false;
    $anchor = 0;
    $cat_menu_freelancers = true;
} else {
    if (!$prof_link) {
        $prof_link = professions::GetProfField($prof_id, 'link');
    }
    $prof_name_arr = professions::GetProfTitle($prof_id);
    $prof_name = $prof_name_arr['name'];
    $prof_title = $prof_name_arr['title'] ? $prof_name_arr['title'] : $prof_name;
    $prof_type = professions::GetProfType($prof_id);
    $anchor = professions::GetProfessionOrigin($prof_id);
    $g_page_id = "1|" . $prof_id;
}
//Мета-теги
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:index.php

示例3: getProfessionText

 /**
  * Возвращает название раздела для истории платежей
  * @param type $prof_id
  * @param type $is_spec
  * @return type
  */
 private function getProfessionText($prof_id, $is_spec)
 {
     $prof_text = '';
     if ($prof_id) {
         if ($is_spec) {
             $group_id = professions::GetGroupIdByProf($prof_id);
             $prof_group_title = professions::GetProfGroupTitle($group_id);
             $prof_title = professions::GetProfName($prof_id);
             $prof_text = sprintf(self::DESCR_PROF, $prof_group_title, $prof_title);
         } else {
             $prof_group_title = professions::GetProfGroupTitle($prof_id);
             $prof_text = sprintf(self::DESCR_PROFGROUP, $prof_group_title);
         }
     } else {
         $prof_text = self::DESCR_CATALOG;
     }
     return $prof_text;
 }
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:24,代码来源:freelancer_binds.php

示例4: elseif

        if ($response->data['filter_subcategory_id'] || $response->data['filter_category_id']) {
            ?>
                            <div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_color_000">
                                Размещение в специализации:
                                <?php 
            if ($response->data['filter_subcategory_id']) {
                ?>
 
                                    <?php 
                echo professions::GetProfNameWP($response->data['filter_subcategory_id'], ' / ');
                ?>
                                <?php 
            } elseif ($response->data['filter_category_id']) {
                ?>
                                    <?php 
                echo professions::GetProfGroupTitle($response->data['filter_category_id']);
                ?>
 
                                <?php 
            }
            ?>
                            </div>
                        <?php 
        }
        ?>
                        <div class="b-layout__txt b-layout__txt_fontsize_11 b-layout__txt_color_000">
                            <?php 
        if ($response->data['filter_budget']) {
            ?>
                            
                                <?php 
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:31,代码来源:content.php

示例5: getOperationDescr

 /**
  * Вощвращает строку с описанием операции для истории счета
  * @param type $prof_id
  */
 public static function getOperationDescr($prof_id, $prof_group_id)
 {
     $prof_name = '';
     if ($prof_id == -1) {
         $prof_name = 'общем разделе';
     } elseif ($prof_id == 0) {
         $group_title = professions::GetProfGroupTitle($prof_group_id);
         $prof_name = 'разделе ' . $group_title;
     } else {
         $group_id = professions::GetGroupIdByProf($prof_id);
         $group_title = professions::GetProfGroupTitle($group_id);
         $prof_title .= professions::GetProfName($prof_id);
         $prof_name = 'разделе ' . $group_title . ' &mdash; ' . $prof_title;
     }
     return $prof_name;
 }
开发者ID:amage,项目名称:fl-ru-damp,代码行数:20,代码来源:firstpage.php

示例6: foreach

   
                   
                      <table class="b-layout__table b-layout__table_width_full">
                         <tr class="b-layout__tr">
                            <td class="b-layout__td b-layout__td_padbot_30 b-layout__td_width_210"><div class="b-layout__txt">Разделы</div></td>
                            <td class="b-layout__td b-layout__td_padbot_30">
   
   
   
                               <?php 
                if ($project_specs) {
                    foreach ($project_specs as $v) {
                        $is_dop = 0;
                        if ($v['subcategory_id'] == 0) {
                            $span_id = $v['category_id'] . '_1';
                            $span_name = professions::GetProfGroupTitle($v['category_id']);
                        } else {
                            $span_id = $v['subcategory_id'] . '_0';
                            $tt = professions::GetProfTitle($v['subcategory_id']);
                            $span_name = $tt['name'];
                            $is_dop = 1;
                        }
                        ?>
                                   <span id="mass_cat_span_<?php 
                        echo $span_id;
                        ?>
" class="b-frm-fltr__spec <?php 
                        echo $is_dop ? 'b-frm-fltr__spec_dop' : '';
                        ?>
"><?php 
                        echo $span_name;
开发者ID:Nikitian,项目名称:fl-ru-damp,代码行数:29,代码来源:content_emp.php


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