⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bk_read.html

📁 BabelKit是一个通用多语言数据库代码表的接口。它接收维护使用多语言的多个数据库代码定义集中的所有编程工作。代码管理和翻译页可以让开发人员定义新的虚拟代码表
💻 HTML
字号:
<html><head><title>BabelKit Code Description Methods</title><link rel="STYLESHEET" type="text/css" href="main.css"></head><!--  Copyright (C) 2003 John Gorman <jgorman@webbysoft.com>  http://www.webbysoft.com/babelkit--><body bgcolor="#F0FFFF" text="#000000"      link="#873852" vlink="#873852" alink="#B52E2E"><center><table width="600"><tr><td><div align="right">[<a href="bk_new_perl.html">Perl Handle Creation</a>][<a href="index.html">Index</a>][<a href="bk_select.html">HTML Select</a>]</div><center><h2><a href="http://www.webbysoft.com/babelkit">BabelKit</a>Code Description Methods</h2></center>These methods return a single code description value.<a name="display"></a><h3>Display Methods</h3><p>These display methods all perform<code>htmlspecialchars($code_desc)</code>on the code descriptions that they return.This translates ( &amp; &lt; &quot; &gt; ) into( &amp;amp; &amp;lt; &amp;quot; &amp;gt; ) so thatthe actual characters will show on html pages.<h4>desc()</h4><p><code>$code_desc = $babelkit-&gt;desc($code_set, $code_lang, $code_code);</code><p>desc() gets a code description for the language from thecode set.  If the language lacks a translation, it returnsthe native language description.  If there is no descriptionavailable, the code value is returned so that at leastsomething gets displayed.<h4>ucfirst()</h4><p><code>$Code_desc = $babelkit-&gt;ucfirst($code_set, $code_lang, $code_code);</code><p>Same as desc(), but returns the First word capitalized.<h4>ucwords()</h4><p><code>$Code_Desc = $babelkit-&gt;ucwords($code_set, $code_lang, $code_code);</code><p>Same as desc(), but returns Each Word Capitalized.<a name="data"></a><h3>Data Methods</h3><p>These display methods return the raw code descriptionvalue, not encoded for html display.  This can be usefulif a description contains html markup that you want renderedas markup!<h4>render()</h4><p><code>$code_desc = $babelkit-&gt;render($code_set, $code_lang, $code_code);</code><p>The same as desc(), except that it does not do htmlspecialchars().This allows the html tags to be rendered.<h4>data()</h4><p><code>$code_desc = $babelkit-&gt;data($code_set, $code_lang, $code_code);</code><p>This returns the exact set/lang/code description requested,or else blank if it doesn't exist.<h4>param()</h4><p><code>$parameter = $babelkit-&gt;param($code_set, $code_code);</code><p>Exactly the same as data(), except that it alwaysreturns the native language result, which is all there is forparameter code sets.  Used for table driven operationalparameters like the code_admin set.<p><div align="right">[<a href="bk_new_perl.html">Perl Handle Creation</a>][<a href="index.html">Index</a>][<a href="bk_select.html">HTML Select</a>]</div></td></tr></table></center></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -