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


PHP Language::string方法代码示例

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


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

示例1: get_name

 public function get_name()
 {
     switch ($this->id) {
         case 1:
             return Language::string(416);
         case 2:
             return Language::string(417);
         case 3:
             return Language::string(418);
     }
 }
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:11,代码来源:DS_UserInstitutionType.php

示例2: get_list_columns

 public static function get_list_columns()
 {
     $cols = array();
     if (static::$exportable) {
         array_push($cols, array("name" => Language::string(371), "property" => "get_description", "searchable" => false, "sortable" => false, "type" => "string", "groupable" => false, "template" => "<span class='spanIcon ui-icon ui-icon-help tooltip' title='" . '${get_description}' . "'></span>", "width" => 50, "show" => true));
     }
     array_push($cols, array("name" => Language::string(69), "property" => "id", "searchable" => true, "sortable" => true, "type" => "number", "groupable" => false, "width" => 60, "show" => true));
     array_push($cols, array("name" => Language::string(70), "property" => "name", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => false, "show" => true));
     array_push($cols, array("name" => Language::string(665), "property" => "get_updated", "searchable" => false, "sortable" => true, "type" => "string", "groupable" => false, "show" => true));
     return $cols;
 }
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:11,代码来源:OModule.php

示例3: get_name

 public function get_name()
 {
     switch ($this->id) {
         case 1:
             return Language::string(100);
         case 2:
             return Language::string(101);
         case 3:
             return Language::string(102);
     }
 }
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:11,代码来源:DS_Sharing.php

示例4: get_name

 public function get_name()
 {
     switch ($this->id) {
         case 1:
             return Language::string(167);
         case 2:
             return Language::string(85);
         case 3:
             return Language::string(89);
         case 6:
             return Language::string(88);
         case 8:
             return Language::string(458);
     }
 }
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:15,代码来源:DS_Module.php

示例5: Ini

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/
if (!isset($ini)) {
    require_once '../../Ini.php';
    $ini = new Ini();
}
$logged_user = User::get_logged_user();
if ($logged_user == null) {
    die(Language::string(81));
}
$file = $_FILES['file'];
$f = new File();
$f->temp_id = $_POST['temp_id'];
$f->file_name = $file['name'];
$f->Module_id = $_POST['Module_id'];
$f->object_id = $_POST['object_id'];
$f->index = $_POST['index'];
$f->temp_name = $file['tmp_name'];
$f->file_size = $file['size'];
$code = 0;
$can_upload = true;
$module = DS_Module::from_mysql_id($_POST['Module_id']);
$class_name = $module->value;
$max_num = $class_name::$max_files_num;
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:file_upload.php

示例6:

 title="<?php 
echo Language::string(369);
?>
" /></td>
            <td class="tdSectionColumnIcon"><span class="spanIcon tooltip ui-icon ui-icon-trash" onclick="Test.uiRemoveSection(<?php 
echo $_POST['counter'];
?>
)" title="<?php 
echo Language::string(59);
?>
"></span></td>
            <td class="tdSectionColumnButton"><button class="btnAddSection noWrap" onclick="Test.uiAddLogicSection(0,<?php 
echo $_POST['counter'];
?>
)"><?php 
echo Language::string(619);
?>
</button></td>
        </tr>
    </table>
</div>
<div class="divSectionDetail <?php 
echo $_POST['detail'] == 1 || $_POST['oid'] == 0 ? "" : "notVisible";
?>
">
    <textarea id="textareaCodeMirror_<?php 
echo $_POST['counter'];
?>
" class="fullWidth ui-widget-content ui-corner-all textareaCode"><?php 
echo $val;
?>
开发者ID:JerzyM,项目名称:concerto-platform,代码行数:31,代码来源:section_content_1.php

示例7: get_description_by_id

 public static function get_description_by_id($id)
 {
     switch ($id) {
         case self::CUSTOM:
             return Language::string(48);
         case self::END:
             return Language::string(46);
         case self::GO_TO:
             return Language::string(42);
         case self::IF_STATEMENT:
             return Language::string(43);
         case self::LOAD_HTML_TEMPLATE:
             return Language::string(41);
         case self::R_CODE:
             return Language::string(40);
         case self::SET_VARIABLE:
             return Language::string(44);
         case self::START:
             return Language::string(45);
         case self::TABLE_MOD:
             return Language::string(47);
         case self::TEST:
             return Language::string(393);
         case self::LOOP:
             return Language::string(394);
         case self::LOWER_LEVEL_R_CODE:
             return Language::string(446);
         case self::QTI_INITIALIZATION:
             return Language::string(483);
         case self::QTI_RESPONSE_PROCESSING:
             return Language::string(484);
         case self::FOR_LOOP:
             return Language::string(624);
         case self::WHILE_LOOP:
             return Language::string(625);
     }
 }
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:37,代码来源:DS_TestSectionType.php

示例8: Copyright

<?php

