Location: PHPKode > projects > Energine > energine-2.2/doc/api/energine/core/DBWorker.html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
			<title>Docs For Class DBWorker</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
						<script src="../../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../../media/images/plus.png";
				imgMinus.src = "../../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/AbstractClass_logo.png"
														alt="Abstract Class"
														title="Abstract Class"
														style="vertical-align: middle"> DBWorker</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Предоставляет производным классам ссылку на объект для работы с БД.</p>
	<ul class="tags">
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_framework---DBWorker.class.php.html">/framework/DBWorker.class.php</a> (line <span class="field"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a22">22</a></span>)
		</p>
		
				
		<pre><a href="../../energine/core/Object.html">Object</a>
   |
   --<a href="../../energine/core/SystemConfig.html">SystemConfig</a>
      |
      --DBWorker</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-consts">Constants</a>
							
					</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Component.html">Component</a>
					</td>
					<td>
											Компонент страницы.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/AbstractClass.png"
								 alt="Abstract class"
								 title="Abstract class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Builder.html">Builder</a>
					</td>
					<td>
											Построитель.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Document.html">Document</a>
					</td>
					<td>
											Документ страницы.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Saver.html">Saver</a>
					</td>
					<td>
											Сохранитель данных в БД.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/FieldDescription.html">FieldDescription</a>
					</td>
					<td>
											Описание поля данных.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/AbstractClass.png"
								 alt="Abstract class"
								 title="Abstract class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/FileSystemObject.html">FileSystemObject</a>
					</td>
					<td>
											Абстрактный класс  - модель объекта файловой системы
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/FrontController.html">FrontController</a>
					</td>
					<td>
											Front Controller - единая точка входа для запуска работы системы.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Language.html">Language</a>
					</td>
					<td>
											Управляет языками системы.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/Sitemap.html">Sitemap</a>
					</td>
					<td>
											Класс - синглтон  Содержит методы по работе со структурой сайта
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/TagManager.html">TagManager</a>
					</td>
					<td>
											Класс - синглтон для работы с тэгами
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/User.html">User</a>
					</td>
					<td>
											Класс для работы с пользователем  Возвращает информацию о пользователе, сохраняет данные
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/UserGroup.html">UserGroup</a>
					</td>
					<td>
											Группы пользователей.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../../energine/core/UserSession.html">UserSession</a>
					</td>
					<td>
											Класс управления сеансами пользователей.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-consts">Constants</a>
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																				<div class="var-title">
					<img src="../../media/images/StaticVariable.png" alt=" " />
					static <span class="var-type"><a href="../../energine/core/QAL.html">QAL</a></span>
					<a href="#$dbhInstance" title="details" class="var-name">$dbhInstance</a>
				</div>
																				<div class="var-title">
					<img src="../../media/images/Variable.png" alt=" " />
					<span class="var-type"><a href="../../energine/core/QAL.html">QAL</a></span>
					<a href="#$dbh" title="details" class="var-name">$dbh</a>
				</div>
																			</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																											
				<div class="method-definition">
					<img src="../../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">string</span>
										<a href="#_translate" title="details" class="method-name">_translate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$const</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$langId</span> = <span class="var-default">null</span>])
									</div>
																			
				<div class="method-definition">
					<img src="../../media/images/Constructor.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#translate" title="details" class="method-name">translate</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$const</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$langID</span> = <span class="var-default">null</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$langId</span>)
									</div>
																			</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$dbhInstance" id="$dbhInstance"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../../media/images/StaticVariable.png" />
		<span class="var-title">
			static <span class="var-type"><a href="../../energine/core/QAL.html">QAL</a></span>
			<span class="var-name">$dbhInstance</span>
						(line <span class="line-number"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a29">29</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> единый для всех экземпляров класса объект QAL</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>

<a name="var$dbh" id="$dbh"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type"><a href="../../energine/core/QAL.html">QAL</a></span>
			<span class="var-name">$dbh</span>
						(line <span class="line-number"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a35">35</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> ссылка на self::$dbhInstance (для производных классов)</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../energine/core/SystemConfig.html">SystemConfig</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../energine/core/SystemConfig.html#var$systemConfig">SystemConfig::$systemConfig</a></span><br>
							</span>
											</blockquote> 
									<p>Inherited from <span class="classname"><a href="../../energine/core/Object.html">Object</a></span></p>
					<blockquote>
													<img src="../../media/images/PrivateVariable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../energine/core/Object.html#var$executionTime">Object::$executionTime</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-consts">Constants</a>
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method_translate" id="_translate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/StaticMethod.png" />
		<span class="method-title">static _translate</span> (line <span class="line-number"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a71">71</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Возвращает перевод текстовой константы из таблицы переводов для  указанного языка. Если язык явно не указан - используется текущий язык.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">string</span>
		<span class="method-name">
			_translate
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$const</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$langId</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$const</span><span class="var-description">: текстовая константа</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$langId</span><span class="var-description">: язык для перевода</span>			</li>
				</ul>
		
			
	</div>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a43">43</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Конструктор класса.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../energine/core/SystemConfig.html#method__construct">SystemConfig::__construct()</a></dt>
						<dd>Конструктор класса.</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../energine/core/Component.html#method__construct">Component::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/share/DataSet.html#method__construct">DataSet::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/BreadCrumbs.html#method__construct">BreadCrumbs::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/ChildDivisions.html#method__construct">ChildDivisions::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/BrotherDivisions.html#method__construct">BrotherDivisions::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/DBDataSet.html#method__construct">DBDataSet::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/Grid.html#method__construct">Grid::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/DivisionEditor.html#method__construct">DivisionEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/FeedbackList.html#method__construct">FeedbackList::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/LanguageEditor.html#method__construct">LanguageEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/TemplateEditor.html#method__construct">TemplateEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/TranslationEditor.html#method__construct">TranslationEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/user/RoleEditor.html#method__construct">RoleEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/user/UserEditor.html#method__construct">UserEditor::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/FeedbackForm.html#method__construct">FeedbackForm::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/user/Register.html#method__construct">Register::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/FileLibrary.html#method__construct">FileLibrary::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/LangSwitcher.html#method__construct">LangSwitcher::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/MainMenu.html#method__construct">MainMenu::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/SitemapTree.html#method__construct">SitemapTree::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/TagList.html#method__construct">TagList::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/TextBlock.html#method__construct">TextBlock::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/share/TextBlockSource.html#method__construct">TextBlockSource::__construct()</a>
							</li>
					<li>
				<a href="../../energine/user/RestorePassword.html#method__construct">RestorePassword::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/user/LoginForm.html#method__construct">LoginForm::__construct()</a>
								: Конструктор
							</li>
					<li>
				<a href="../../energine/user/UserProfile.html#method__construct">UserProfile::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/image/ImageManager.html#method__construct">ImageManager::__construct()</a>
							</li>
					<li>
				<a href="../../energine/core/Remover.html#method__construct">Remover::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/Builder.html#method__construct">Builder::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/JSONBuilder.html#method__construct">JSONBuilder::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/JSONUploadBuilder.html#method__construct">JSONUploadBuilder::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/MultiLanguageBuilder.html#method__construct">MultiLanguageBuilder::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/SimpleBuilder.html#method__construct">SimpleBuilder::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/TreeBuilder.html#method__construct">TreeBuilder::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/Document.html#method__construct">Document::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/Saver.html#method__construct">Saver::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/FieldDescription.html#method__construct">FieldDescription::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/FileSystemObject.html#method__construct">FileSystemObject::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/DirectoryObject.html#method__construct">DirectoryObject::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/FileObject.html#method__construct">FileObject::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/FrontController.html#method__construct">FrontController::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/Language.html#method__construct">Language::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/Sitemap.html#method__construct">Sitemap::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/TagManager.html#method__construct">TagManager::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/User.html#method__construct">User::__construct()</a>
								: Конструктор класса
							</li>
					<li>
				<a href="../../energine/core/AuthUser.html#method__construct">AuthUser::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/UserGroup.html#method__construct">UserGroup::__construct()</a>
								: Конструктор класса.
							</li>
					<li>
				<a href="../../energine/core/UserSession.html#method__construct">UserSession::__construct()</a>
								: Конструктор класса.
							</li>
				</ul>
	</div>
<a name="methodtranslate" id="translate"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">translate</span> (line <span class="line-number"><a href="../../__filesource/fsource_energine_core_frameworkDBWorker.class.php.html#a100">100</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Нестатический метод-обёртка над DBWorker::_translate -  для удобства использования внутри производных классов.</p>
	<ul class="tags">
				<li><span class="field">see:</span> <a href="../../energine/core/DBWorker.html#method_translate">DBWorker::_translate()</a></li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			translate
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$const</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$langID</span> = <span class="var-default">null</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$langId</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$const</span><span class="var-description">: текстовая константа</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$langId</span><span class="var-description">: язык для перевода</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$langID</span>			</li>
				</ul>
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../energine/core/SystemConfig.html">SystemConfig</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/SystemConfig.html#method__construct">SystemConfig::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/SystemConfig.html#methodgetConfigValue">SystemConfig::getConfigValue()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/SystemConfig.html#methodload">SystemConfig::load()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/SystemConfig.html#method_getConfigValue">SystemConfig::_getConfigValue()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../energine/core/Object.html">Object</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/Object.html#method__construct">Object::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/Object.html#methodgetExecutionTime">Object::getExecutionTime()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/Object.html#methodstartExecutionTimer">Object::startExecutionTimer()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../energine/core/Object.html#methodstopExecutionTimer">Object::stopExecutionTimer()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Constants</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../energine/core/SystemConfig.html">SystemConfig</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../energine/core/SystemConfig.html#constCONFIG_DIR">SystemConfig::CONFIG_DIR</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../energine/core/SystemConfig.html#constCONFIG_FILE">SystemConfig::CONFIG_FILE</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Mon, 17 Sep 2007 13:27:22 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.0a2</a>
	</p>
	</div></body>
</html>
Return current item: Energine