Location: PHPKode > projects > Moc10 PHP Library > docs/api-docs/elementindex_Moc10_Language.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html>
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title></title>
			<link rel="stylesheet" href="media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<a name="top"></a>
<h2>[Moc10_Language] element index</h2>
	<h3>Package indexes</h3>
	<ul>
				<li><a href="elementindex_Moc10_Autoloader.html">Moc10_Autoloader</a></li>
					<li><a href="elementindex_Moc10_Cookie.html">Moc10_Cookie</a></li>
					<li><a href="elementindex_Moc10_Curl.html">Moc10_Curl</a></li>
					<li><a href="elementindex_Moc10_Db.html">Moc10_Db</a></li>
					<li><a href="elementindex_Moc10_Dom.html">Moc10_Dom</a></li>
					<li><a href="elementindex_Moc10_Feed.html">Moc10_Feed</a></li>
					<li><a href="elementindex_Moc10_File.html">Moc10_File</a></li>
					<li><a href="elementindex_Moc10_Form.html">Moc10_Form</a></li>
					<li><a href="elementindex_Moc10_Ftp.html">Moc10_Ftp</a></li>
					<li><a href="elementindex_Moc10_Image.html">Moc10_Image</a></li>
							<li><a href="elementindex_Moc10_Mail.html">Moc10_Mail</a></li>
					<li><a href="elementindex_Moc10_Pdf.html">Moc10_Pdf</a></li>
					<li><a href="elementindex_Moc10_Record.html">Moc10_Record</a></li>
					<li><a href="elementindex_Moc10_Session.html">Moc10_Session</a></li>
					<li><a href="elementindex_Moc10_String.html">Moc10_String</a></li>
			</ul>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Moc10_Language.html#g">g</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#l">l</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#m">m</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#_">_</a>
</div>

	<a name="_"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">_</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$_content</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#var$_content">Moc10_Language::$_content</a> in Language.php</div>
							<div class="index-item-description">Language content</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_language</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#var$_language">Moc10_Language::$_language</a> in Language.php</div>
							<div class="index-item-description">Default system language</div>
					</dd>
			<dt class="field">
						<span class="method-title">_e</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#method_e">Moc10_Language::_e()</a> in Language.php</div>
							<div class="index-item-description">Echo the translated string.</div>
					</dd>
			<dt class="field">
						<span class="method-title">_loadCurrentLanguage</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#method_loadCurrentLanguage">Moc10_Language::_loadCurrentLanguage()</a> in Language.php</div>
							<div class="index-item-description">Get language content from the XML file.</div>
					</dd>
			<dt class="field">
						<span class="method-title">_translate</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#method_translate">Moc10_Language::_translate()</a> in Language.php</div>
							<div class="index-item-description">Translate and return the string.</div>
					</dd>
			<dt class="field">
						<span class="method-title">__</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#method__">Moc10_Language::__()</a> in Language.php</div>
							<div class="index-item-description">Return the translated string</div>
					</dd>
			<dt class="field">
						<span class="method-title">__construct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#method__construct">Moc10_Language::__construct()</a> in Language.php</div>
							<div class="index-item-description">Constructor</div>
					</dd>
		</dl>
	<a name="g"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">g</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">generateLanguageFile</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#methodgenerateLanguageFile">Moc10_Language::generateLanguageFile()</a> in Language.php</div>
							<div class="index-item-description">Process and translate an new XML language document from the  template file via Google Translate using a provided API key.</div>
					</dd>
			<dt class="field">
						<span class="method-title">getLanguage</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#methodgetLanguage">Moc10_Language::getLanguage()</a> in Language.php</div>
							<div class="index-item-description">Get current language setting.</div>
					</dd>
			<dt class="field">
						<span class="method-title">getLanguages</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#methodgetLanguages">Moc10_Language::getLanguages()</a> in Language.php</div>
							<div class="index-item-description">Get languages from the XML files.</div>
					</dd>
		</dl>
	<a name="l"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">l</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="include-title">Language.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/_Language.php.html">Language.php</a> in Language.php</div>
					</dd>
			<dt class="field">
						<span class="method-title">loadFile</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html#methodloadFile">Moc10_Language::loadFile()</a> in Language.php</div>
							<div class="index-item-description">Load language content from an XML file.</div>
					</dd>
		</dl>
	<a name="m"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">m</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Moc10_Language
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Language/Moc10_Language.html">Moc10_Language</a> in Language.php</div>
							<div class="index-item-description">Moc10_Language</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Moc10_Language.html#g">g</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#l">l</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#m">m</a>
	<a class="index-letter" href="elementindex_Moc10_Language.html#_">_</a>
</div>	</body>
</html>
Return current item: Moc10 PHP Library