/*
 Concerto Platform - Online Adaptive Testing Platform
 Copyright (C) 2011-2012, The Psychometrics Centre, Cambridge University

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; version 2
 of the License, and not any of the later versions.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/
if (!isset($ini)) {
    require_once '../../Ini.php';
    $ini = new Ini();
}
$logged_user = User::get_logged_user();
if ($logged_user == null) {
    die(Language::string(81));
}
$class_name = "User";
$class_label = Language::string(89);
include Ini::$path_internal . "cms/view/includes/tab.inc.php";
开发者ID:JerzyM,项目名称:concerto-platform,代码行数:31,代码来源:tab_users.inc.php

示例9:

.uiExport(<?php 
            echo $oid;
            ?>
)"><?php 
            echo Language::string(443);
            ?>
</button>
                <button class="btnUpload" onclick="<?php 
            echo $class_name;
            ?>
.uiUpload(<?php 
            echo $oid;
            ?>
)"><?php 
            echo Language::string(383);
            ?>
</button>
                <?php 
        }
        ?>
        </div>
        <?php 
    }
} else {
    ?>
    <div class="padding margin ui-state-error " align="center"><?php 
    echo Language::string(123);
    ?>
</div>
    <?php 
}
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:User_form.php

示例10: foreach

foreach (Language::languages() as $lng_node) {
    $attr = $lng_node->getAttributeNode("id");
    ?>
                    <option class="flagIcon_<?php 
    echo $attr->value;
    ?>
" value="<?php 
    echo $attr->value;
    ?>
" <?php 
    echo $_SESSION['lng'] == $attr->value ? "selected" : "";
    ?>
><?php 
    echo $lng_node->nodeValue;
    ?>
</option>
                <?php 
}
?>
            </select>&nbsp;
            <label for="btnLogout"><?php 
echo Language::string(84);
?>
: <b><?php 
echo $user->login . ", " . $user->get_full_name();
?>
</label>
            <button name="btnLogout" id="btnLogout" class="btnLogout" onclick="User.uiLogOut()"/>
        </td>
    </tr>
</table>
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:header.inc.php

示例11:

    ?>
.uiEdit(<?php 
    echo $obj->id;
    ?>
)"><?php 
    echo Language::string(43);
    ?>
</option>
                        <option class="optionDelete" value="<?php 
    echo $class_name;
    ?>
.uiDelete(<?php 
    echo $obj->id;
    ?>
)"><?php 
    echo Language::string(42);
    ?>
</option>
                    </select>
                </td>
            </tr>
        <?php 
}
?>
 
    </tbody>
</table>
<?php 
if ($num_rows == 0) {
    ?>
    <div class="fullWidth ui-widget-content ui-corner-all noWrap" align="center"><?php 
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:Item_list.php

示例12:

                                <td class="tdSectionColumnIcon"><span class="spanIcon ui-icon ui-icon-help tooltip" title="<?php 
echo Language::string(245);
?>
"></span></td>
                                <td>CONCERTO_TEST_ID</td>
                            </tr>
                            <tr>
                                <td class="tdSectionColumnIcon"><span class="spanIcon ui-icon ui-icon-help tooltip" title="<?php 
echo Language::string(246);
?>
"></span></td>
                                <td>CONCERTO_TEST_SESSION_ID</td>
                            </tr>
                            <tr>
                                <td class="tdSectionColumnIcon"><span class="spanIcon ui-icon ui-icon-help tooltip" title="<?php 
echo Language::string(629);
?>
"></span></td>
                                <td>USER_IP</td>
                            </tr>
                        </table>
                    </div>
                    <div class="notVisible">
                        <input class="inputReturnVar" type="hidden" value="CONCERTO_TEST_ID" />
                        <input class="inputReturnVar" type="hidden" value="CONCERTO_TEST_SESSION_ID" />
                        <input class="inputReturnVar" type="hidden" value="USER_IP" />
                    </div>
                </fieldset>
            </td>
        </tr>
    </table>
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:section_content_6.php

示例13:

        <table>
            <tr>
                <td><span class="tooltip spanIcon ui-icon ui-icon-help" title="<?php 
echo Language::string(503);
?>
"></span></td>
                <td class=""><b><?php 
echo Language::string(351);
?>
</b></td>
            </tr>
        </table>
    </legend>
    <div id="div<?php 
echo $class_name;
?>
GridDataContainerExpandable">
        <div id="div<?php 
echo $class_name;
?>
DataStructureEmptyCaption" class="ui-state-error margin" style="display:none;"><?php 
echo Language::string(352);
?>
</div>
        <div id="div<?php 
echo $class_name;
?>
GridDataContainer" align="left" class="margin">
        </div>
    </div>
</fieldset>
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:Table_data.php

示例14: get_list_columns

 public static function get_list_columns()
 {
     $cols = parent::get_list_columns();
     array_push($cols, array("name" => Language::string(488), "property" => "format_open", "searchable" => true, "sortable" => true, "type" => "string", "groupable" => true, "width" => 120, "show" => true));
     array_push($cols, array("name" => Language::string(335), "property" => "session_count", "searchable" => true, "sortable" => true, "type" => "number", "groupable" => false, "width" => 120, "show" => true));
     return $cols;
 }
开发者ID:JerzyM,项目名称:concerto-platform,代码行数:7,代码来源:Test.php

示例15:

            </tr>
        </table>
    </legend>
    <table class="fullWidth">
        <thead>
            <tr>
                <th class="noWrap horizontalPadding ui-widget-header"><?php 
echo Language::string(149);
?>
</th>
                <th class="noWrap horizontalPadding ui-widget-header"><?php 
echo Language::string(150);
?>
</th>
                <th class="noWrap horizontalPadding ui-widget-header"><?php 
echo Language::string(151);
?>
</th>
            </tr>
        </thead>
        <tbody>
<?php 
foreach ($_POST['vars'] as $var) {
    $var = json_decode($var);
    ?>
                <tr>
                    <td class="noWrap horizontalPadding ui-widget-content"><b><?php 
    echo $var->name;
    ?>
</b></td>
                    <td class="horizontalPadding ui-widget-content">
开发者ID:Abuamany,项目名称:concerto-platform,代码行数:31,代码来源:Test_vars.php


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