mirror of
https://github.com/retailcrm/NameCaseLib.git
synced 2024-12-05 03:16:06 +03:00
[0.4] Докуметация кода
This commit is contained in:
parent
3987cb6f17
commit
18f4a63f7e
445
Docs/NameCaseLib/NCL.html
Normal file
445
Docs/NameCaseLib/NCL.html
Normal file
@ -0,0 +1,445 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs For Class NCL</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="class-name">Class NCL</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>)
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Класс, который содержит основные константы библиотеки: <ul><li>индексы мужского и женского пола</li><li>индексы всех падежей</li></ul></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCL.php.html">/NCL/NCL.php</a> (line <span class="field">16</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre></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>)
|
||||
</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"><a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a></td>
|
||||
<td>
|
||||
<strong>NCL NameCase Core</strong>
|
||||
</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">Descendents</a> |
|
||||
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<div class="var-summary">
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$DATELN" title="details" class="var-name">$DATELN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$IMENITLN" title="details" class="var-name">$IMENITLN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$MAN" title="details" class="var-name">$MAN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$PREDLOGN" title="details" class="var-name">$PREDLOGN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$RODITLN" title="details" class="var-name">$RODITLN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$TVORITELN" title="details" class="var-name">$TVORITELN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaDavalnyi" title="details" class="var-name">$UaDavalnyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaKlychnyi" title="details" class="var-name">$UaKlychnyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaMiszevyi" title="details" class="var-name">$UaMiszevyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaNazyvnyi" title="details" class="var-name">$UaNazyvnyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaOrudnyi" title="details" class="var-name">$UaOrudnyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaRodovyi" title="details" class="var-name">$UaRodovyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$UaZnahidnyi" title="details" class="var-name">$UaZnahidnyi</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$VINITELN" title="details" class="var-name">$VINITELN</a>
|
||||
</div>
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<a href="#$WOMAN" title="details" class="var-name">$WOMAN</a>
|
||||
</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> |
|
||||
<span class="disabled">Vars</span>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="var$DATELN" id="$DATELN"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$DATELN</span>
|
||||
= <span class="var-default"> 2</span> (line <span class="line-number">46</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Дательный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$IMENITLN" id="$IMENITLN"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$IMENITLN</span>
|
||||
= <span class="var-default"> 0</span> (line <span class="line-number">34</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Именительный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$MAN" id="$MAN"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$MAN</span>
|
||||
= <span class="var-default"> 1</span> (line <span class="line-number">22</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужской пол</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$PREDLOGN" id="$PREDLOGN"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$PREDLOGN</span>
|
||||
= <span class="var-default"> 5</span> (line <span class="line-number">64</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Предложный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$RODITLN" id="$RODITLN"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$RODITLN</span>
|
||||
= <span class="var-default"> 1</span> (line <span class="line-number">40</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Родительный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$TVORITELN" id="$TVORITELN"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$TVORITELN</span>
|
||||
= <span class="var-default"> 4</span> (line <span class="line-number">58</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Творительный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaDavalnyi" id="$UaDavalnyi"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaDavalnyi</span>
|
||||
= <span class="var-default"> 2</span> (line <span class="line-number">82</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Давальний відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaKlychnyi" id="$UaKlychnyi"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaKlychnyi</span>
|
||||
= <span class="var-default"> 6</span> (line <span class="line-number">106</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Кличний відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaMiszevyi" id="$UaMiszevyi"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaMiszevyi</span>
|
||||
= <span class="var-default"> 5</span> (line <span class="line-number">100</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Місцевий відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaNazyvnyi" id="$UaNazyvnyi"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaNazyvnyi</span>
|
||||
= <span class="var-default"> 0</span> (line <span class="line-number">70</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Назвиний відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaOrudnyi" id="$UaOrudnyi"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaOrudnyi</span>
|
||||
= <span class="var-default"> 4</span> (line <span class="line-number">94</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Орудний відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaRodovyi" id="$UaRodovyi"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaRodovyi</span>
|
||||
= <span class="var-default"> 1</span> (line <span class="line-number">76</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Родовий відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$UaZnahidnyi" id="$UaZnahidnyi"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$UaZnahidnyi</span>
|
||||
= <span class="var-default"> 3</span> (line <span class="line-number">88</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Знахідний відмінок</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$VINITELN" id="$VINITELN"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$VINITELN</span>
|
||||
= <span class="var-default"> 3</span> (line <span class="line-number">52</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Винительный падеж</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="var$WOMAN" id="$WOMAN"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
<span class="var-name">$WOMAN</span>
|
||||
= <span class="var-default"> 2</span> (line <span class="line-number">28</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Женский пол</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:07 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
1401
Docs/NameCaseLib/NCLNameCaseCore.html
Normal file
1401
Docs/NameCaseLib/NCLNameCaseCore.html
Normal file
File diff suppressed because it is too large
Load Diff
780
Docs/NameCaseLib/NCLNameCaseInterface.html
Normal file
780
Docs/NameCaseLib/NCLNameCaseInterface.html
Normal file
@ -0,0 +1,780 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs For Class NCLNameCaseInterface</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="class-name">Interface NCLNameCaseInterface</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-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Интерфейс для русского и украинского языка</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCLNameCaseInterface.php.html">/NCL/NCLNameCaseInterface.php</a> (line <span class="field">14</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre></pre>
|
||||
|
||||
</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> |
|
||||
<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">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#genderAutoDetect" title="details" class="method-name">genderAutoDetect</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#getFatherNameCase" title="details" class="method-name">getFatherNameCase</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#getFirstNameCase" title="details" class="method-name">getFirstNameCase</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#getFormatted" title="details" class="method-name">getFormatted</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$format</span> = <span class="var-default">"S N F"</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#getFormattedArray" title="details" class="method-name">getFormattedArray</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$format</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#getSecondNameCase" title="details" class="method-name">getSecondNameCase</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#q" title="details" class="method-name">q</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$fullname</span>, [<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#qFatherName" title="details" class="method-name">qFatherName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$fatherName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#qFirstName" title="details" class="method-name">qFirstName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$firstName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#qFullName" title="details" class="method-name">qFullName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$firstName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$fatherName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$format</span> = <span class="var-default">"S N F"</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#qSecondName" title="details" class="method-name">qSecondName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$secondName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setFatherName" title="details" class="method-name">setFatherName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$fathername</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setFirstName" title="details" class="method-name">setFirstName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$firstname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setFullName" title="details" class="method-name">setFullName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$firstName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$fatherName</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setGender" title="details" class="method-name">setGender</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setLastName" title="details" class="method-name">setLastName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setName" title="details" class="method-name">setName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$firstname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setSecondName" title="details" class="method-name">setSecondName</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setSirname" title="details" class="method-name">setSirname</a>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#splitFullName" title="details" class="method-name">splitFullName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$fullname</span>)
|
||||
</div>
|
||||
</div>
|
||||
</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-method-summary">Methods</a> (<span class="disabled">details</span>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<A NAME='method_detail'></A>
|
||||
|
||||
<a name="methodgenderAutoDetect" id="genderAutoDetect"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">genderAutoDetect</span> (line <span class="line-number">33</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
genderAutoDetect
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetFatherNameCase" id="getFatherNameCase"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFatherNameCase</span> (line <span class="line-number">41</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
getFatherNameCase
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$number</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetFirstNameCase" id="getFirstNameCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFirstNameCase</span> (line <span class="line-number">37</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
getFirstNameCase
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$number</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetFormatted" id="getFormatted"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFormatted</span> (line <span class="line-number">51</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
getFormatted
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$format</span> = <span class="var-default">"S N F"</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$caseNum</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$format</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetFormattedArray" id="getFormattedArray"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFormattedArray</span> (line <span class="line-number">49</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
getFormattedArray
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$format</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$format</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetSecondNameCase" id="getSecondNameCase"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getSecondNameCase</span> (line <span class="line-number">39</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
getSecondNameCase
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$number</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$number</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodq" id="q"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">q</span> (line <span class="line-number">55</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
q
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$fullname</span>, [<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fullname</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$caseNum</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodqFatherName" id="qFatherName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFatherName</span> (line <span class="line-number">47</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
qFatherName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$fatherName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fatherName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$CaseNumber</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodqFirstName" id="qFirstName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFirstName</span> (line <span class="line-number">43</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
qFirstName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$firstName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$firstName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$CaseNumber</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodqFullName" id="qFullName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFullName</span> (line <span class="line-number">53</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
qFullName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$firstName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$fatherName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$caseNum</span> = <span class="var-default">0</span>], [<span class="var-type"></span> <span class="var-name">$format</span> = <span class="var-default">"S N F"</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$firstName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fatherName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$caseNum</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$format</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodqSecondName" id="qSecondName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qSecondName</span> (line <span class="line-number">45</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
qSecondName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$secondName</span>, [<span class="var-type"></span> <span class="var-name">$CaseNumber</span> = <span class="var-default">null</span>], [<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$CaseNumber</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetFatherName" id="setFatherName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFatherName</span> (line <span class="line-number">21</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setFatherName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$fathername</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fathername</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetFirstName" id="setFirstName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFirstName</span> (line <span class="line-number">17</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setFirstName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$firstname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$firstname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetFullName" id="setFullName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFullName</span> (line <span class="line-number">25</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setFullName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$firstName</span> = <span class="var-default">""</span>], [<span class="var-type"></span> <span class="var-name">$fatherName</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$firstName</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fatherName</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetGender" id="setGender"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setGender</span> (line <span class="line-number">23</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setGender
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$gender</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetLastName" id="setLastName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setLastName</span> (line <span class="line-number">29</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setLastName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetName" id="setName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setName</span> (line <span class="line-number">27</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$firstname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$firstname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetSecondName" id="setSecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setSecondName</span> (line <span class="line-number">19</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setSecondName
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetSirname" id="setSirname"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setSirname</span> (line <span class="line-number">31</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
setSirname
|
||||
</span>
|
||||
([<span class="var-type"></span> <span class="var-name">$secondname</span> = <span class="var-default">""</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$secondname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsplitFullName" id="splitFullName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">splitFullName</span> (line <span class="line-number">35</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<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">
|
||||
splitFullName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$fullname</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$fullname</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:07 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
932
Docs/NameCaseLib/NCLNameCaseRu.html
Normal file
932
Docs/NameCaseLib/NCLNameCaseRu.html
Normal file
@ -0,0 +1,932 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs For Class NCLNameCaseRu</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="class-name">Class NCLNameCaseRu</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-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">
|
||||
<p class="implements">
|
||||
Implements interfaces:
|
||||
<ul>
|
||||
<li><a href="../NameCaseLib/NCLNameCaseInterface.html">NCLNameCaseInterface</a></li> </ul>
|
||||
</p>
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description"><strong>NCL NameCase Russian Language</strong></p>
|
||||
<p class="description"><p>Русские правила склонения ФИО Правила определения пола человека по ФИО для русского языка Система разделения фамилий имен и отчеств для русского языка</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL.NameCase.ru.php.html">/NCL.NameCase.ru.php</a> (line <span class="field">23</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre><a href="../NameCaseLib/NCL.html">NCL</a>
|
||||
|
|
||||
--<a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
|
|
||||
--NCLNameCaseRu</pre>
|
||||
|
||||
</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> |
|
||||
<span class="disabled">Vars</span> (<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">
|
||||
<div class="var-summary">
|
||||
<div class="var-title">
|
||||
<span class="var-type">int</span>
|
||||
<a href="#$CaseCount" title="details" class="var-name">$CaseCount</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-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">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#detectNamePart" title="details" class="method-name">detectNamePart</a>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderByFatherName" title="details" class="method-name">GenderByFatherName</a>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderByFirstName" title="details" class="method-name">GenderByFirstName</a>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderBySecondName" title="details" class="method-name">GenderBySecondName</a>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manFatherName" title="details" class="method-name">manFatherName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manFirstName" title="details" class="method-name">manFirstName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule1" title="details" class="method-name">manRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule2" title="details" class="method-name">manRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule3" title="details" class="method-name">manRule3</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule4" title="details" class="method-name">manRule4</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule5" title="details" class="method-name">manRule5</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule6" title="details" class="method-name">manRule6</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule7" title="details" class="method-name">manRule7</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#manRule8" title="details" class="method-name">manRule8</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manSecondName" title="details" class="method-name">manSecondName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanFatherName" title="details" class="method-name">womanFatherName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanFirstName" title="details" class="method-name">womanFirstName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#womanRule1" title="details" class="method-name">womanRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#womanRule2" title="details" class="method-name">womanRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#womanRule3" title="details" class="method-name">womanRule3</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#womanRule4" title="details" class="method-name">womanRule4</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanSecondName" title="details" class="method-name">womanSecondName</a>
|
||||
()
|
||||
</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-var-summary">Vars</a> (<span class="disabled">details</span>)
|
||||
|
||||
|
||||
|
|
||||
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="var$CaseCount" id="$CaseCount"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$CaseCount</span>
|
||||
= <span class="var-default"> 6</span> (line <span class="line-number">29</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Количество падежей в языке</p>
|
||||
<ul class="tags">
|
||||
<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="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$workingWord">NCLNameCaseCore::$workingWord</a></span><br>
|
||||
</span>
|
||||
</blockquote>
|
||||
<p>Inherited from <span class="classname"><a href="../NameCaseLib/NCL.html">NCL</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$DATELN">NCL::$DATELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$IMENITLN">NCL::$IMENITLN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$MAN">NCL::$MAN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$PREDLOGN">NCL::$PREDLOGN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$RODITLN">NCL::$RODITLN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$TVORITELN">NCL::$TVORITELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaDavalnyi">NCL::$UaDavalnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaKlychnyi">NCL::$UaKlychnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaMiszevyi">NCL::$UaMiszevyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaNazyvnyi">NCL::$UaNazyvnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaOrudnyi">NCL::$UaOrudnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaRodovyi">NCL::$UaRodovyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaZnahidnyi">NCL::$UaZnahidnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$VINITELN">NCL::$VINITELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$WOMAN">NCL::$WOMAN</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-var-summary">Vars</a> (<a href="#sec-vars">details</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="methoddetectNamePart" id="detectNamePart"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">detectNamePart</span> (line <span class="line-number">600</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Идетифицирует слово определяе имя это, или фамилия, или отчество</p>
|
||||
<p class="description"><p><ul><li><strong>N</strong> - имя</li><li><strong>S</strong> - фамилия</li><li><strong>F</strong> - отчество</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-name">
|
||||
detectNamePart
|
||||
</span>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, который необходимо идентифицировать</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodGenderByFatherName" id="GenderByFatherName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFatherName</span> (line <span class="line-number">579</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам отчеств</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-name">
|
||||
GenderByFatherName
|
||||
</span>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodGenderByFirstName" id="GenderByFirstName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFirstName</span> (line <span class="line-number">483</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-name">
|
||||
GenderByFirstName
|
||||
</span>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodGenderBySecondName" id="GenderBySecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderBySecondName</span> (line <span class="line-number">550</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-name">
|
||||
GenderBySecondName
|
||||
</span>
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanFatherName" id="manFatherName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFatherName</span> (line <span class="line-number">448</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция склоняет мужский отчества</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если слово было успешно изменено, false - если не получилось этого сделать</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manFatherName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanFirstName" id="manFirstName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFirstName</span> (line <span class="line-number">412</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для мужских имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manFirstName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule1" id="manRule1"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule1</span> (line <span class="line-number">60</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские имена, оканчивающиеся на любой ь и -й,</p>
|
||||
<p class="description"><p>склоняются так же, как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule1
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule2" id="manRule2"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule2</span> (line <span class="line-number">85</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские имена, оканчивающиеся на любой твердый согласный,</p>
|
||||
<p class="description"><p>склоняются так же, как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule2
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule3" id="manRule3"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule3</span> (line <span class="line-number">118</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся на -а, склоняются, как и любые</p>
|
||||
<p class="description"><p>существительные с таким же окончанием Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка, из которого они происходят, склоняются как существительные с соответствующими окончаниями</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule3
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule4" id="manRule4"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule4</span> (line <span class="line-number">149</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамилии, оканчивающиеся на -ь -й, склоняются так же,</p>
|
||||
<p class="description"><p>как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule4
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule5" id="manRule5"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule5</span> (line <span class="line-number">188</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамилии, оканчивающиеся на -к</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule5
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule6" id="manRule6"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule6</span> (line <span class="line-number">219</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамили на согласный выбираем ем/ом/ым</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule6
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule7" id="manRule7"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule7</span> (line <span class="line-number">246</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамили на -а -я</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule7
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanRule8" id="manRule8"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule8</span> (line <span class="line-number">283</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Не склоняются мужский фамилии</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
manRule8
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanSecondName" id="manSecondName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">430</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для мужских фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manSecondName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanFatherName" id="womanFatherName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">468</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция склоняет женские отчества</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если слово было успешно изменено, false - если не получилось этого сделать</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanFatherName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanFirstName" id="womanFirstName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">421</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для женских имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanFirstName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule1" id="womanRule1"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">299</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся на -а, склоняются,</p>
|
||||
<p class="description"><p>как и любые существительные с таким же окончанием</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
womanRule1
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule2" id="womanRule2"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">334</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,</p>
|
||||
<p class="description"><p>из которого они происходят, склоняются как существительные с соответствующими окончаниями</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
womanRule2
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule3" id="womanRule3"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">359</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Русские женские имена, оканчивающиеся на мягкий согласный, склоняются,</p>
|
||||
<p class="description"><p>как существительные женского рода типа дочь, тень</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
womanRule3
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule4" id="womanRule4"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule4</span> (line <span class="line-number">375</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Женские фамилия, оканчивающиеся на -а -я, склоняются,</p>
|
||||
<p class="description"><p>как и любые существительные с таким же окончанием</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
womanRule4
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanSecondName" id="womanSecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanSecondName</span> (line <span class="line-number">439</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для женских фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanSecondName
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<h4>Inherited Methods</h4>
|
||||
<a name='inherited_methods'><!-- --></a>
|
||||
<!-- =========== Summary =========== -->
|
||||
<p>Inherited From <span class="classname"><a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArrayHard">NCLNameCaseCore::getFormattedArrayHard()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedHard">NCLNameCaseCore::getFormattedHard()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetSecondNameCase">NCLNameCaseCore::getSecondNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFirstName">NCLNameCaseCore::setFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFullName">NCLNameCaseCore::setFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetGender">NCLNameCaseCore::setGender()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetSirName">NCLNameCaseCore::setSirName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -24,23 +24,23 @@
|
||||
<p class="implements">
|
||||
Implements interfaces:
|
||||
<ul>
|
||||
<li><a href="../default/NCLNameCaseInterface.html">NCLNameCaseInterface</a></li> </ul>
|
||||
<li><a href="../NameCaseLib/NCLNameCaseInterface.html">NCLNameCaseInterface</a></li> </ul>
|
||||
</p>
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Класс, который содержит основные константы библиотеки:</p>
|
||||
<p class="description"><p><ul><li>индексы мужского и женского пола</li><li>индексы всех падежей</li></ul></p></p>
|
||||
<p class="short-description"><strong>NCL NameCase Ukranian Language</strong></p>
|
||||
<p class="description"><p>Украинские правила склонений ФИО. Правила определения пола человека по ФИО для украинского языка Система разделения фамилий имен и отчеств для украинского языка</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> seagull</li>
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL.NameCase.ua.php.html">/NCL.NameCase.ua.php</a> (line <span class="field">18</span>)
|
||||
Located in <a class="field" href="_NCL.NameCase.ua.php.html">/NCL.NameCase.ua.php</a> (line <span class="field">23</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre><a href="../default/NCL.html">NCL</a>
|
||||
<pre><a href="../NameCaseLib/NCL.html">NCL</a>
|
||||
|
|
||||
--<a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
--<a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
|
|
||||
--NCLNameCaseUa</pre>
|
||||
|
||||
@ -85,22 +85,22 @@
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#detectNamePart" title="details" class="method-name">detectNamePart</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderByFatherName" title="details" class="method-name">GenderByFatherName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderByFirstName" title="details" class="method-name">GenderByFirstName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#GenderBySecondName" title="details" class="method-name">GenderBySecondName</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
@ -196,13 +196,13 @@
|
||||
<span class="var-title">
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$CaseCount</span>
|
||||
= <span class="var-default"> 7</span> (line <span class="line-number">24</span>)
|
||||
= <span class="var-default"> 7</span> (line <span class="line-number">30</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Количество падежей в языке</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">var:</span> Количество падежей в языке</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -213,79 +213,64 @@
|
||||
</div>
|
||||
<h4>Inherited Variables</h4>
|
||||
<A NAME='inherited_vars'><!-- --></A>
|
||||
<p>Inherited from <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<p>Inherited from <span class="classname"><a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$finished">NCLNameCaseCore::$finished</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$index">NCLNameCaseCore::$index</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastRule">NCLNameCaseCore::$lastRule</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$ready">NCLNameCaseCore::$ready</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$words">NCLNameCaseCore::$words</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$workingWord">NCLNameCaseCore::$workingWord</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCLNameCaseCore.html#var$workingWord">NCLNameCaseCore::$workingWord</a></span><br>
|
||||
</span>
|
||||
</blockquote>
|
||||
<p>Inherited from <span class="classname"><a href="../default/NCL.html">NCL</a></span></p>
|
||||
<p>Inherited from <span class="classname"><a href="../NameCaseLib/NCL.html">NCL</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$DATELN">NCL::$DATELN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$DATELN">NCL::$DATELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$IMENITLN">NCL::$IMENITLN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$IMENITLN">NCL::$IMENITLN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$MAN">NCL::$MAN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$MAN">NCL::$MAN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$PREDLOGN">NCL::$PREDLOGN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$PREDLOGN">NCL::$PREDLOGN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$RODITLN">NCL::$RODITLN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$RODITLN">NCL::$RODITLN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$TVORITELN">NCL::$TVORITELN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$TVORITELN">NCL::$TVORITELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaDavalnyi">NCL::$UaDavalnyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaDavalnyi">NCL::$UaDavalnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaKlychnyi">NCL::$UaKlychnyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaKlychnyi">NCL::$UaKlychnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaMiszevyi">NCL::$UaMiszevyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaMiszevyi">NCL::$UaMiszevyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaNazyvnyi">NCL::$UaNazyvnyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaNazyvnyi">NCL::$UaNazyvnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaOrudnyi">NCL::$UaOrudnyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaOrudnyi">NCL::$UaOrudnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaRodovyi">NCL::$UaRodovyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaRodovyi">NCL::$UaRodovyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$UaZnahidnyi">NCL::$UaZnahidnyi</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$UaZnahidnyi">NCL::$UaZnahidnyi</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$VINITELN">NCL::$VINITELN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$VINITELN">NCL::$VINITELN</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCL.html#var$WOMAN">NCL::$WOMAN</a></span><br>
|
||||
<span class="var-name"><a href="../NameCaseLib/NCL.html#var$WOMAN">NCL::$WOMAN</a></span><br>
|
||||
</span>
|
||||
</blockquote>
|
||||
|
||||
@ -308,7 +293,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">detectNamePart</span> (line <span class="line-number">684</span>)
|
||||
<span class="method-title">detectNamePart</span> (line <span class="line-number">696</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -323,12 +308,12 @@
|
||||
<span class="method-name">
|
||||
detectNamePart
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: об’єкт класу зі словом, яке необхідно ідентифікувати</span> </li>
|
||||
</ul>
|
||||
|
||||
@ -338,7 +323,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFatherName</span> (line <span class="line-number">663</span>)
|
||||
<span class="method-title">GenderByFatherName</span> (line <span class="line-number">675</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -352,12 +337,12 @@
|
||||
<span class="method-name">
|
||||
GenderByFatherName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: об’єкт класу зі словом, для якого необхідно визначити стать</span> </li>
|
||||
</ul>
|
||||
|
||||
@ -367,7 +352,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFirstName</span> (line <span class="line-number">584</span>)
|
||||
<span class="method-title">GenderByFirstName</span> (line <span class="line-number">596</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -381,12 +366,12 @@
|
||||
<span class="method-name">
|
||||
GenderByFirstName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: об’єкт класу зі словом, для якого необхідно визначити стать</span> </li>
|
||||
</ul>
|
||||
|
||||
@ -396,7 +381,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderBySecondName</span> (line <span class="line-number">634</span>)
|
||||
<span class="method-title">GenderBySecondName</span> (line <span class="line-number">646</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -410,12 +395,12 @@
|
||||
<span class="method-name">
|
||||
GenderBySecondName
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$word</span>)
|
||||
(<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-type"><a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span><span class="var-description">: об’єкт класу зі словом, для якого необхідно визначити стать</span> </li>
|
||||
</ul>
|
||||
|
||||
@ -425,7 +410,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFatherName</span> (line <span class="line-number">556</span>)
|
||||
<span class="method-title">manFatherName</span> (line <span class="line-number">568</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -450,7 +435,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFirstName</span> (line <span class="line-number">519</span>)
|
||||
<span class="method-title">manFirstName</span> (line <span class="line-number">531</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -475,7 +460,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule1</span> (line <span class="line-number">187</span>)
|
||||
<span class="method-title">manRule1</span> (line <span class="line-number">199</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -504,7 +489,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule2</span> (line <span class="line-number">224</span>)
|
||||
<span class="method-title">manRule2</span> (line <span class="line-number">236</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -529,7 +514,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule3</span> (line <span class="line-number">254</span>)
|
||||
<span class="method-title">manRule3</span> (line <span class="line-number">266</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -554,7 +539,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule4</span> (line <span class="line-number">365</span>)
|
||||
<span class="method-title">manRule4</span> (line <span class="line-number">377</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -579,7 +564,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule5</span> (line <span class="line-number">380</span>)
|
||||
<span class="method-title">manRule5</span> (line <span class="line-number">392</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -604,7 +589,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">538</span>)
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">550</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -629,7 +614,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">570</span>)
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">582</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -654,7 +639,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">528</span>)
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">540</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -679,7 +664,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">401</span>)
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">413</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -708,7 +693,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">447</span>)
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">459</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -734,7 +719,7 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">491</span>)
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">503</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -759,7 +744,7 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanSecondName</span> (line <span class="line-number">547</span>)
|
||||
<span class="method-title">womanSecondName</span> (line <span class="line-number">559</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
@ -783,48 +768,38 @@
|
||||
<h4>Inherited Methods</h4>
|
||||
<a name='inherited_methods'><!-- --></a>
|
||||
<!-- =========== Summary =========== -->
|
||||
<p>Inherited From <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<p>Inherited From <span class="classname"><a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodAllWordCases">NCLNameCaseCore::AllWordCases()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenerateIndex">NCLNameCaseCore::generateIndex()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormattedArrayHard">NCLNameCaseCore::getFormattedArrayHard()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormattedHard">NCLNameCaseCore::getFormattedHard()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetSecondNameCase">NCLNameCaseCore::getSecondNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodnotReady">NCLNameCaseCore::notReady()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareAllNameParts">NCLNameCaseCore::prepareAllNameParts()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareEverything">NCLNameCaseCore::prepareEverything()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareGender">NCLNameCaseCore::prepareGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareNamePart">NCLNameCaseCore::prepareNamePart()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodreset">NCLNameCaseCore::reset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetFirstName">NCLNameCaseCore::setFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetFullName">NCLNameCaseCore::setFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetGender">NCLNameCaseCore::setGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSirname">NCLNameCaseCore::setSirname()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsolveGender">NCLNameCaseCore::solveGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodWordCase">NCLNameCaseCore::WordCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArrayHard">NCLNameCaseCore::getFormattedArrayHard()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetFormattedHard">NCLNameCaseCore::getFormattedHard()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgetSecondNameCase">NCLNameCaseCore::getSecondNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFirstName">NCLNameCaseCore::setFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetFullName">NCLNameCaseCore::setFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetGender">NCLNameCaseCore::setGender()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetSirName">NCLNameCaseCore::setSirName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
@ -832,7 +807,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:04:56 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:06 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
467
Docs/NameCaseLib/NCLNameCaseWord.html
Normal file
467
Docs/NameCaseLib/NCLNameCaseWord.html
Normal file
@ -0,0 +1,467 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs For Class NCLNameCaseWord</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="class-name">Class NCLNameCaseWord</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-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">NCLNameCaseWord - класс, который служит для хранения всей информации о каждом слове</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCLNameCaseWord.php.html">/NCL/NCLNameCaseWord.php</a> (line <span class="field">14</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre></pre>
|
||||
|
||||
</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> |
|
||||
<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">
|
||||
<span class="method-result">NCLNameCaseWord</span>
|
||||
<a href="#__construct" title="details" class="method-name">__construct</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">int</span>
|
||||
<a href="#gender" title="details" class="method-name">gender</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">array</span>
|
||||
<a href="#getGender" title="details" class="method-name">getGender</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">array</span>
|
||||
<a href="#getNameCases" title="details" class="method-name">getNameCases</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">string</span>
|
||||
<a href="#getNamePart" title="details" class="method-name">getNamePart</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">string</span>
|
||||
<a href="#getWord" title="details" class="method-name">getWord</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#isGenderSolved" title="details" class="method-name">isGenderSolved</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setGender" title="details" class="method-name">setGender</a>
|
||||
(<span class="var-type">int</span> <span class="var-name">$man</span>, <span class="var-type">int</span> <span class="var-name">$woman</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setNameCases" title="details" class="method-name">setNameCases</a>
|
||||
(<span class="var-type">array</span> <span class="var-name">$nameCases</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setNamePart" title="details" class="method-name">setNamePart</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$namePart</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setRule" title="details" class="method-name">setRule</a>
|
||||
(<span class="var-type">int</span> <span class="var-name">$ruleID</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setTrueGender" title="details" class="method-name">setTrueGender</a>
|
||||
(<span class="var-type">int</span> <span class="var-name">$gender</span>)
|
||||
</div>
|
||||
</div>
|
||||
</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-method-summary">Methods</a> (<span class="disabled">details</span>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<A NAME='method_detail'></A>
|
||||
|
||||
<a name="method__construct" id="__construct"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">Constructor __construct</span> (line <span class="line-number">85</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Создание нового обьекта со словом <var>$word</var></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">NCLNameCaseWord</span>
|
||||
<span class="method-name">
|
||||
__construct
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$word</span><span class="var-description">: слово</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgender" id="gender"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">gender</span> (line <span class="line-number">178</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Расчитывает и возвращает пол текущего слова</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> пол текущего слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
gender
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetGender" id="getGender"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getGender</span> (line <span class="line-number">221</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает массив вероятности того, что даное слово является мужчиной или женщиной</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив вероятностей</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
getGender
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetNameCases" id="getNameCases"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getNameCases</span> (line <span class="line-number">169</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает массив со всеми падежами текущего слова</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив со всеми падежами</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
getNameCases
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetNamePart" id="getNamePart"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getNamePart</span> (line <span class="line-number">247</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает тип текущего слова</p>
|
||||
<p class="description"><p><strong>Тип слова:</strong> <ul><li>S - Фамилия</li><li>N - Имя</li><li>F - Отчество</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> тип слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
getNamePart
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgetWord" id="getWord"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getWord</span> (line <span class="line-number">256</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает текущее слово.</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> текущее слово</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
getWord
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodisGenderSolved" id="isGenderSolved"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">isGenderSolved</span> (line <span class="line-number">266</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Если уже был расчитан пол для всех слов системы, тогда каждому слову предается окончательное решение. Эта функция определяет было ли принято окончательное решение.</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> было ли принято окончательное решение по поводу пола текущего слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isGenderSolved
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetGender" id="setGender"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setGender</span> (line <span class="line-number">199</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">
|
||||
setGender
|
||||
</span>
|
||||
(<span class="var-type">int</span> <span class="var-name">$man</span>, <span class="var-type">int</span> <span class="var-name">$woman</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$man</span><span class="var-description">: вероятность того, что слово мужчина</span> </li>
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$woman</span><span class="var-description">: верятность того, что слово женщина</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetNameCases" id="setNameCases"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setNameCases</span> (line <span class="line-number">159</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">
|
||||
setNameCases
|
||||
</span>
|
||||
(<span class="var-type">array</span> <span class="var-name">$nameCases</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">array</span>
|
||||
<span class="var-name">$nameCases</span><span class="var-description">: массив со всеми падежами</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetNamePart" id="setNamePart"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setNamePart</span> (line <span class="line-number">234</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Устанавливает тип текущего слова</p>
|
||||
<p class="description"><p><strong>Тип слова:</strong> <ul><li>S - Фамилия</li><li>N - Имя</li><li>F - Отчество</li></ul></p></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">
|
||||
setNamePart
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$namePart</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$namePart</span><span class="var-description">: тип слова</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetRule" id="setRule"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setRule</span> (line <span class="line-number">275</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">
|
||||
setRule
|
||||
</span>
|
||||
(<span class="var-type">int</span> <span class="var-name">$ruleID</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$ruleID</span><span class="var-description">: номер правила</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetTrueGender" id="setTrueGender"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setTrueGender</span> (line <span class="line-number">212</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Окончательно устанавливает пол человека</p>
|
||||
<p class="description"><p><ul><li>0 - не определено</li><li>NCL::$MAN - мужчина</li><li>NCL::$WOMAN - женщина</li></ul></p></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">
|
||||
setTrueGender
|
||||
</span>
|
||||
(<span class="var-type">int</span> <span class="var-name">$gender</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$gender</span><span class="var-description">: пол человека</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:08 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
542
Docs/NameCaseLib/NCLStr.html
Normal file
542
Docs/NameCaseLib/NCLStr.html
Normal file
@ -0,0 +1,542 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs For Class NCLStr</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="class-name">Class NCLStr</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-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">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCLStr.php.html">/NCL/NCLStr.php</a> (line <span class="field">14</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre></pre>
|
||||
|
||||
</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> |
|
||||
<span class="disabled">Vars</span> (<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">
|
||||
<div class="var-summary">
|
||||
<div class="var-title">
|
||||
static <span class="var-type">string</span>
|
||||
<a href="#$charset" title="details" class="var-name">$charset</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-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">
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#connectLetters" title="details" class="method-name">connectLetters</a>
|
||||
(<span class="var-type">array</span> <span class="var-name">$lettersArr</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">array</span>
|
||||
<a href="#explode" title="details" class="method-name">explode</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$pattern</span>, <span class="var-type">string</span> <span class="var-name">$string</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">bool</span>
|
||||
<a href="#isLowerCase" title="details" class="method-name">isLowerCase</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">bool</span>
|
||||
<a href="#isUpperCase" title="details" class="method-name">isUpperCase</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">array</span>
|
||||
<a href="#splitLetters" title="details" class="method-name">splitLetters</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strlen" title="details" class="method-name">strlen</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strpos" title="details" class="method-name">strpos</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strrpos" title="details" class="method-name">strrpos</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#strtolower" title="details" class="method-name">strtolower</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#strtoupper" title="details" class="method-name">strtoupper</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#substr" title="details" class="method-name">substr</a>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>, <span class="var-type">int</span> <span class="var-name">$start</span>, [<span class="var-type">int</span> <span class="var-name">$length</span> = <span class="var-default">null</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-var-summary">Vars</a> (<span class="disabled">details</span>)
|
||||
|
||||
|
||||
|
|
||||
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
||||
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="var$charset" id="$charset"><!-- --></A>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">string</span>
|
||||
<span class="var-name">$charset</span>
|
||||
= <span class="var-default"> 'utf-8'</span> (line <span class="line-number">20</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Кодировка, в котороя работает система</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</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-var-summary">Vars</a> (<a href="#sec-vars">details</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="methodconnectLetters" id="connectLetters"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method connectLetters</span> (line <span class="line-number">129</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Соединяет массив букв в строку</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
connectLetters
|
||||
</span>
|
||||
(<span class="var-type">array</span> <span class="var-name">$lettersArr</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">array</span>
|
||||
<span class="var-name">$lettersArr</span><span class="var-description">: массив букв</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodexplode" id="explode"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method explode</span> (line <span class="line-number">140</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Разбивает строку на части использую шаблон</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> разбитый массив</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
explode
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$pattern</span>, <span class="var-type">string</span> <span class="var-name">$string</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$pattern</span><span class="var-description">: шаблон разбития</span> </li>
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$string</span><span class="var-description">: строка, которую нужно разбить</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodisLowerCase" id="isLowerCase"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method isLowerCase</span> (line <span class="line-number">93</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Проверяет в нижнем ли регистре находится строка</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> в нижнем ли регистре строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isLowerCase
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodisUpperCase" id="isUpperCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method isUpperCase</span> (line <span class="line-number">103</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Проверяет в верхнем ли регистре находится строка</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> в верхнем ли регистре строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isUpperCase
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsplitLetters" id="splitLetters"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method splitLetters</span> (line <span class="line-number">113</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Превращает строку в массив букв</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив букв</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
splitLetters
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrlen" id="strlen"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strlen</span> (line <span class="line-number">51</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение длины строки</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> длина строки</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strlen
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrpos" id="strpos"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strpos</span> (line <span class="line-number">41</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Поиск подстроки в строке</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> позиция подстроки в строке</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strpos
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$haystack</span><span class="var-description">: строка, в которой искать</span> </li>
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$needle</span><span class="var-description">: подстрока, которую нужно найти</span> </li>
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$offset</span><span class="var-description">: начало поиска</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrrpos" id="strrpos"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strrpos</span> (line <span class="line-number">83</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Поиск подстроки в строке справа</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> позиция подстроки в строке</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strrpos
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$haystack</span><span class="var-description">: строка, в которой искать</span> </li>
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$needle</span><span class="var-description">: подстрока, которую нужно найти</span> </li>
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$offset</span><span class="var-description">: начало поиска</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrtolower" id="strtolower"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strtolower</span> (line <span class="line-number">61</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Переводит строку в нижний регистр</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка в нижнем регистре</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
strtolower
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrtoupper" id="strtoupper"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strtoupper</span> (line <span class="line-number">71</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Переводит строку в верхний регистр</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка в верхнем регистре</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
strtoupper
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsubstr" id="substr"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method substr</span> (line <span class="line-number">29</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Получить подстроку из строки</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> подстрока</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
substr
|
||||
</span>
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>, <span class="var-type">int</span> <span class="var-name">$start</span>, [<span class="var-type">int</span> <span class="var-name">$length</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$start</span><span class="var-description">: начало подстроки</span> </li>
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$length</span><span class="var-description">: длина подстроки</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:08 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
63
Docs/NameCaseLib/_NCL---NCL.php.html
Normal file
63
Docs/NameCaseLib/_NCL---NCL.php.html
Normal file
@ -0,0 +1,63 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCL.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL/NCL.php</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-classes">Classes</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
</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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCL.html">NCL</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки: <ul><li>индексы мужского и женского пола</li><li>индексы всех падежей</li></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:07 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
161
Docs/NameCaseLib/_NCL---NCLNameCaseCore.php.html
Normal file
161
Docs/NameCaseLib/_NCL---NCLNameCaseCore.php.html
Normal file
@ -0,0 +1,161 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCLNameCaseCore.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL/NCLNameCaseCore.php</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-classes">Classes</a>
|
||||
| <a href="#sec-includes">Includes</a>
|
||||
| <a href="#sec-constants">Constants</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
| <a href="#sec-includes">Includes</a>
|
||||
| <a href="#sec-constants">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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
</td>
|
||||
<td>
|
||||
<strong>NCL NameCase Core</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-includes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Includes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<a href="#sec-classes">Classes</a>
|
||||
| <span class="disabled">Includes</span>
|
||||
| <a href="#sec-constants">Constants</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="_NCL_DIR_/NCL_php"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">NCL_DIR.'/NCL.php'</span>)
|
||||
(line <span class="line-number">15</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLStr_php"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">NCL_DIR.'/NCLStr.php'</span>)
|
||||
(line <span class="line-number">16</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLNameCaseInterface_php"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">NCL_DIR.'/NCLNameCaseInterface.php'</span>)
|
||||
(line <span class="line-number">17</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLNameCaseWord_php"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">NCL_DIR.'/NCLNameCaseWord.php'</span>)
|
||||
(line <span class="line-number">18</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-constants"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Constants</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<a href="#sec-classes">Classes</a>
|
||||
| <a href="#sec-includes">Includes</a>
|
||||
| <span class="disabled">Constants</span>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="defineNCL_DIR"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="const-title">
|
||||
<span class="const-name">NCL_DIR</span> = dirname(__FILE__)
|
||||
(line <span class="line-number">12</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:07 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
63
Docs/NameCaseLib/_NCL---NCLNameCaseInterface.php.html
Normal file
63
Docs/NameCaseLib/_NCL---NCLNameCaseInterface.php.html
Normal file
@ -0,0 +1,63 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCLNameCaseInterface.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL/NCLNameCaseInterface.php</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-classes">Classes</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
</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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCLNameCaseInterface.html">NCLNameCaseInterface</a>
|
||||
</td>
|
||||
<td>
|
||||
Интерфейс для русского и украинского языка
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:07 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
63
Docs/NameCaseLib/_NCL---NCLNameCaseWord.php.html
Normal file
63
Docs/NameCaseLib/_NCL---NCLNameCaseWord.php.html
Normal file
@ -0,0 +1,63 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCLNameCaseWord.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL/NCLNameCaseWord.php</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-classes">Classes</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
</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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a>
|
||||
</td>
|
||||
<td>
|
||||
NCLNameCaseWord - класс, который служит для хранения всей информации о каждом слове
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:08 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
63
Docs/NameCaseLib/_NCL---NCLStr.php.html
Normal file
63
Docs/NameCaseLib/_NCL---NCLStr.php.html
Normal file
@ -0,0 +1,63 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCLStr.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL/NCLStr.php</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-classes">Classes</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
</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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCLStr.html">NCLStr</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:08 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
90
Docs/NameCaseLib/_NCL.NameCase.ru.php.html
Normal file
90
Docs/NameCaseLib/_NCL.NameCase.ru.php.html
Normal file
@ -0,0 +1,90 @@
|
||||
<?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>
|
||||
<!-- template designed by Marco Von Ballmoos -->
|
||||
<title>Docs for page NCL.NameCase.ru.php</title>
|
||||
<link rel="stylesheet" href="../media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-body">
|
||||
<h2 class="file-name">/NCL.NameCase.ru.php</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-classes">Classes</a>
|
||||
| <a href="#sec-includes">Includes</a>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-classes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Classes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<span class="disabled">Classes</span>
|
||||
| <a href="#sec-includes">Includes</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; vertical-align: top">
|
||||
<a href="../NameCaseLib/NCLNameCaseRu.html">NCLNameCaseRu</a>
|
||||
</td>
|
||||
<td>
|
||||
<strong>NCL NameCase Russian Language</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a name="sec-includes"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Includes</div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<a href="#sec-classes">Classes</a>
|
||||
| <span class="disabled">Includes</span>
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="_dirname(__FILE__)_/NCL/NCLNameCaseCore_php"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">dirname(__FILE__).'/NCL/NCLNameCaseCore.php'</span>)
|
||||
(line <span class="line-number">10</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -21,11 +21,7 @@
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description"><strong>NCL NameCase Ukranian Language</strong></p>
|
||||
<p class="description"><p>Украинские правила склонений ФИО. Правила определения пола человека по ФИО для украинского языка Система разделения фамилий имен и отчеств для украинского языка</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> Андрей Чайка http://seagull.net.ua/ bymer3@gmail.com</li>
|
||||
<li><span class="field">version:</span> 0.4 05.07.2011</li>
|
||||
<li><span class="field">license:</span> Dual</li>
|
||||
</ul>
|
||||
|
||||
@ -51,7 +47,7 @@
|
||||
<a href="../NameCaseLib/NCLNameCaseUa.html">NCLNameCaseUa</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
<strong>NCL NameCase Ukranian Language</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -74,7 +70,7 @@
|
||||
<span class="include-title">
|
||||
<span class="include-type">require_once</span>
|
||||
(<span class="include-name">dirname(__FILE__).'/NCL/NCLNameCaseCore.php'</span>)
|
||||
(line <span class="line-number">16</span>)
|
||||
(line <span class="line-number">10</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@ -88,7 +84,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:04:56 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:06 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -6,7 +6,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div align="center"><h1>Generated Documentation</h1></div>
|
||||
<b>Welcome to default!</b><br />
|
||||
<b>Welcome to NameCaseLib!</b><br />
|
||||
<br />
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
</body>
|
||||
|
@ -13,12 +13,28 @@
|
||||
<H2>
|
||||
|
||||
</H2>
|
||||
<h2>Root class NCLNameCaseUa</h2>
|
||||
<h2>Root interface NCLNameCaseInterface</h2>
|
||||
<ul>
|
||||
<li><a href="default/NCLNameCaseCore.html">NCLNameCaseCore</a> <b>(Different package)</b><ul><li><a href="NameCaseLib/NCLNameCaseUa.html">NCLNameCaseUa</a></li></ul></li></ul>
|
||||
<li><a href="NameCaseLib/NCLNameCaseInterface.html">NCLNameCaseInterface</a></li></ul>
|
||||
|
||||
<h2>Root class NCL</h2>
|
||||
<ul>
|
||||
<li><a href="NameCaseLib/NCL.html">NCL</a><ul>
|
||||
<li><a href="NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a><ul>
|
||||
<li><a href="NameCaseLib/NCLNameCaseRu.html">NCLNameCaseRu</a></li><li><a href="NameCaseLib/NCLNameCaseUa.html">NCLNameCaseUa</a></li></ul></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<h2>Root class NCLNameCaseWord</h2>
|
||||
<ul>
|
||||
<li><a href="NameCaseLib/NCLNameCaseWord.html">NCLNameCaseWord</a></li></ul>
|
||||
|
||||
<h2>Root class NCLStr</h2>
|
||||
<ul>
|
||||
<li><a href="NameCaseLib/NCLStr.html">NCLStr</a></li></ul>
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:04:55 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -34,7 +34,7 @@
|
||||
<li><a href="default/NCLStr.html">NCLStr</a></li></ul>
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:15 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -440,7 +440,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
@ -164,7 +164,7 @@
|
||||
<A NAME='method_detail'></A>
|
||||
|
||||
<a name="methodgenderAutoDetect" id="genderAutoDetect"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">genderAutoDetect</span> (line <span class="line-number">26</span>)
|
||||
@ -187,7 +187,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetFatherNameCase" id="getFatherNameCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFatherNameCase</span> (line <span class="line-number">34</span>)
|
||||
@ -215,7 +215,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetFirstNameCase" id="getFirstNameCase"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFirstNameCase</span> (line <span class="line-number">30</span>)
|
||||
@ -243,7 +243,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetFormatted" id="getFormatted"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFormatted</span> (line <span class="line-number">44</span>)
|
||||
@ -274,7 +274,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetFormattedArray" id="getFormattedArray"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFormattedArray</span> (line <span class="line-number">42</span>)
|
||||
@ -302,7 +302,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetSecondNameCase" id="getSecondNameCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getSecondNameCase</span> (line <span class="line-number">32</span>)
|
||||
@ -330,7 +330,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodq" id="q"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">q</span> (line <span class="line-number">48</span>)
|
||||
@ -364,7 +364,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodqFatherName" id="qFatherName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFatherName</span> (line <span class="line-number">40</span>)
|
||||
@ -398,7 +398,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodqFirstName" id="qFirstName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFirstName</span> (line <span class="line-number">36</span>)
|
||||
@ -432,7 +432,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodqFullName" id="qFullName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qFullName</span> (line <span class="line-number">46</span>)
|
||||
@ -475,7 +475,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodqSecondName" id="qSecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">qSecondName</span> (line <span class="line-number">38</span>)
|
||||
@ -509,7 +509,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetFatherName" id="setFatherName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFatherName</span> (line <span class="line-number">14</span>)
|
||||
@ -537,7 +537,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetFirstName" id="setFirstName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFirstName</span> (line <span class="line-number">10</span>)
|
||||
@ -565,7 +565,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetFullName" id="setFullName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setFullName</span> (line <span class="line-number">18</span>)
|
||||
@ -599,7 +599,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetGender" id="setGender"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setGender</span> (line <span class="line-number">16</span>)
|
||||
@ -627,7 +627,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetLastName" id="setLastName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setLastName</span> (line <span class="line-number">22</span>)
|
||||
@ -655,7 +655,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetName" id="setName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setName</span> (line <span class="line-number">20</span>)
|
||||
@ -683,7 +683,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetSecondName" id="setSecondName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setSecondName</span> (line <span class="line-number">12</span>)
|
||||
@ -711,7 +711,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetSirname" id="setSirname"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setSirname</span> (line <span class="line-number">24</span>)
|
||||
@ -739,7 +739,7 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsplitFullName" id="splitFullName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">splitFullName</span> (line <span class="line-number">28</span>)
|
||||
@ -772,7 +772,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -62,7 +62,7 @@
|
||||
<div class="info-box-body">
|
||||
<div class="var-summary">
|
||||
<div class="var-title">
|
||||
<span class="var-type">mixed</span>
|
||||
<span class="var-type">int</span>
|
||||
<a href="#$CaseCount" title="details" class="var-name">$CaseCount</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -103,12 +103,12 @@
|
||||
(<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manFatherName" title="details" class="method-name">manFatherName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manFirstName" title="details" class="method-name">manFirstName</a>
|
||||
()
|
||||
</div>
|
||||
@ -153,17 +153,17 @@
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manSecondName" title="details" class="method-name">manSecondName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanFatherName" title="details" class="method-name">womanFatherName</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanFirstName" title="details" class="method-name">womanFirstName</a>
|
||||
()
|
||||
</div>
|
||||
@ -188,7 +188,7 @@
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanSecondName" title="details" class="method-name">womanSecondName</a>
|
||||
()
|
||||
</div>
|
||||
@ -214,13 +214,14 @@
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
<span class="var-type">mixed</span>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$CaseCount</span>
|
||||
= <span class="var-default"> 6</span> (line <span class="line-number">22</span>)
|
||||
= <span class="var-default"> 6</span> (line <span class="line-number">21</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Количество падежей в языке</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
@ -235,22 +236,7 @@
|
||||
<p>Inherited from <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$finished">NCLNameCaseCore::$finished</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$index">NCLNameCaseCore::$index</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastRule">NCLNameCaseCore::$lastRule</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$ready">NCLNameCaseCore::$ready</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$words">NCLNameCaseCore::$words</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a></span><br>
|
||||
@ -327,10 +313,12 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">detectNamePart</span> (line <span class="line-number">595</span>)
|
||||
<span class="method-title">detectNamePart</span> (line <span class="line-number">592</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Идетифицирует слово определяе имя это, или фамилия, или отчество</p>
|
||||
<p class="description"><p><ul><li><strong>N</strong> - имя</li><li><strong>S</strong> - фамилия</li><li><strong>F</strong> - отчество</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
@ -346,7 +334,7 @@
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span> </li>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, который необходимо идентифицировать</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -355,10 +343,11 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFatherName</span> (line <span class="line-number">574</span>)
|
||||
<span class="method-title">GenderByFatherName</span> (line <span class="line-number">571</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам отчеств</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
@ -374,7 +363,7 @@
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span> </li>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -383,10 +372,11 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderByFirstName</span> (line <span class="line-number">486</span>)
|
||||
<span class="method-title">GenderByFirstName</span> (line <span class="line-number">475</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
@ -402,7 +392,7 @@
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span> </li>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -411,10 +401,11 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">GenderBySecondName</span> (line <span class="line-number">549</span>)
|
||||
<span class="method-title">GenderBySecondName</span> (line <span class="line-number">542</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение пола по правилам фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
@ -430,7 +421,7 @@
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"><a href="../default/NCLNameCaseWord.html">NCLNameCaseWord</a></span>
|
||||
<span class="var-name">$word</span> </li>
|
||||
<span class="var-name">$word</span><span class="var-description">: обьект класса слов, для которого нужно определить пол</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -439,16 +430,18 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFatherName</span> (line <span class="line-number">453</span>)
|
||||
<span class="method-title">manFatherName</span> (line <span class="line-number">440</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция склоняет мужский отчества</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если слово было успешно изменено, false - если не получилось этого сделать</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manFatherName
|
||||
</span>
|
||||
@ -462,16 +455,18 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manFirstName</span> (line <span class="line-number">409</span>)
|
||||
<span class="method-title">manFirstName</span> (line <span class="line-number">404</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для мужских имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manFirstName
|
||||
</span>
|
||||
@ -485,13 +480,14 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule1</span> (line <span class="line-number">54</span>)
|
||||
<span class="method-title">manRule1</span> (line <span class="line-number">52</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские имена, оканчивающиеся на любой ь и -й,</p>
|
||||
<p class="description"><p>склоняются так же, как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -510,13 +506,14 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule2</span> (line <span class="line-number">79</span>)
|
||||
<span class="method-title">manRule2</span> (line <span class="line-number">77</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские имена, оканчивающиеся на любой твердый согласный,</p>
|
||||
<p class="description"><p>склоняются так же, как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -535,13 +532,14 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule3</span> (line <span class="line-number">112</span>)
|
||||
<span class="method-title">manRule3</span> (line <span class="line-number">110</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся на -а, склоняются, как и любые</p>
|
||||
<p class="description"><p>существительные с таким же окончанием Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка, из которого они происходят, склоняются как существительные с соответствующими окончаниями</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -560,13 +558,14 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule4</span> (line <span class="line-number">143</span>)
|
||||
<span class="method-title">manRule4</span> (line <span class="line-number">141</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамилии, оканчивающиеся на -ь -й, склоняются так же,</p>
|
||||
<p class="description"><p>как обычные существительные мужского рода</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -585,12 +584,13 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule5</span> (line <span class="line-number">182</span>)
|
||||
<span class="method-title">manRule5</span> (line <span class="line-number">180</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамилии, оканчивающиеся на -к</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -609,12 +609,13 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule6</span> (line <span class="line-number">213</span>)
|
||||
<span class="method-title">manRule6</span> (line <span class="line-number">211</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамили на согласный выбираем ем/ом/ым</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -633,12 +634,13 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule7</span> (line <span class="line-number">240</span>)
|
||||
<span class="method-title">manRule7</span> (line <span class="line-number">238</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские фамили на -а -я</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -657,12 +659,13 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manRule8</span> (line <span class="line-number">277</span>)
|
||||
<span class="method-title">manRule8</span> (line <span class="line-number">275</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Не склоняются мужский фамилии</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -681,16 +684,18 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">431</span>)
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">422</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для мужских фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
manSecondName
|
||||
</span>
|
||||
@ -704,16 +709,18 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">475</span>)
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">460</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция склоняет женские отчества</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если слово было успешно изменено, false - если не получилось этого сделать</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanFatherName
|
||||
</span>
|
||||
@ -727,16 +734,18 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">420</span>)
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">413</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для женских имен</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanFirstName
|
||||
</span>
|
||||
@ -750,13 +759,14 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">293</span>)
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">291</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся на -а, склоняются,</p>
|
||||
<p class="description"><p>как и любые существительные с таким же окончанием</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -775,13 +785,14 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">328</span>)
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">326</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,</p>
|
||||
<p class="description"><p>из которого они происходят, склоняются как существительные с соответствующими окончаниями</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -800,13 +811,14 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">353</span>)
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">351</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Русские женские имена, оканчивающиеся на мягкий согласный, склоняются,</p>
|
||||
<p class="description"><p>как существительные женского рода типа дочь, тень</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -825,13 +837,14 @@
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule4</span> (line <span class="line-number">369</span>)
|
||||
<span class="method-title">womanRule4</span> (line <span class="line-number">367</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Женские фамилия, оканчивающиеся на -а -я, склоняются,</p>
|
||||
<p class="description"><p>как и любые существительные с таким же окончанием</p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true если правило было задействовано и false если нет.</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
@ -850,16 +863,18 @@
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanSecondName</span> (line <span class="line-number">442</span>)
|
||||
<span class="method-title">womanSecondName</span> (line <span class="line-number">431</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Функция пытается применить цыпочку правил для женских фамилий</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> true - если было использовано правило из списка, false - если правило не было найденым</li>
|
||||
<li><span class="field">access:</span> protected</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">boolean</span>
|
||||
<span class="method-name">
|
||||
womanSecondName
|
||||
</span>
|
||||
@ -874,10 +889,8 @@
|
||||
<!-- =========== Summary =========== -->
|
||||
<p>Inherited From <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodAllWordCases">NCLNameCaseCore::AllWordCases()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenerateIndex">NCLNameCaseCore::generateIndex()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a></span><br>
|
||||
@ -888,17 +901,11 @@
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodnotReady">NCLNameCaseCore::notReady()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareAllNameParts">NCLNameCaseCore::prepareAllNameParts()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareEverything">NCLNameCaseCore::prepareEverything()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareGender">NCLNameCaseCore::prepareGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareNamePart">NCLNameCaseCore::prepareNamePart()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodreset">NCLNameCaseCore::reset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a></span><br>
|
||||
@ -908,11 +915,9 @@
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSirname">NCLNameCaseCore::setSirname()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSirName">NCLNameCaseCore::setSirName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsolveGender">NCLNameCaseCore::solveGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodWordCase">NCLNameCaseCore::WordCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
@ -921,7 +926,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:15 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -216,22 +216,7 @@
|
||||
<p>Inherited from <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$finished">NCLNameCaseCore::$finished</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$index">NCLNameCaseCore::$index</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$lastRule">NCLNameCaseCore::$lastRule</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$ready">NCLNameCaseCore::$ready</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$words">NCLNameCaseCore::$words</a></span><br>
|
||||
</span>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a></span><br>
|
||||
@ -785,10 +770,8 @@
|
||||
<!-- =========== Summary =========== -->
|
||||
<p>Inherited From <span class="classname"><a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodAllWordCases">NCLNameCaseCore::AllWordCases()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgenerateIndex">NCLNameCaseCore::generateIndex()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a></span><br>
|
||||
@ -799,17 +782,11 @@
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodnotReady">NCLNameCaseCore::notReady()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareAllNameParts">NCLNameCaseCore::prepareAllNameParts()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareEverything">NCLNameCaseCore::prepareEverything()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareGender">NCLNameCaseCore::prepareGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodprepareNamePart">NCLNameCaseCore::prepareNamePart()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodreset">NCLNameCaseCore::reset()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a></span><br>
|
||||
@ -819,11 +796,9 @@
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSirname">NCLNameCaseCore::setSirname()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetSirName">NCLNameCaseCore::setSirName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsolveGender">NCLNameCaseCore::solveGender()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodWordCase">NCLNameCaseCore::WordCase()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
@ -832,7 +807,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:04 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:16 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -55,59 +55,59 @@
|
||||
(<span class="var-type">string</span> <span class="var-name">$word</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">int</span>
|
||||
<a href="#gender" title="details" class="method-name">gender</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<a href="#getGender" title="details" class="method-name">getGender</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<a href="#getNameCases" title="details" class="method-name">getNameCases</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<a href="#getNamePart" title="details" class="method-name">getNamePart</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<a href="#getWord" title="details" class="method-name">getWord</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">bool</span>
|
||||
<a href="#isGenderSolved" title="details" class="method-name">isGenderSolved</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setGender" title="details" class="method-name">setGender</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$man</span>, <span class="var-type"></span> <span class="var-name">$woman</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$man</span>, <span class="var-type">int</span> <span class="var-name">$woman</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setNameCases" title="details" class="method-name">setNameCases</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$nameCases</span>)
|
||||
(<span class="var-type">array</span> <span class="var-name">$nameCases</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setNamePart" title="details" class="method-name">setNamePart</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$namePart</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$namePart</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setRule" title="details" class="method-name">setRule</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$ruleID</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$ruleID</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">void</span>
|
||||
<a href="#setTrueGender" title="details" class="method-name">setTrueGender</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$gender</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$gender</span>)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -126,14 +126,14 @@
|
||||
<A NAME='method_detail'></A>
|
||||
|
||||
<a name="method__construct" id="__construct"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">Constructor __construct</span> (line <span class="line-number">79</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Создать запись из слова</p>
|
||||
<p class="short-description">Создание нового обьекта со словом <var>$word</var></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -149,25 +149,27 @@
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$word</span> </li>
|
||||
<span class="var-name">$word</span><span class="var-description">: слово</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodgender" id="gender"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">gender</span> (line <span class="line-number">149</span>)
|
||||
<span class="method-title">gender</span> (line <span class="line-number">172</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Расчитывает и возвращает пол текущего слова</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> пол текущего слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
gender
|
||||
</span>
|
||||
@ -178,19 +180,21 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetGender" id="getGender"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getGender</span> (line <span class="line-number">176</span>)
|
||||
<span class="method-title">getGender</span> (line <span class="line-number">215</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает массив вероятности того, что даное слово является мужчиной или женщиной</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив вероятностей</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
getGender
|
||||
</span>
|
||||
@ -201,19 +205,21 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetNameCases" id="getNameCases"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getNameCases</span> (line <span class="line-number">144</span>)
|
||||
<span class="method-title">getNameCases</span> (line <span class="line-number">163</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает массив со всеми падежами текущего слова</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив со всеми падежами</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
getNameCases
|
||||
</span>
|
||||
@ -224,19 +230,22 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetNamePart" id="getNamePart"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getNamePart</span> (line <span class="line-number">186</span>)
|
||||
<span class="method-title">getNamePart</span> (line <span class="line-number">241</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает тип текущего слова</p>
|
||||
<p class="description"><p><strong>Тип слова:</strong> <ul><li>S - Фамилия</li><li>N - Имя</li><li>F - Отчество</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> тип слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
getNamePart
|
||||
</span>
|
||||
@ -247,19 +256,21 @@
|
||||
|
||||
</div>
|
||||
<a name="methodgetWord" id="getWord"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getWord</span> (line <span class="line-number">191</span>)
|
||||
<span class="method-title">getWord</span> (line <span class="line-number">250</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Возвращает текущее слово.</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> текущее слово</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
getWord
|
||||
</span>
|
||||
@ -270,19 +281,21 @@
|
||||
|
||||
</div>
|
||||
<a name="methodisGenderSolved" id="isGenderSolved"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">isGenderSolved</span> (line <span class="line-number">196</span>)
|
||||
<span class="method-title">isGenderSolved</span> (line <span class="line-number">260</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Если уже был расчитан пол для всех слов системы, тогда каждому слову предается окончательное решение. Эта функция определяет было ли принято окончательное решение.</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> было ли принято окончательное решение по поводу пола текущего слова</li>
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isGenderSolved
|
||||
</span>
|
||||
@ -293,13 +306,14 @@
|
||||
|
||||
</div>
|
||||
<a name="methodsetGender" id="setGender"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setGender</span> (line <span class="line-number">165</span>)
|
||||
<span class="method-title">setGender</span> (line <span class="line-number">193</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Устанавливает вероятности того, что даное слово является мужчиной или женщиной</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -309,28 +323,29 @@
|
||||
<span class="method-name">
|
||||
setGender
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$man</span>, <span class="var-type"></span> <span class="var-name">$woman</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$man</span>, <span class="var-type">int</span> <span class="var-name">$woman</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$man</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$man</span><span class="var-description">: вероятность того, что слово мужчина</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$woman</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$woman</span><span class="var-description">: верятность того, что слово женщина</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetNameCases" id="setNameCases"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setNameCases</span> (line <span class="line-number">138</span>)
|
||||
<span class="method-title">setNameCases</span> (line <span class="line-number">153</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Сохраняет результат склонения текущего слова</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -340,25 +355,27 @@
|
||||
<span class="method-name">
|
||||
setNameCases
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$nameCases</span>)
|
||||
(<span class="var-type">array</span> <span class="var-name">$nameCases</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$nameCases</span> </li>
|
||||
<span class="var-type">array</span>
|
||||
<span class="var-name">$nameCases</span><span class="var-description">: массив со всеми падежами</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetNamePart" id="setNamePart"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setNamePart</span> (line <span class="line-number">181</span>)
|
||||
<span class="method-title">setNamePart</span> (line <span class="line-number">228</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Устанавливает тип текущего слова</p>
|
||||
<p class="description"><p><strong>Тип слова:</strong> <ul><li>S - Фамилия</li><li>N - Имя</li><li>F - Отчество</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -368,25 +385,26 @@
|
||||
<span class="method-name">
|
||||
setNamePart
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$namePart</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$namePart</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$namePart</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$namePart</span><span class="var-description">: тип слова</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetRule" id="setRule"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setRule</span> (line <span class="line-number">201</span>)
|
||||
<span class="method-title">setRule</span> (line <span class="line-number">269</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Устанавливает номер правила по которому склонялось текущее слово.</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -396,25 +414,27 @@
|
||||
<span class="method-name">
|
||||
setRule
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$ruleID</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$ruleID</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$ruleID</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$ruleID</span><span class="var-description">: номер правила</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsetTrueGender" id="setTrueGender"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">setTrueGender</span> (line <span class="line-number">171</span>)
|
||||
<span class="method-title">setTrueGender</span> (line <span class="line-number">206</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Окончательно устанавливает пол человека</p>
|
||||
<p class="description"><p><ul><li>0 - не определено</li><li>NCL::$MAN - мужчина</li><li>NCL::$WOMAN - женщина</li></ul></p></p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">access:</span> public</li>
|
||||
</ul>
|
||||
@ -424,13 +444,13 @@
|
||||
<span class="method-name">
|
||||
setTrueGender
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$gender</span>)
|
||||
(<span class="var-type">int</span> <span class="var-name">$gender</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$gender</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$gender</span><span class="var-description">: пол человека</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -441,7 +461,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -22,12 +22,13 @@
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Description of NCLStr</p>
|
||||
<p class="short-description">Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> seagull</li>
|
||||
<li><span class="field">author:</span> Андрей Чайка <<a href="mailto:bymer3@gmail.com">bymer3@gmail.com</a>></li>
|
||||
<li><span class="field">version:</span> 0.4</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCLStr.php.html">/NCL/NCLStr.php</a> (line <span class="field">13</span>)
|
||||
Located in <a class="field" href="_NCL---NCLStr.php.html">/NCL/NCLStr.php</a> (line <span class="field">8</span>)
|
||||
</p>
|
||||
|
||||
|
||||
@ -51,7 +52,7 @@
|
||||
<div class="info-box-body">
|
||||
<div class="var-summary">
|
||||
<div class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
static <span class="var-type">string</span>
|
||||
<a href="#$charset" title="details" class="var-name">$charset</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -71,59 +72,59 @@
|
||||
<div class="info-box-body">
|
||||
<div class="method-summary">
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#connectLetters" title="details" class="method-name">connectLetters</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$lettersArr</span>)
|
||||
(<span class="var-type">array</span> <span class="var-name">$lettersArr</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">array</span>
|
||||
<a href="#explode" title="details" class="method-name">explode</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$pattern</span>, <span class="var-type"></span> <span class="var-name">$string</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$pattern</span>, <span class="var-type">string</span> <span class="var-name">$string</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">bool</span>
|
||||
<a href="#isLowerCase" title="details" class="method-name">isLowerCase</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">bool</span>
|
||||
<a href="#isUpperCase" title="details" class="method-name">isUpperCase</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">array</span>
|
||||
<a href="#splitLetters" title="details" class="method-name">splitLetters</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strlen" title="details" class="method-name">strlen</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strpos" title="details" class="method-name">strpos</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$haystack</span>, <span class="var-type"></span> <span class="var-name">$needle</span>, [<span class="var-type"></span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">type</span>
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#strrpos" title="details" class="method-name">strrpos</a>
|
||||
(<span class="var-type">type</span> <span class="var-name">$haystack</span>, <span class="var-type">type</span> <span class="var-name">$needle</span>, [<span class="var-type">type</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#strtolower" title="details" class="method-name">strtolower</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">string</span>
|
||||
<a href="#strtoupper" title="details" class="method-name">strtoupper</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
static <span class="method-result">void</span>
|
||||
static <span class="method-result">int</span>
|
||||
<a href="#substr" title="details" class="method-name">substr</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>, <span class="var-type"></span> <span class="var-name">$start</span>, [<span class="var-type"></span> <span class="var-name">$length</span> = <span class="var-default">null</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>, <span class="var-type">int</span> <span class="var-name">$start</span>, [<span class="var-type">int</span> <span class="var-name">$length</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -144,17 +145,18 @@
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="var$charset" id="$charset"><!-- --></A>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="var-header">
|
||||
<span class="var-title">
|
||||
static <span class="var-type">mixed</span>
|
||||
static <span class="var-type">string</span>
|
||||
<span class="var-name">$charset</span>
|
||||
= <span class="var-default"> 'utf-8'</span> (line <span class="line-number">16</span>)
|
||||
= <span class="var-default"> 'utf-8'</span> (line <span class="line-number">14</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Кодировка, в котороя работает система</p>
|
||||
|
||||
|
||||
|
||||
@ -177,309 +179,352 @@
|
||||
<div class="info-box-body">
|
||||
<A NAME='method_detail'></A>
|
||||
<a name="methodconnectLetters" id="connectLetters"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method connectLetters</span> (line <span class="line-number">92</span>)
|
||||
<span class="method-title">static method connectLetters</span> (line <span class="line-number">123</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Соединяет массив букв в строку</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
connectLetters
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$lettersArr</span>)
|
||||
(<span class="var-type">array</span> <span class="var-name">$lettersArr</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$lettersArr</span> </li>
|
||||
<span class="var-type">array</span>
|
||||
<span class="var-name">$lettersArr</span><span class="var-description">: массив букв</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodexplode" id="explode"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method explode</span> (line <span class="line-number">97</span>)
|
||||
<span class="method-title">static method explode</span> (line <span class="line-number">134</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Разбивает строку на части использую шаблон</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> разбитый массив</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
explode
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$pattern</span>, <span class="var-type"></span> <span class="var-name">$string</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$pattern</span>, <span class="var-type">string</span> <span class="var-name">$string</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$pattern</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$pattern</span><span class="var-description">: шаблон разбития</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$string</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$string</span><span class="var-description">: строка, которую нужно разбить</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodisLowerCase" id="isLowerCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method isLowerCase</span> (line <span class="line-number">71</span>)
|
||||
<span class="method-title">static method isLowerCase</span> (line <span class="line-number">87</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Проверяет в нижнем ли регистре находится строка</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> в нижнем ли регистре строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isLowerCase
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$phrase</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodisUpperCase" id="isUpperCase"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method isUpperCase</span> (line <span class="line-number">76</span>)
|
||||
<span class="method-title">static method isUpperCase</span> (line <span class="line-number">97</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Проверяет в верхнем ли регистре находится строка</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> в верхнем ли регистре строка</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">bool</span>
|
||||
<span class="method-name">
|
||||
isUpperCase
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$phrase</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsplitLetters" id="splitLetters"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method splitLetters</span> (line <span class="line-number">81</span>)
|
||||
<span class="method-title">static method splitLetters</span> (line <span class="line-number">107</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Превращает строку в массив букв</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> массив букв</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">array</span>
|
||||
<span class="method-name">
|
||||
splitLetters
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$phrase</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$phrase</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$phrase</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$phrase</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrlen" id="strlen"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strlen</span> (line <span class="line-number">40</span>)
|
||||
<span class="method-title">static method strlen</span> (line <span class="line-number">45</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Определение длины строки</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> длина строки</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strlen
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$str</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrpos" id="strpos"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strpos</span> (line <span class="line-number">31</span>)
|
||||
<span class="method-title">static method strpos</span> (line <span class="line-number">35</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Поиск подстроки в строке</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> позиция подстроки в строке</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strpos
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$haystack</span>, <span class="var-type"></span> <span class="var-name">$needle</span>, [<span class="var-type"></span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">0</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$haystack</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$haystack</span><span class="var-description">: строка, в которой искать</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$needle</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$needle</span><span class="var-description">: подстрока, которую нужно найти</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$offset</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$offset</span><span class="var-description">: начало поиска</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrrpos" id="strrpos"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strrpos</span> (line <span class="line-number">66</span>)
|
||||
<span class="method-title">static method strrpos</span> (line <span class="line-number">77</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Обертка для strrpos</p>
|
||||
<p class="short-description">Поиск подстроки в строке справа</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> позиция подстроки в строке</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">type</span>
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
strrpos
|
||||
</span>
|
||||
(<span class="var-type">type</span> <span class="var-name">$haystack</span>, <span class="var-type">type</span> <span class="var-name">$needle</span>, [<span class="var-type">type</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$haystack</span>, <span class="var-type">string</span> <span class="var-name">$needle</span>, [<span class="var-type">int</span> <span class="var-name">$offset</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">type</span>
|
||||
<span class="var-name">$haystack</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$haystack</span><span class="var-description">: строка, в которой искать</span> </li>
|
||||
<li>
|
||||
<span class="var-type">type</span>
|
||||
<span class="var-name">$needle</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$needle</span><span class="var-description">: подстрока, которую нужно найти</span> </li>
|
||||
<li>
|
||||
<span class="var-type">type</span>
|
||||
<span class="var-name">$offset</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$offset</span><span class="var-description">: начало поиска</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrtolower" id="strtolower"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strtolower</span> (line <span class="line-number">49</span>)
|
||||
<span class="method-title">static method strtolower</span> (line <span class="line-number">55</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Переводит строку в нижний регистр</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка в нижнем регистре</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
strtolower
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$str</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodstrtoupper" id="strtoupper"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method strtoupper</span> (line <span class="line-number">54</span>)
|
||||
<span class="method-title">static method strtoupper</span> (line <span class="line-number">65</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Переводит строку в верхний регистр</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> строка в верхнем регистре</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">string</span>
|
||||
<span class="method-name">
|
||||
strtoupper
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>)
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$str</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodsubstr" id="substr"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">static method substr</span> (line <span class="line-number">22</span>)
|
||||
<span class="method-title">static method substr</span> (line <span class="line-number">23</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Получить подстроку из строки</p>
|
||||
<ul class="tags">
|
||||
<li><span class="field">return:</span> подстрока</li>
|
||||
</ul>
|
||||
|
||||
<div class="method-signature">
|
||||
static
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-result">int</span>
|
||||
<span class="method-name">
|
||||
substr
|
||||
</span>
|
||||
(<span class="var-type"></span> <span class="var-name">$str</span>, <span class="var-type"></span> <span class="var-name">$start</span>, [<span class="var-type"></span> <span class="var-name">$length</span> = <span class="var-default">null</span>])
|
||||
(<span class="var-type">string</span> <span class="var-name">$str</span>, <span class="var-type">int</span> <span class="var-name">$start</span>, [<span class="var-type">int</span> <span class="var-name">$length</span> = <span class="var-default">null</span>])
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$str</span> </li>
|
||||
<span class="var-type">string</span>
|
||||
<span class="var-name">$str</span><span class="var-description">: строка</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$start</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$start</span><span class="var-description">: начало подстроки</span> </li>
|
||||
<li>
|
||||
<span class="var-type"></span>
|
||||
<span class="var-name">$length</span> </li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$length</span><span class="var-description">: длина подстроки</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -491,7 +536,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -64,7 +64,7 @@
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="_NCL_DIR_/NCL_php"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
@ -78,7 +78,7 @@
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLStr_php"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
@ -92,7 +92,7 @@
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLNameCaseInterface_php"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
@ -106,7 +106,7 @@
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLNameCaseWord_php"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
<div class="oddrow">
|
||||
|
||||
<div>
|
||||
<span class="include-title">
|
||||
@ -133,7 +133,7 @@
|
||||
</div>
|
||||
<div class="info-box-body">
|
||||
<a name="defineNCL_DIR"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
<div class="evenrow">
|
||||
|
||||
<div>
|
||||
<span class="const-title">
|
||||
@ -152,7 +152,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -42,7 +42,7 @@
|
||||
<a href="../default/NCLStr.html">NCLStr</a>
|
||||
</td>
|
||||
<td>
|
||||
Description of NCLStr
|
||||
Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -81,7 +81,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:15 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
@ -88,7 +88,7 @@
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:04 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 13:46:16 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -13,7 +13,6 @@
|
||||
<a href="elementindex.html">All elements</a>
|
||||
<br />
|
||||
<div class="index-letter-menu">
|
||||
<a class="index-letter" href="elementindex_default.html#a">a</a>
|
||||
<a class="index-letter" href="elementindex_default.html#c">c</a>
|
||||
<a class="index-letter" href="elementindex_default.html#d">d</a>
|
||||
<a class="index-letter" href="elementindex_default.html#e">e</a>
|
||||
@ -46,21 +45,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#method__construct">NCLNameCaseWord::__construct()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Создать запись из слова</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="a"></a>
|
||||
<div class="index-letter-section">
|
||||
<div style="float: left" class="index-letter-title">a</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">AllWordCases</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodAllWordCases">NCLNameCaseCore::AllWordCases()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Создание нового обьекта со словом <var>$word</var></div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="c"></a>
|
||||
@ -75,6 +60,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#var$CaseCount">NCLNameCaseRu::$CaseCount</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Количество падежей в языке</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$CaseCount</span>
|
||||
@ -88,12 +74,14 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#var$charset">NCLStr::$charset</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Кодировка, в котороя работает система</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">connectLetters</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodconnectLetters">NCLStr::connectLetters()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Соединяет массив букв в строку</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="d"></a>
|
||||
@ -122,6 +110,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methoddetectNamePart">NCLNameCaseRu::detectNamePart()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Идетифицирует слово определяе имя это, или фамилия, или отчество</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="e"></a>
|
||||
@ -136,6 +125,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodexplode">NCLStr::explode()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Разбивает строку на части использую шаблон</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="f"></a>
|
||||
@ -145,18 +135,12 @@
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<dl>
|
||||
<dt class="field">
|
||||
<span class="var-title">$finished</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$finished">NCLNameCaseCore::$finished</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Все слова уже просклонялись</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">fullReset</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Сбрасывает все информацию на начальную. Очищает все слова добавленые в систему.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="g"></a>
|
||||
@ -171,6 +155,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodgender">NCLNameCaseWord::gender()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Расчитывает и возвращает пол текущего слова</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">genderAutoDetect</span>
|
||||
@ -183,12 +168,14 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">По указаным словам определяется пол человека:</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">GenderByFatherName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodGenderByFatherName">NCLNameCaseRu::GenderByFatherName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Определение пола по правилам отчеств</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">GenderByFatherName</span>
|
||||
@ -202,6 +189,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodGenderByFirstName">NCLNameCaseRu::GenderByFirstName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Определение пола по правилам имен</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">GenderByFirstName</span>
|
||||
@ -222,12 +210,14 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodGenderBySecondName">NCLNameCaseRu::GenderBySecondName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Определение пола по правилам фамилий</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">generateIndex</span>
|
||||
<span class="method-title">getFatherNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgenerateIndex">NCLNameCaseCore::generateIndex()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит отчество в нужный падеж.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFatherNameCase</span>
|
||||
@ -235,18 +225,6 @@
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetFatherNameCase">NCLNameCaseInterface::getFatherNameCase()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFatherNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFatherNameCase">NCLNameCaseCore::getFatherNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFirstNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFirstNameCase</span>
|
||||
</dt>
|
||||
@ -254,10 +232,11 @@
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetFirstNameCase">NCLNameCaseInterface::getFirstNameCase()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormatted</span>
|
||||
<span class="method-title">getFirstNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит имя в нужный падеж.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormatted</span>
|
||||
@ -266,46 +245,66 @@
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetFormatted">NCLNameCaseInterface::getFormatted()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormattedArray</span>
|
||||
<span class="method-title">getFormatted</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFormatted">NCLNameCaseCore::getFormatted()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет текущие слова в падеж <var>$caseNum</var> и форматирует слово по шаблону <var>$format</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormattedArray</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormattedArray</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormattedArrayHard</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFormattedArrayHard">NCLNameCaseCore::getFormattedArrayHard()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getFormattedHard</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetFormattedHard">NCLNameCaseCore::getFormattedHard()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет текущие слова в падеж <var>$caseNum</var> и форматирует слово по шаблону <var>$format</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodgetGender">NCLNameCaseWord::getGender()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Возвращает массив вероятности того, что даное слово является мужчиной или женщиной</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getNameCases</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodgetNameCases">NCLNameCaseWord::getNameCases()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Возвращает массив со всеми падежами текущего слова</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getNamePart</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodgetNamePart">NCLNameCaseWord::getNamePart()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Возвращает тип текущего слова</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getSecondNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetSecondNameCase">NCLNameCaseCore::getSecondNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит фамилию в нужный падеж.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getSecondNameCase</span>
|
||||
@ -313,17 +312,12 @@
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodgetSecondNameCase">NCLNameCaseInterface::getSecondNameCase()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getSecondNameCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodgetSecondNameCase">NCLNameCaseCore::getSecondNameCase()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">getWord</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodgetWord">NCLNameCaseWord::getWord()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Возвращает текущее слово.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="i"></a>
|
||||
@ -340,42 +334,40 @@
|
||||
<div class="index-item-details"><a href="default/NCL.html#var$IMENITLN">NCL::$IMENITLN</a> in NCL.php</div>
|
||||
<div class="index-item-description">Именительный падеж</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$index</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$index">NCLNameCaseCore::$index</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">in</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodin">NCLNameCaseCore::in()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Если <var>$string</var> строка, тогда проверяется входит ли буква <var>$letter</var> в строку <var>$string</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">inNames</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodinNames">NCLNameCaseCore::inNames()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция проверяет, входит ли имя в перечень имен.</div>
|
||||
<div class="index-item-description">Функция проверяет, входит ли имя <var>$nameNeedle</var> в перечень имен <var>$names</var>.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">isGenderSolved</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodisGenderSolved">NCLNameCaseWord::isGenderSolved()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Если уже был расчитан пол для всех слов системы, тогда каждому слову предается окончательное решение. Эта функция определяет было ли принято окончательное решение.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">isLowerCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodisLowerCase">NCLStr::isLowerCase()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Проверяет в нижнем ли регистре находится строка</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">isUpperCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodisUpperCase">NCLStr::isUpperCase()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Проверяет в верхнем ли регистре находится строка</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="l"></a>
|
||||
@ -390,20 +382,14 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$lastResult">NCLNameCaseCore::$lastResult</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Просклоненое слово</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$lastRule</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$lastRule">NCLNameCaseCore::$lastRule</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Последние правило</div>
|
||||
<div class="index-item-description">Массив содержит результат склонения слова - слово во всех падежах</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">Last</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodLast">NCLNameCaseCore::Last()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Если <var>$stopAfter</var> = 0, тогда вырезает $length последних букв с текущего слова (<var>$this->workingWord</var>)</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="m"></a>
|
||||
@ -432,6 +418,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodmanFatherName">NCLNameCaseRu::manFatherName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Функция склоняет мужский отчества</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">manFirstName</span>
|
||||
@ -445,6 +432,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodmanFirstName">NCLNameCaseRu::manFirstName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Функция пытается применить цыпочку правил для мужских имен</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">manRule1</span>
|
||||
@ -542,6 +530,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodmanSecondName">NCLNameCaseRu::manSecondName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Функция пытается применить цыпочку правил для мужских фамилий</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">manSecondName</span>
|
||||
@ -646,7 +635,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html">NCLStr</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Description of NCLStr</div>
|
||||
<div class="index-item-description">Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="const-title">NCL_DIR</span>
|
||||
@ -654,12 +643,6 @@
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/_NCL---NCLNameCaseCore.php.html#defineNCL_DIR">NCL_DIR</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">notReady</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodnotReady">NCLNameCaseCore::notReady()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="p"></a>
|
||||
<div class="index-letter-section">
|
||||
@ -675,30 +658,6 @@
|
||||
<div class="index-item-details"><a href="default/NCL.html#var$PREDLOGN">NCL::$PREDLOGN</a> in NCL.php</div>
|
||||
<div class="index-item-description">Предложный падеж</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">prepareAllNameParts</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodprepareAllNameParts">NCLNameCaseCore::prepareAllNameParts()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">prepareEverything</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodprepareEverything">NCLNameCaseCore::prepareEverything()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">prepareGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodprepareGender">NCLNameCaseCore::prepareGender()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">prepareNamePart</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodprepareNamePart">NCLNameCaseCore::prepareNamePart()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="q"></a>
|
||||
<div class="index-letter-section">
|
||||
@ -718,6 +677,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodq">NCLNameCaseCore::q()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет ФИО <var>$fullname</var> в падеж <var>$caseNum</var> по правилам пола <var>$gender</var>.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">qFatherName</span>
|
||||
@ -730,6 +690,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodqFatherName">NCLNameCaseCore::qFatherName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит отчество <var>$fatherName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">qFirstName</span>
|
||||
@ -742,6 +703,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodqFirstName">NCLNameCaseCore::qFirstName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит имя <var>$firstName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">qFullName</span>
|
||||
@ -754,6 +716,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodqFullName">NCLNameCaseCore::qFullName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет фамилию <var>$secondName</var>, имя <var>$firstName</var>, отчество <var>$fatherName</var></div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">qSecondName</span>
|
||||
@ -766,6 +729,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodqSecondName">NCLNameCaseCore::qSecondName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Функция ставит фамилию <var>$secondName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="r"></a>
|
||||
@ -775,13 +739,6 @@
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
<dl>
|
||||
<dt class="field">
|
||||
<span class="var-title">$ready</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$ready">NCLNameCaseCore::$ready</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Система уже готово к склонению или нет</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$RODITLN</span>
|
||||
</dt>
|
||||
@ -789,26 +746,19 @@
|
||||
<div class="index-item-details"><a href="default/NCL.html#var$RODITLN">NCL::$RODITLN</a> in NCL.php</div>
|
||||
<div class="index-item-description">Родительный падеж</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">reset</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodreset">NCLNameCaseCore::reset()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Сброс всех настроек</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">Rule</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodRule">NCLNameCaseCore::Rule()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Установить номер парвила</div>
|
||||
<div class="index-item-description">Устанавливает номер последнего правила</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">RulesChain</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodRulesChain">NCLNameCaseCore::RulesChain()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Выполняет над словом типа $gender (man / woman) в порядке указанов в $rulesArray</div>
|
||||
<div class="index-item-description">Над текущим словом (<var>$this->workingWord</var>) выполняются правила в порядке указаном в <var>$rulesArray</var>.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="s"></a>
|
||||
@ -823,6 +773,7 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetFatherName">NCLNameCaseCore::setFatherName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setFatherName</span>
|
||||
@ -834,19 +785,14 @@
|
||||
<span class="method-title">setFirstName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetFirstName">NCLNameCaseInterface::setFirstName()</a> in NCLNameCaseInterface.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetFirstName">NCLNameCaseCore::setFirstName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setFirstName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetFirstName">NCLNameCaseCore::setFirstName()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setFullName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetFullName">NCLNameCaseCore::setFullName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetFirstName">NCLNameCaseInterface::setFirstName()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setFullName</span>
|
||||
@ -855,16 +801,11 @@
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetFullName">NCLNameCaseInterface::setFullName()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setGender</span>
|
||||
<span class="method-title">setFullName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetGender">NCLNameCaseWord::setGender()</a> in NCLNameCaseWord.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetGender">NCLNameCaseCore::setGender()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetFullName">NCLNameCaseCore::setFullName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В система заносится сразу фамилия, имя, отчество</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setGender</span>
|
||||
@ -873,16 +814,31 @@
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetGender">NCLNameCaseInterface::setGender()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setLastName</span>
|
||||
<span class="method-title">setGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetLastName">NCLNameCaseInterface::setLastName()</a> in NCLNameCaseInterface.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetGender">NCLNameCaseWord::setGender()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Устанавливает вероятности того, что даное слово является мужчиной или женщиной</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetGender">NCLNameCaseCore::setGender()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Всем словам устанавливается пол, который может иметь следующие значения</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setLastName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetLastName">NCLNameCaseCore::setLastName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setLastName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseInterface.html#methodsetLastName">NCLNameCaseInterface::setLastName()</a> in NCLNameCaseInterface.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setName</span>
|
||||
@ -895,24 +851,28 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetName">NCLNameCaseCore::setName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setNameCases</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetNameCases">NCLNameCaseWord::setNameCases()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Сохраняет результат склонения текущего слова</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setNamePart</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetNamePart">NCLNameCaseWord::setNamePart()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Устанавливает тип текущего слова</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setRule</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetRule">NCLNameCaseWord::setRule()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Устанавливает номер правила по которому склонялось текущее слово.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setSecondName</span>
|
||||
@ -925,12 +885,14 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetSecondName">NCLNameCaseCore::setSecondName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setSirname</span>
|
||||
<span class="method-title">setSirName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetSirname">NCLNameCaseCore::setSirname()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetSirName">NCLNameCaseCore::setSirName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setSirname</span>
|
||||
@ -943,24 +905,21 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseWord.html#methodsetTrueGender">NCLNameCaseWord::setTrueGender()</a> in NCLNameCaseWord.php</div>
|
||||
<div class="index-item-description">Окончательно устанавливает пол человека</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">setWorkingWord</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsetWorkingWord">NCLNameCaseCore::setWorkingWord()</a> in NCLNameCaseCore.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">solveGender</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsolveGender">NCLNameCaseCore::solveGender()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Устанавливает слово текущим для работы системы. Очищает кеш слова.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">splitFullName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodsplitFullName">NCLNameCaseCore::splitFullName()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Разбивает строку <var>$fullname</var> на слова и возвращает формат в котором записано имя</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">splitFullName</span>
|
||||
@ -973,43 +932,49 @@
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodsplitLetters">NCLStr::splitLetters()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Превращает строку в массив букв</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">strlen</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodstrlen">NCLStr::strlen()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Определение длины строки</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">strpos</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodstrpos">NCLStr::strpos()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Поиск подстроки в строке</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">strrpos</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodstrrpos">NCLStr::strrpos()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Обертка для strrpos</div>
|
||||
<div class="index-item-description">Поиск подстроки в строке справа</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">strtolower</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodstrtolower">NCLStr::strtolower()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Переводит строку в нижний регистр</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">strtoupper</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodstrtoupper">NCLStr::strtoupper()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Переводит строку в верхний регистр</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">substr</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLStr.html#methodsubstr">NCLStr::substr()</a> in NCLStr.php</div>
|
||||
<div class="index-item-description">Получить подстроку из строки</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="t"></a>
|
||||
@ -1113,24 +1078,26 @@
|
||||
<div class="index-item-details"><a href="default/NCL.html#var$WOMAN">NCL::$WOMAN</a> in NCL.php</div>
|
||||
<div class="index-item-description">Женский пол</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$words</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$words">NCLNameCaseCore::$words</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Список всех слов</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$workindLastCache</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$workindLastCache">NCLNameCaseCore::$workindLastCache</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Метод Last() вырезает подстроки разной длины. Посколько одинаковых вызовов бывает несколько, то все результаты выполнения кешируются в этом массиве.</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="var-title">$workingWord</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#var$workingWord">NCLNameCaseCore::$workingWord</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Переменная, в которую заносится слово с которым сейчас идет работа</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanFatherName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanFatherName">NCLNameCaseRu::womanFatherName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Функция склоняет женские отчества</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanFatherName</span>
|
||||
@ -1140,23 +1107,18 @@
|
||||
<div class="index-item-description">Фунція відмінює жіночі по-батькові</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanFatherName</span>
|
||||
<span class="method-title">womanFirstName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanFatherName">NCLNameCaseRu::womanFatherName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanFirstName">NCLNameCaseUa::womanFirstName()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Функція намагається застосувати ланцюг правил для жіночих імен</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanFirstName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanFirstName">NCLNameCaseRu::womanFirstName()</a> in NCL.NameCase.ru.php</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanFirstName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanFirstName">NCLNameCaseUa::womanFirstName()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Функція намагається застосувати ланцюг правил для жіночих імен</div>
|
||||
<div class="index-item-description">Функция пытается применить цыпочку правил для женских имен</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanRule1</span>
|
||||
@ -1176,15 +1138,15 @@
|
||||
<span class="method-title">womanRule2</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanRule2">NCLNameCaseRu::womanRule2()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanRule2">NCLNameCaseUa::womanRule2()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Українські жіночі імена, що в називному відмінку однини закінчуються на приголосний,</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanRule2</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanRule2">NCLNameCaseUa::womanRule2()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Українські жіночі імена, що в називному відмінку однини закінчуються на приголосний,</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanRule2">NCLNameCaseRu::womanRule2()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanRule3</span>
|
||||
@ -1211,31 +1173,26 @@
|
||||
<span class="method-title">womanSecondName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanSecondName">NCLNameCaseRu::womanSecondName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanSecondName">NCLNameCaseUa::womanSecondName()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Функція намагається застосувати ланцюг правил для жіночих прізвищ</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">womanSecondName</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseUa.html#methodwomanSecondName">NCLNameCaseUa::womanSecondName()</a> in NCL.NameCase.ua.php</div>
|
||||
<div class="index-item-description">Функція намагається застосувати ланцюг правил для жіночих прізвищ</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">WordCase</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodWordCase">NCLNameCaseCore::WordCase()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseRu.html#methodwomanSecondName">NCLNameCaseRu::womanSecondName()</a> in NCL.NameCase.ru.php</div>
|
||||
<div class="index-item-description">Функция пытается применить цыпочку правил для женских фамилий</div>
|
||||
</dd>
|
||||
<dt class="field">
|
||||
<span class="method-title">wordForms</span>
|
||||
</dt>
|
||||
<dd class="index-item-body">
|
||||
<div class="index-item-details"><a href="default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a> in NCLNameCaseCore.php</div>
|
||||
<div class="index-item-description">Склоняет слово <var>$word</var>, удаляя из него <var>$replaceLast</var> последних букв и добавляя в каждый падеж окончание из массива <var>$endings</var>.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<div class="index-letter-menu">
|
||||
<a class="index-letter" href="elementindex_default.html#a">a</a>
|
||||
<a class="index-letter" href="elementindex_default.html#c">c</a>
|
||||
<a class="index-letter" href="elementindex_default.html#d">d</a>
|
||||
<a class="index-letter" href="elementindex_default.html#e">e</a>
|
||||
|
@ -9,49 +9,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<a href="#NCL.NameCase.ua.php">NCL.NameCase.ua.php</a><br>
|
||||
<a href="#NCL.php">NCL.php</a><br>
|
||||
<a href="#NCLNameCaseCore.php">NCLNameCaseCore.php</a><br>
|
||||
<a href="#NCLNameCaseInterface.php">NCLNameCaseInterface.php</a><br>
|
||||
<a href="#NCLNameCaseWord.php">NCLNameCaseWord.php</a><br>
|
||||
<a href="#NCLStr.php">NCLStr.php</a><br>
|
||||
<a name="NCL.NameCase.ru.php"></a>
|
||||
<h1>NCL.NameCase.ru.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 15</b> - no @package tag was used in a DocBlock for class NCLNameCaseRu<br>
|
||||
<b>Warning on line 657</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL.NameCase.ru.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCL.NameCase.ua.php"></a>
|
||||
<h1>NCL.NameCase.ua.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 17</b> - no @package tag was used in a DocBlock for class NCLNameCaseUa<br>
|
||||
<b>Warning on line 752</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL.NameCase.ua.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCL.php"></a>
|
||||
<h1>NCL.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 9</b> - no @package tag was used in a DocBlock for class NCL<br>
|
||||
<b>Warning on line 102</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL/NCL.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCLNameCaseCore.php"></a>
|
||||
<h1>NCLNameCaseCore.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 13</b> - no @package tag was used in a DocBlock for class NCLNameCaseCore<br>
|
||||
<b>Warning on line 909</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL/NCLNameCaseCore.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCLNameCaseInterface.php"></a>
|
||||
<h1>NCLNameCaseInterface.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 7</b> - no @package tag was used in a DocBlock for interface NCLNameCaseInterface<br>
|
||||
<b>Warning on line 50</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL/NCLNameCaseInterface.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCLNameCaseWord.php"></a>
|
||||
<h1>NCLNameCaseWord.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 8</b> - no @package tag was used in a DocBlock for class NCLNameCaseWord<br>
|
||||
<b>Warning on line 206</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL/NCLNameCaseWord.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<a name="NCLStr.php"></a>
|
||||
<h1>NCLStr.php</h1>
|
||||
<h2>Warnings:</h2><br>
|
||||
<b>Warning on line 13</b> - no @package tag was used in a DocBlock for class NCLStr<br>
|
||||
<b>Warning on line 102</b> - File "/home/seagull/localhost/www/NameCaseLib/Library/NCL/NCLStr.php" has no page-level DocBlock, use @package in the first DocBlock to create one<br>
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Wed, 06 Jul 2011 00:21:05 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Wed, 06 Jul 2011 14:04:08 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -4,7 +4,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<!-- Generated by phpDocumentor on Wed, 06 Jul 2011 00:21:03 +0300 -->
|
||||
<!-- Generated by phpDocumentor on Wed, 06 Jul 2011 14:04:05 +0300 -->
|
||||
<title>Generated Documentation</title>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
@ -12,7 +12,7 @@
|
||||
<FRAMESET rows='120,*'>
|
||||
<FRAME src='packages.html' name='left_top' frameborder="1" bordercolor="#999999">
|
||||
<FRAMESET cols='25%,*'>
|
||||
<FRAME src='li_default.html' name='left_bottom' frameborder="1" bordercolor="#999999">
|
||||
<FRAME src='li_NameCaseLib.html' name='left_bottom' frameborder="1" bordercolor="#999999">
|
||||
<FRAME src='blank.html' name='right' frameborder="1" bordercolor="#999999">
|
||||
</FRAMESET>
|
||||
<NOFRAMES>
|
||||
|
@ -22,10 +22,22 @@
|
||||
|
||||
|
||||
<dt class="folder-title">Interfaces</dt>
|
||||
<dt class="folder-title">Classes</dt>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseUa.html' target='right'>NCLNameCaseUa</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseInterface.html' target='right'>NCLNameCaseInterface</a></dd>
|
||||
<dt class="folder-title">Classes</dt>
|
||||
<dd><a href='NameCaseLib/NCL.html' target='right'>NCL</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseCore.html' target='right'>NCLNameCaseCore</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseRu.html' target='right'>NCLNameCaseRu</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseUa.html' target='right'>NCLNameCaseUa</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLNameCaseWord.html' target='right'>NCLNameCaseWord</a></dd>
|
||||
<dd><a href='NameCaseLib/NCLStr.html' target='right'>NCLStr</a></dd>
|
||||
<dt class="folder-title">Files</dt>
|
||||
<dd><a href='NameCaseLib/_NCL.NameCase.ru.php.html' target='right'>NCL.NameCase.ru.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL.NameCase.ua.php.html' target='right'>NCL.NameCase.ua.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCL.php.html' target='right'>NCL.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCLNameCaseCore.php.html' target='right'>NCLNameCaseCore.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCLNameCaseInterface.php.html' target='right'>NCLNameCaseInterface.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCLNameCaseWord.php.html' target='right'>NCLNameCaseWord.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCLStr.php.html' target='right'>NCLStr.php</a></dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="banner">
|
||||
<div class="banner-title">default</div>
|
||||
<div class="banner-title">NameCaseLib</div>
|
||||
<div class="banner-menu">
|
||||
<table cellpadding="0" cellspacing="0" style="width: 100%">
|
||||
<tr>
|
||||
|
@ -1,55 +1,61 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* NCL NameCase Russian Language
|
||||
*
|
||||
* Клас, которые позволяет склонять русские Имена, Фамили Отчества по падежам.
|
||||
*
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @author Андрей Чайка http://seagull.net.ua/ bymer3@gmail.com
|
||||
* @version 0.1.2 05.05.2011
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
require_once dirname(__FILE__) . '/NCL/NCLNameCaseCore.php';
|
||||
|
||||
/**
|
||||
* <b>NCL NameCase Russian Language</b>
|
||||
*
|
||||
* Русские правила склонения ФИО
|
||||
* Правила определения пола человека по ФИО для русского языка
|
||||
* Система разделения фамилий имен и отчеств для русского языка
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
{
|
||||
/*
|
||||
* @static string
|
||||
* Количество падежов
|
||||
/**
|
||||
* Количество падежей в языке
|
||||
* @var int
|
||||
*/
|
||||
|
||||
protected $CaseCount = 6;
|
||||
|
||||
/*
|
||||
* @static string
|
||||
* Список гласных
|
||||
/**
|
||||
* Список гласных русского языка
|
||||
* @var string
|
||||
*/
|
||||
private $vowels = "аеёиоуыэюя";
|
||||
|
||||
/*
|
||||
* @static string
|
||||
* Список согласных
|
||||
/**
|
||||
* Список согласных русского языка
|
||||
* @var string
|
||||
*/
|
||||
private $consonant = "бвгджзйклмнпрстфхцчшщ";
|
||||
|
||||
|
||||
/*
|
||||
* @static array()
|
||||
* Список окончание для неизменяемых имен
|
||||
/**
|
||||
* Окончания имен/фамилий, который не склоняются
|
||||
* @var array
|
||||
*/
|
||||
private $ovo = array('ово', 'аго', 'яго', 'ирь');
|
||||
|
||||
/*
|
||||
* @static array()
|
||||
* Список окончание для неизменяемых имен
|
||||
/**
|
||||
* Окончания имен/фамилий, который не склоняются
|
||||
* @var array
|
||||
*/
|
||||
private $ih = array('их', 'ых', 'ко');
|
||||
|
||||
/**
|
||||
* Мужские имена, оканчивающиеся на любой ь и -й,
|
||||
* склоняются так же, как обычные существительные мужского рода
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule1()
|
||||
{
|
||||
@ -74,7 +80,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Мужские имена, оканчивающиеся на любой твердый согласный,
|
||||
* склоняются так же, как обычные существительные мужского рода
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule2()
|
||||
{
|
||||
@ -107,7 +113,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
* существительные с таким же окончанием
|
||||
* Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,
|
||||
* из которого они происходят, склоняются как существительные с соответствующими окончаниями
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule3()
|
||||
{
|
||||
@ -138,7 +144,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Мужские фамилии, оканчивающиеся на -ь -й, склоняются так же,
|
||||
* как обычные существительные мужского рода
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule4()
|
||||
{
|
||||
@ -177,7 +183,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
/**
|
||||
* Мужские фамилии, оканчивающиеся на -к
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule5()
|
||||
{
|
||||
@ -208,7 +214,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
/**
|
||||
* Мужские фамили на согласный выбираем ем/ом/ым
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule6()
|
||||
{
|
||||
@ -235,7 +241,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
/**
|
||||
* Мужские фамили на -а -я
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule7()
|
||||
{
|
||||
@ -272,7 +278,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
/**
|
||||
* Не склоняются мужский фамилии
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function manRule8()
|
||||
{
|
||||
@ -288,7 +294,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Мужские и женские имена, оканчивающиеся на -а, склоняются,
|
||||
* как и любые существительные с таким же окончанием
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function womanRule1()
|
||||
{
|
||||
@ -323,7 +329,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка,
|
||||
* из которого они происходят, склоняются как существительные с соответствующими окончаниями
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function womanRule2()
|
||||
{
|
||||
@ -348,7 +354,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Русские женские имена, оканчивающиеся на мягкий согласный, склоняются,
|
||||
* как существительные женского рода типа дочь, тень
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function womanRule3()
|
||||
{
|
||||
@ -364,7 +370,7 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
/**
|
||||
* Женские фамилия, оканчивающиеся на -а -я, склоняются,
|
||||
* как и любые существительные с таким же окончанием
|
||||
* @return bool
|
||||
* @return bool true если правило было задействовано и false если нет.
|
||||
*/
|
||||
protected function womanRule4()
|
||||
{
|
||||
@ -390,7 +396,6 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
return true;
|
||||
}
|
||||
}
|
||||
//Мужские и женские имена, оканчивающиеся иа -я, -ья, -ия, -ея, независимо от языка, из которого они происходят, склоняются как существительные с соответствующими окончаниями
|
||||
elseif ($this->Last(1) == "я")
|
||||
{
|
||||
$this->wordForms($this->workingWord, array('ой', 'ой', 'ую', 'ой', 'ой'), 2);
|
||||
@ -400,56 +405,46 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет имя записаное в $this->firstName, по правилам склонения мужских имен.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция пытается применить цыпочку правил для мужских имен
|
||||
* @return boolean true - если было использовано правило из списка, false - если правило не было найденым
|
||||
*/
|
||||
|
||||
protected function manFirstName()
|
||||
{
|
||||
return $this->RulesChain('man', array(1, 2, 3));
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет имя записаное в $this->firstName, по правилам склонения женских имен.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция пытается применить цыпочку правил для женских имен
|
||||
* @return boolean true - если было использовано правило из списка, false - если правило не было найденым
|
||||
*/
|
||||
|
||||
protected function womanFirstName()
|
||||
{
|
||||
return $this->RulesChain('woman', array(1, 2, 3));
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет фамилию записаное в $this->secondName, по правилам склонения мужских фамилий.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция пытается применить цыпочку правил для мужских фамилий
|
||||
* @return boolean true - если было использовано правило из списка, false - если правило не было найденым
|
||||
*/
|
||||
|
||||
protected function manSecondName()
|
||||
{
|
||||
return $this->RulesChain('man', array(8, 4, 5, 6, 7));
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет фамилию записаное в $this->secondName, по правилам склонения женских фамилий.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция пытается применить цыпочку правил для женских фамилий
|
||||
* @return boolean true - если было использовано правило из списка, false - если правило не было найденым
|
||||
*/
|
||||
|
||||
protected function womanSecondName()
|
||||
{
|
||||
return $this->RulesChain('woman', array(4));
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет отчество записаное в $this->secondName, по правилам склонения мужских отчеств.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция склоняет мужский отчества
|
||||
* @return boolean true - если слово было успешно изменено, false - если не получилось этого сделать
|
||||
*/
|
||||
|
||||
protected function manFatherName()
|
||||
{
|
||||
//Проверяем действительно ли отчество
|
||||
@ -466,12 +461,10 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая склоняет отчество записаное в $this->fatherName, по правилам склонения женских отчеств.
|
||||
*
|
||||
* @return boolean
|
||||
/**
|
||||
* Функция склоняет женские отчества
|
||||
* @return boolean true - если слово было успешно изменено, false - если не получилось этого сделать
|
||||
*/
|
||||
|
||||
protected function womanFatherName()
|
||||
{
|
||||
//Проверяем действительно ли отчество
|
||||
@ -482,7 +475,11 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Определение пола по правилам имен
|
||||
* @param NCLNameCaseWord $word обьект класса слов, для которого нужно определить пол
|
||||
*/
|
||||
protected function GenderByFirstName(NCLNameCaseWord $word)
|
||||
{
|
||||
$this->setWorkingWord($word->getWord());
|
||||
@ -545,7 +542,11 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
$word->setGender($man, $woman);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Определение пола по правилам фамилий
|
||||
* @param NCLNameCaseWord $word обьект класса слов, для которого нужно определить пол
|
||||
*/
|
||||
protected function GenderBySecondName(NCLNameCaseWord $word)
|
||||
{
|
||||
$this->setWorkingWord($word->getWord());
|
||||
@ -570,7 +571,11 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
|
||||
$word->setGender($man, $woman);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Определение пола по правилам отчеств
|
||||
* @param NCLNameCaseWord $word обьект класса слов, для которого нужно определить пол
|
||||
*/
|
||||
protected function GenderByFatherName(NCLNameCaseWord $word)
|
||||
{
|
||||
$this->setWorkingWord($word->getWord());
|
||||
@ -585,13 +590,13 @@ class NCLNameCaseRu extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Определение текущее слово есть фамилией, именем или отчеством
|
||||
* @return integer $number - 1-фамили 2-имя 3-отчество
|
||||
/**
|
||||
* Идетифицирует слово определяе имя это, или фамилия, или отчество
|
||||
* - <b>N</b> - имя
|
||||
* - <b>S</b> - фамилия
|
||||
* - <b>F</b> - отчество
|
||||
* @param NCLNameCaseWord $word обьект класса слов, который необходимо идентифицировать
|
||||
*/
|
||||
|
||||
protected function detectNamePart(NCLNameCaseWord $word)
|
||||
{
|
||||
$namepart = $word->getWord();
|
||||
|
@ -1,19 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
require_once dirname(__FILE__) . '/NCL/NCLNameCaseCore.php';
|
||||
|
||||
/**
|
||||
* <b>NCL NameCase Ukranian Language</b>
|
||||
*
|
||||
* Украинские правила склонений ФИО.
|
||||
* Правила определения пола человека по ФИО для украинского языка
|
||||
* Система разделения фамилий имен и отчеств для украинского языка
|
||||
*
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @author Андрей Чайка http://seagull.net.ua/ bymer3@gmail.com
|
||||
* @version 0.4 05.07.2011
|
||||
* Система разделения фамилий имен и отчеств для украинского языка
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
require_once dirname(__FILE__) . '/NCL/NCLNameCaseCore.php';
|
||||
|
||||
class NCLNameCaseUa extends NCLNameCaseCore implements NCLNameCaseInterface
|
||||
{
|
||||
|
||||
|
@ -1,10 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
* Класс, который содержит основные константы библиотеки:
|
||||
* - индексы мужского и женского пола
|
||||
* - индексы всех падежей
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCL
|
||||
{
|
||||
|
@ -1,5 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
if (!defined('NCL_DIR'))
|
||||
{
|
||||
define('NCL_DIR', dirname(__FILE__));
|
||||
@ -10,84 +17,121 @@ require_once NCL_DIR . '/NCLStr.php';
|
||||
require_once NCL_DIR . '/NCLNameCaseInterface.php';
|
||||
require_once NCL_DIR . '/NCLNameCaseWord.php';
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* <b>NCL NameCase Core</b>
|
||||
*
|
||||
* Набор основных функций, который позволяют сделать интерфейс слонения русского и украниского языка
|
||||
* абсолютно одинаковым. Содержит все функции для внешнего взаимодействия с библиотекой.
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCLNameCaseCore extends NCL
|
||||
{
|
||||
|
||||
/**
|
||||
* Система уже готово к склонению или нет
|
||||
* Готовность системы:
|
||||
* - Все слова идентифицированы (известо к какой части ФИО относится слово)
|
||||
* - У всех слов определен пол
|
||||
* Если все сделано стоит флаг true, при добавлении нового слова флаг сбрасывается на false
|
||||
* @var bool
|
||||
*/
|
||||
protected $ready = false;
|
||||
private $ready = false;
|
||||
|
||||
/**
|
||||
* Все слова уже просклонялись
|
||||
* Если все текущие слова было просклонены и в каждом слове уже есть результат склонения,
|
||||
* тогда true. Если было добавлено новое слово флаг збрасывается на false
|
||||
* @var bool
|
||||
*/
|
||||
protected $finished = false;
|
||||
private $finished = false;
|
||||
|
||||
/**
|
||||
* Список всех слов
|
||||
* Массив содержит елементы типа NCLNameCaseWord. Это все слова которые нужно обработать и просклонять
|
||||
* @var array
|
||||
*/
|
||||
protected $words = array();
|
||||
private $words = array();
|
||||
|
||||
/*
|
||||
* Слово с которым работаем сейчас
|
||||
/**
|
||||
* Переменная, в которую заносится слово с которым сейчас идет работа
|
||||
* @var string
|
||||
*/
|
||||
protected $workingWord = '';
|
||||
|
||||
/*
|
||||
* Кеш окончаний слова
|
||||
/**
|
||||
* Метод Last() вырезает подстроки разной длины. Посколько одинаковых вызовов бывает несколько,
|
||||
* то все результаты выполнения кешируются в этом массиве.
|
||||
* @var array
|
||||
*/
|
||||
protected $workindLastCache = array();
|
||||
|
||||
/**
|
||||
* Последние правило
|
||||
* Номер последнего использованого правила, устанавливается методом Rule()
|
||||
* @var int
|
||||
*/
|
||||
protected $lastRule = 0;
|
||||
private $lastRule = 0;
|
||||
|
||||
/**
|
||||
* Просклоненое слово
|
||||
* Массив содержит результат склонения слова - слово во всех падежах
|
||||
* @var array
|
||||
*/
|
||||
protected $lastResult = array();
|
||||
protected $index = array();
|
||||
|
||||
/**
|
||||
* Массив содержит информацию о том какие слова из массива <var>$this->words</var> относятся к
|
||||
* фамилии, какие к отчеству а какие к имени. Массив нужен потому, что при добавлении слов мы не
|
||||
* всегда знаем какая часть ФИО сейчас, поэтому после идентификации всех слов генерируется массив
|
||||
* индексов для быстрого поиска в дальнейшем.
|
||||
* @var array
|
||||
*/
|
||||
private $index = array();
|
||||
|
||||
/**
|
||||
* Сброс всех настроек
|
||||
* Метод очищает результаты последнего склонения слова. Нужен при склонении нескольких слов.
|
||||
*/
|
||||
protected function reset()
|
||||
private function reset()
|
||||
{
|
||||
$this->lastRule = 0;
|
||||
$this->lastResult = array();
|
||||
}
|
||||
|
||||
protected function fullReset()
|
||||
|
||||
/**
|
||||
* Сбрасывает все информацию на начальную. Очищает все слова добавленые в систему.
|
||||
* После выполнения система готова работать с начала.
|
||||
*/
|
||||
public function fullReset()
|
||||
{
|
||||
$this->words = array();
|
||||
$this->index = array('N' => array(), 'F' => array(), 'S' => array());
|
||||
$this->reset();
|
||||
$this->notReady();
|
||||
}
|
||||
|
||||
protected function notReady()
|
||||
|
||||
/**
|
||||
* Устанавливает флаги о том, что система не готово и слова еще не были просклонены
|
||||
*/
|
||||
private function notReady()
|
||||
{
|
||||
$this->ready = false;
|
||||
$this->finished = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Установить номер парвила
|
||||
* @param int $index
|
||||
* Устанавливает номер последнего правила
|
||||
* @param int $index номер правила которое нужно установить
|
||||
*/
|
||||
protected function Rule($index)
|
||||
{
|
||||
$this->lastRule = $index;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установить текущее слово
|
||||
|
||||
/**
|
||||
* Устанавливает слово текущим для работы системы. Очищает кеш слова.
|
||||
* @param string $word слово, которое нужно установить
|
||||
*/
|
||||
|
||||
protected function setWorkingWord($word)
|
||||
{
|
||||
//Сбрасываем настройки
|
||||
@ -98,11 +142,13 @@ class NCLNameCaseCore extends NCL
|
||||
$this->workindLastCache = array();
|
||||
}
|
||||
|
||||
/*
|
||||
* Если $stopAfter = 0, тогда вырезает $length последних букв
|
||||
* Если нет, тогда вырезает $stopAfter букв начиная от $length с конца
|
||||
/**
|
||||
* Если <var>$stopAfter</var> = 0, тогда вырезает $length последних букв с текущего слова (<var>$this->workingWord</var>)
|
||||
* Если нет, тогда вырезает <var>$stopAfter</var> букв начиная от <var>$length</var> с конца
|
||||
* @param int $length количество букв с конца
|
||||
* @param int $stopAfter количество букв которые нужно вырезать (0 - все)
|
||||
* @return string требуемая подстрока
|
||||
*/
|
||||
|
||||
protected function Last($length=1, $stopAfter=0)
|
||||
{
|
||||
//Сколько букв нужно вырезать все или только часть
|
||||
@ -124,10 +170,11 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
|
||||
/**
|
||||
* Выполняет над словом типа $gender (man / woman) в порядке указанов в $rulesArray
|
||||
* @param string $gender - мужские/женский правила
|
||||
* @param type $rulesArray - массив, порядок выполнения правил
|
||||
* @return boolean
|
||||
* Над текущим словом (<var>$this->workingWord</var>) выполняются правила в порядке указаном в <var>$rulesArray</var>.
|
||||
* <var>$gender</var> служит для указания какие правила использовать мужские ('man') или женские ('woman')
|
||||
* @param string $gender - префикс мужских/женских правил
|
||||
* @param array $rulesArray - массив, порядок выполнения правил
|
||||
* @return boolean если правило было задествовано, тогда true, если нет - тогда false
|
||||
*/
|
||||
protected function RulesChain($gender, $rulesArray)
|
||||
{
|
||||
@ -141,16 +188,14 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция проверяет, входит ли буква в строку.
|
||||
*
|
||||
* @param $letter - буква
|
||||
* @param $string - строка
|
||||
*
|
||||
* @return boolean
|
||||
|
||||
/**
|
||||
* Если <var>$string</var> строка, тогда проверяется входит ли буква <var>$letter</var> в строку <var>$string</var>
|
||||
* Если <var>$string</var> массив, тогда проверяется входит ли строка <var>$letter</var> в массив <var>$string</var>
|
||||
* @param string $letter буква или строка, которую нужно искать
|
||||
* @param mixed $string строка или массив, в котором нужно искать
|
||||
* @return bool true если искомое значение найдено
|
||||
*/
|
||||
|
||||
protected function in($letter, $string)
|
||||
{
|
||||
//Если второй параметр массив
|
||||
@ -172,10 +217,9 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
|
||||
/**
|
||||
* Функция проверяет, входит ли имя в перечень имен.
|
||||
*
|
||||
* @param string $nameNeedle - имя
|
||||
* @param string $names - перечень имен
|
||||
* Функция проверяет, входит ли имя <var>$nameNeedle</var> в перечень имен <var>$names</var>.
|
||||
* @param string $nameNeedle - имя которое нужно найти
|
||||
* @param array $names - перечень имен в котором нужно найти имя
|
||||
*/
|
||||
protected function inNames($nameNeedle, $names)
|
||||
{
|
||||
@ -194,16 +238,13 @@ class NCLNameCaseCore extends NCL
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция дополняет переданое слово нужными окончаниями.
|
||||
*
|
||||
* @param $word (string) - слово
|
||||
* @param $endings (array) - окончания
|
||||
* @param $replaceLast (int) - сколько букв убрать
|
||||
*
|
||||
* @return (array)
|
||||
/**
|
||||
* Склоняет слово <var>$word</var>, удаляя из него <var>$replaceLast</var> последних букв
|
||||
* и добавляя в каждый падеж окончание из массива <var>$endings</var>.
|
||||
* @param string $word слово, к которому нужно добавить окончания
|
||||
* @param array $endings массив окончаний
|
||||
* @param int $replaceLast сколько последних букв нужно убрать с начального слова
|
||||
*/
|
||||
|
||||
protected function wordForms($word, $endings, $replaceLast=0)
|
||||
{
|
||||
//Создаем массив с именительный падежом
|
||||
@ -220,14 +261,11 @@ class NCLNameCaseCore extends NCL
|
||||
$this->lastResult = $result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка имени
|
||||
*
|
||||
* @param $firstname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$firstname</var> и пометкой, что это имя
|
||||
* @param string $firstname имя
|
||||
*/
|
||||
|
||||
public function setFirstName($firstname="")
|
||||
{
|
||||
if ($firstname)
|
||||
@ -239,14 +277,11 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$secondname</var> и пометкой, что это фамилия
|
||||
* @param string $secondname фамилия
|
||||
*/
|
||||
|
||||
public function setSecondName($secondname="")
|
||||
{
|
||||
if ($secondname)
|
||||
@ -258,14 +293,11 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Отчества
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$fathername</var> и пометкой, что это отчество
|
||||
* @param string $fathername отчество
|
||||
*/
|
||||
|
||||
public function setFatherName($fathername="")
|
||||
{
|
||||
if ($fathername)
|
||||
@ -277,16 +309,13 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка пола
|
||||
*
|
||||
* @param $gender
|
||||
/**
|
||||
* Всем словам устанавливается пол, который может иметь следующие значения
|
||||
* - 0 - не определено
|
||||
* - NCL::$MAN - мужчина
|
||||
* - NCL::$WOMAN - женщина
|
||||
* @return void
|
||||
* @param int $gender пол, который нужно установить
|
||||
*/
|
||||
|
||||
public function setGender($gender=0)
|
||||
{
|
||||
foreach ($this->words as $word)
|
||||
@ -295,16 +324,12 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Имени, Фамилии, Отчества
|
||||
*
|
||||
* @param $firstName - имя
|
||||
* @param $secondName - фамилия
|
||||
* @param $fatherName - отчество
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В система заносится сразу фамилия, имя, отчество
|
||||
* @param string $secondName фамилия
|
||||
* @param string $firstName имя
|
||||
* @param string $fatherName отчество
|
||||
*/
|
||||
|
||||
public function setFullName($secondName="", $firstName="", $fatherName="")
|
||||
{
|
||||
$this->setFirstName($firstName);
|
||||
@ -312,62 +337,64 @@ class NCLNameCaseCore extends NCL
|
||||
$this->setFatherName($fatherName);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка имени
|
||||
*
|
||||
* @param $firstname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$firstname</var> и пометкой, что это имя
|
||||
* @param string $firstname имя
|
||||
*/
|
||||
|
||||
public function setName($firstname="")
|
||||
{
|
||||
$this->setFirstName($firstname);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$secondname</var> и пометкой, что это фамилия
|
||||
* @param string $secondname фамилия
|
||||
*/
|
||||
|
||||
public function setLastName($secondname="")
|
||||
{
|
||||
$this->setSecondName($secondname);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
/**
|
||||
* В массив <var>$this->words</var> добавляется новый об’єкт класса NCLNameCaseWord
|
||||
* со словом <var>$secondname</var> и пометкой, что это фамилия
|
||||
* @param string $secondname фамилия
|
||||
*/
|
||||
|
||||
public function setSirname($secondname="")
|
||||
public function setSirName($secondname="")
|
||||
{
|
||||
$this->setSecondName($secondname);
|
||||
}
|
||||
|
||||
protected function prepareNamePart(NCLNameCaseWord $word)
|
||||
|
||||
/**
|
||||
* Если слово <var>$word</var> не идентифицировано, тогда определяется это имя, фамилия или отчество
|
||||
* @param NCLNameCaseWord $word слово которое нужно идентифицировать
|
||||
*/
|
||||
private function prepareNamePart(NCLNameCaseWord $word)
|
||||
{
|
||||
if (!$word->getNamePart())
|
||||
{
|
||||
$this->detectNamePart($word);
|
||||
}
|
||||
}
|
||||
|
||||
protected function prepareAllNameParts()
|
||||
|
||||
/**
|
||||
* Проверяет все ли слова идентифицированы, если нет тогда для каждого определяется это имя, фамилия или отчество
|
||||
*/
|
||||
private function prepareAllNameParts()
|
||||
{
|
||||
foreach ($this->words as $word)
|
||||
{
|
||||
$this->prepareNamePart($word);
|
||||
}
|
||||
}
|
||||
|
||||
protected function prepareGender(NCLNameCaseWord $word)
|
||||
|
||||
/**
|
||||
* Определяет пол для слова <var>$word</var>
|
||||
* @param NCLNameCaseWord $word слово для которого нужно определить пол
|
||||
*/
|
||||
private function prepareGender(NCLNameCaseWord $word)
|
||||
{
|
||||
if (!$word->isGenderSolved())
|
||||
{
|
||||
@ -383,8 +410,13 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected function solveGender()
|
||||
|
||||
/**
|
||||
* Для всех слов проверяет определен ли пол, если нет - определяет его
|
||||
* После этого расчитывает пол для всех слов и устанавливает такой пол всем словам
|
||||
* @return bool был ли определен пол
|
||||
*/
|
||||
private function solveGender()
|
||||
{
|
||||
//Ищем, может гдето пол уже установлен
|
||||
foreach ($this->words as $word)
|
||||
@ -419,8 +451,14 @@ class NCLNameCaseCore extends NCL
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
protected function generateIndex()
|
||||
|
||||
/**
|
||||
* Генерируется массив, который содержит информацию о том какие слова из массива <var>$this->words</var> относятся к
|
||||
* фамилии, какие к отчеству а какие к имени. Массив нужен потому, что при добавлении слов мы не
|
||||
* всегда знаем какая часть ФИО сейчас, поэтому после идентификации всех слов генерируется массив
|
||||
* индексов для быстрого поиска в дальнейшем.
|
||||
*/
|
||||
private function generateIndex()
|
||||
{
|
||||
$this->index = array('N' => array(), 'S' => array(), 'F' => array());
|
||||
foreach ($this->words as $index => $word)
|
||||
@ -429,8 +467,13 @@ class NCLNameCaseCore extends NCL
|
||||
$this->index[$namepart][] = $index;
|
||||
}
|
||||
}
|
||||
|
||||
protected function prepareEverything()
|
||||
|
||||
/**
|
||||
* Выполнет все необходимые подготовления для склонения.
|
||||
* Все слова идентфицируются. Определяется пол.
|
||||
* Обновляется индекс.
|
||||
*/
|
||||
private function prepareEverything()
|
||||
{
|
||||
if (!$this->ready)
|
||||
{
|
||||
@ -441,12 +484,13 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Автоматическое определение пола
|
||||
* Возвращает пол по ФИО
|
||||
* @return integer
|
||||
/**
|
||||
* По указаным словам определяется пол человека:
|
||||
* - 0 - не определено
|
||||
* - NCL::$MAN - мужчина
|
||||
* - NCL::$WOMAN - женщина
|
||||
* @return int текущий пол человека
|
||||
*/
|
||||
|
||||
public function genderAutoDetect()
|
||||
{
|
||||
$this->prepareEverything();
|
||||
@ -457,11 +501,15 @@ class NCLNameCaseCore extends NCL
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Разбиение фразы на слова и определение, где имя, где фамилия, где отчество
|
||||
* @return string $format - формат имен и фамилий
|
||||
/**
|
||||
* Разбивает строку <var>$fullname</var> на слова и возвращает формат в котором записано имя
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param string $fullname строка, для которой необходимо определить формат
|
||||
* @return string формат в котором записано имя например 'N F S'
|
||||
*/
|
||||
|
||||
public function splitFullName($fullname)
|
||||
{
|
||||
|
||||
@ -483,8 +531,12 @@ class NCLNameCaseCore extends NCL
|
||||
|
||||
return implode(' ', $formatArr);
|
||||
}
|
||||
|
||||
protected function WordCase(NCLNameCaseWord $word)
|
||||
|
||||
/**
|
||||
* Склоняет слово <var>$word</var> по нужным правилам в зависимости от пола и типа слова
|
||||
* @param NCLNameCaseWord $word слово, которое нужно просклонять
|
||||
*/
|
||||
private function WordCase(NCLNameCaseWord $word)
|
||||
{
|
||||
$gender = ($word->gender() == NCL::$MAN ? 'man' : 'woman');
|
||||
|
||||
@ -512,8 +564,11 @@ class NCLNameCaseCore extends NCL
|
||||
$word->setRule(-1);
|
||||
}
|
||||
}
|
||||
|
||||
protected function AllWordCases()
|
||||
|
||||
/**
|
||||
* Производит склонение всех слов, который хранятся в массиве <var>$this->words</var>
|
||||
*/
|
||||
private function AllWordCases()
|
||||
{
|
||||
if (!$this->finished)
|
||||
{
|
||||
@ -527,7 +582,14 @@ class NCLNameCaseCore extends NCL
|
||||
$this->finished = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Если указан номер падежа <var>$number</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param NCLNameCaseWord $word слово для котрого нужно вернуть падеж
|
||||
* @param int $number номер падежа, который нужно вернуть
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
private function getWordCase(NCLNameCaseWord $word, $number=null)
|
||||
{
|
||||
$cases = $word->getNameCases();
|
||||
@ -542,9 +604,11 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
|
||||
/**
|
||||
* Возвращает склееные результаты склонения
|
||||
* @param array $indexArray - индексы слов, которые необходимо склеить
|
||||
* @param int $number -
|
||||
* Если нужно было просклонять несколько слов, то их необходимо собрать в одну строку.
|
||||
* Эта функция собирает все слова указаные в <var>$indexArray</var> в одну строку.
|
||||
* @param array $indexArray индексы слов, которые необходимо собрать вместе
|
||||
* @param int $number номер падежа
|
||||
* @return mixed либо массив со всеми падежами, либо строка с одним падежом
|
||||
*/
|
||||
private function getCasesConnected($indexArray, $number=null)
|
||||
{
|
||||
@ -580,12 +644,14 @@ class NCLNameCaseCore extends NCL
|
||||
return '';
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить имя в определенный падеж
|
||||
/**
|
||||
* Функция ставит имя в нужный падеж.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$number</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param int $number номер падежа
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function getFirstNameCase($number=null)
|
||||
{
|
||||
$this->AllWordCases();
|
||||
@ -593,12 +659,14 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getCasesConnected($this->index['N'], $number);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
/**
|
||||
* Функция ставит фамилию в нужный падеж.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$number</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param int $number номер падежа
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function getSecondNameCase($number=null)
|
||||
{
|
||||
$this->AllWordCases();
|
||||
@ -606,12 +674,14 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getCasesConnected($this->index['S'], $number);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить отчество в определенный падеж
|
||||
/**
|
||||
* Функция ставит отчество в нужный падеж.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$number</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param int $number номер падежа
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function getFatherNameCase($number=null)
|
||||
{
|
||||
$this->AllWordCases();
|
||||
@ -619,12 +689,16 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getCasesConnected($this->index['F'], $number);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
/**
|
||||
* Функция ставит имя <var>$firstName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$CaseNumber</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param string $firstName имя, которое нужно просклонять
|
||||
* @param int $CaseNumber номер падежа
|
||||
* @param int $gender пол, который нужно использовать
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function qFirstName($firstName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->fullReset();
|
||||
@ -636,12 +710,16 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getFirstNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
/**
|
||||
* Функция ставит фамилию <var>$secondName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$CaseNumber</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param string $secondName фамилия, которую нужно просклонять
|
||||
* @param int $CaseNumber номер падежа
|
||||
* @param int $gender пол, который нужно использовать
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function qSecondName($secondName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->fullReset();
|
||||
@ -654,12 +732,16 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getSecondNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить отчество в определенный падеж
|
||||
/**
|
||||
* Функция ставит отчество <var>$fatherName</var> в нужный падеж <var>$CaseNumber</var> по правилам пола <var>$gender</var>.
|
||||
*
|
||||
* @return string
|
||||
* Если указан номер падежа <var>$CaseNumber</var>, тогда возвращается строка с таким номером падежа,
|
||||
* если нет, тогда возвращается массив со всеми падежами текущего слова.
|
||||
* @param string $fatherName отчество, которое нужно просклонять
|
||||
* @param int $CaseNumber номер падежа
|
||||
* @param int $gender пол, который нужно использовать
|
||||
* @return mixed массив или строка с нужным падежом
|
||||
*/
|
||||
|
||||
public function qFatherName($fatherName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->fullReset();
|
||||
@ -671,16 +753,15 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getFatherNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет во все падежи и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* @return array
|
||||
/**
|
||||
* Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var>
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param string $format строка формат
|
||||
* @return array массив со всеми падежами
|
||||
*/
|
||||
|
||||
public function getFormattedArray($format)
|
||||
{
|
||||
if (is_array($format))
|
||||
@ -735,7 +816,16 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var>
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param array $format массив с форматом
|
||||
* @return array массив со всеми падежами
|
||||
*/
|
||||
public function getFormattedArrayHard($format)
|
||||
{
|
||||
|
||||
@ -785,7 +875,16 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Склоняет текущие слова в падеж <var>$caseNum</var> и форматирует слово по шаблону <var>$format</var>
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param array $format массив с форматом
|
||||
* @return string строка в нужном падеже
|
||||
*/
|
||||
public function getFormattedHard($caseNum=0, $format=array())
|
||||
{
|
||||
$result = "";
|
||||
@ -811,19 +910,15 @@ class NCLNameCaseCore extends NCL
|
||||
return trim($result);
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет в падеж $caseNum, и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* Например getFormatted(1, 'N F')
|
||||
* Выведет имя и отчество в родительном падиже
|
||||
*
|
||||
* @return string
|
||||
/**
|
||||
* Склоняет текущие слова в падеж <var>$caseNum</var> и форматирует слово по шаблону <var>$format</var>
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param string $format строка с форматом
|
||||
* @return string строка в нужном падеже
|
||||
*/
|
||||
|
||||
public function getFormatted($caseNum=0, $format="S N F")
|
||||
{
|
||||
//Если не указан падеж используем другую функцию
|
||||
@ -864,16 +959,21 @@ class NCLNameCaseCore extends NCL
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет фамилию имя отчество в падеж $caseNum, и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* @return string
|
||||
/**
|
||||
* Склоняет фамилию <var>$secondName</var>, имя <var>$firstName</var>, отчество <var>$fatherName</var>
|
||||
* в падеж <var>$caseNum</var> по правилам пола <var>$gender</var> и форматирует результат по шаблону <var>$format</var>
|
||||
* <b>Формат:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param string $secondName фамилия
|
||||
* @param string $firstName имя
|
||||
* @param string $fatherName отчество
|
||||
* @param int $gender пол
|
||||
* @param int $caseNum номер падежа
|
||||
* @param string $format формат
|
||||
* @return mixed либо массив со всеми падежами, либо строка
|
||||
*/
|
||||
|
||||
public function qFullName($secondName="", $firstName="", $fatherName="", $gender=0, $caseNum=0, $format="S N F")
|
||||
{
|
||||
$this->fullReset();
|
||||
@ -888,12 +988,14 @@ class NCLNameCaseCore extends NCL
|
||||
return $this->getFormatted($caseNum, $format);
|
||||
}
|
||||
|
||||
/*
|
||||
* Быстрое склонение имени. Передается один параметр строка, где может быть ФИО в любом виде. Есть необязательный параметр пол. И так ще необязательный параметр падеж. Если падеж указан, тогда возвращается строка в том падеже, если нет тогда все возможные падежи.
|
||||
*
|
||||
* @return string
|
||||
/**
|
||||
* Склоняет ФИО <var>$fullname</var> в падеж <var>$caseNum</var> по правилам пола <var>$gender</var>.
|
||||
* Возвращает результат в таком же формате, как он и был.
|
||||
* @param string $fullname ФИО
|
||||
* @param int $caseNum номер падежа
|
||||
* @param int $gender пол человека
|
||||
* @return mixed либо массив со всеми падежами, либо строка
|
||||
*/
|
||||
|
||||
public function q($fullname, $caseNum=null, $gender=null)
|
||||
{
|
||||
$this->fullReset();
|
||||
|
@ -1,8 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @author seagull
|
||||
* Интерфейс для русского и украинского языка
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
interface NCLNameCaseInterface
|
||||
{
|
||||
|
@ -1,9 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
* NCLNameCaseWord - класс, который служит для хранения всей информации о каждом слове
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCLNameCaseWord
|
||||
{
|
||||
@ -73,15 +79,21 @@ class NCLNameCaseWord
|
||||
private $rule = 0;
|
||||
|
||||
/**
|
||||
* Создать запись из слова
|
||||
* @param string $word
|
||||
* Создание нового обьекта со словом <var>$word</var>
|
||||
* @param string $word слово
|
||||
*/
|
||||
public function __construct($word)
|
||||
{
|
||||
$this->generateMask($word);
|
||||
$this->word = NCLStr::strtolower($word);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Генерирует маску, которая содержит информацию о том, какие буквы в слове были большими, а какие маленькими:
|
||||
* - x - маленькая буква
|
||||
* - X - больная буква
|
||||
* @param string $word слово, для которого генерировать маску
|
||||
*/
|
||||
private function generateMask($word)
|
||||
{
|
||||
$letters = NCLStr::splitLetters($word);
|
||||
@ -101,7 +113,12 @@ class NCLNameCaseWord
|
||||
}
|
||||
$this->letterMask = $mask;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает все падежи слова в начальную маску:
|
||||
* - x - маленькая буква
|
||||
* - X - больная буква
|
||||
*/
|
||||
private function returnMask()
|
||||
{
|
||||
if ($this->isUpperCase)
|
||||
@ -134,18 +151,30 @@ class NCLNameCaseWord
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Сохраняет результат склонения текущего слова
|
||||
* @param array $nameCases массив со всеми падежами
|
||||
*/
|
||||
public function setNameCases($nameCases)
|
||||
{
|
||||
$this->NameCases = $nameCases;
|
||||
$this->returnMask();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает массив со всеми падежами текущего слова
|
||||
* @return array массив со всеми падежами
|
||||
*/
|
||||
public function getNameCases()
|
||||
{
|
||||
return $this->NameCases;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Расчитывает и возвращает пол текущего слова
|
||||
* @return int пол текущего слова
|
||||
*/
|
||||
public function gender()
|
||||
{
|
||||
if (!$this->genderSolved)
|
||||
@ -161,43 +190,88 @@ class NCLNameCaseWord
|
||||
}
|
||||
return $this->genderSolved;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Устанавливает вероятности того, что даное слово является мужчиной или женщиной
|
||||
* @param int $man вероятность того, что слово мужчина
|
||||
* @param int $woman верятность того, что слово женщина
|
||||
*/
|
||||
public function setGender($man, $woman)
|
||||
{
|
||||
$this->genderMan = $man;
|
||||
$this->genderWoman = $woman;
|
||||
}
|
||||
|
||||
/**
|
||||
* Окончательно устанавливает пол человека
|
||||
* - 0 - не определено
|
||||
* - NCL::$MAN - мужчина
|
||||
* - NCL::$WOMAN - женщина
|
||||
* @param int $gender пол человека
|
||||
*/
|
||||
public function setTrueGender($gender)
|
||||
{
|
||||
$this->genderSolved = $gender;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает массив вероятности того, что даное слово является мужчиной или женщиной
|
||||
* @return array массив вероятностей
|
||||
*/
|
||||
public function getGender()
|
||||
{
|
||||
return array(NCL::$MAN => $this->genderMan, NCL::$WOMAN => $this->genderWoman);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Устанавливает тип текущего слова
|
||||
* <b>Тип слова:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @param string $namePart тип слова
|
||||
*/
|
||||
public function setNamePart($namePart)
|
||||
{
|
||||
$this->namePart = $namePart;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает тип текущего слова
|
||||
* <b>Тип слова:</b>
|
||||
* - S - Фамилия
|
||||
* - N - Имя
|
||||
* - F - Отчество
|
||||
* @return string $namePart тип слова
|
||||
*/
|
||||
public function getNamePart()
|
||||
{
|
||||
return $this->namePart;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Возвращает текущее слово.
|
||||
* @return string текущее слово
|
||||
*/
|
||||
public function getWord()
|
||||
{
|
||||
return $this->word;
|
||||
}
|
||||
|
||||
/**
|
||||
* Если уже был расчитан пол для всех слов системы, тогда каждому слову предается окончательное
|
||||
* решение. Эта функция определяет было ли принято окончательное решение.
|
||||
* @return bool было ли принято окончательное решение по поводу пола текущего слова
|
||||
*/
|
||||
public function isGenderSolved()
|
||||
{
|
||||
return ($this->genderSolved ? true : false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Устанавливает номер правила по которому склонялось текущее слово.
|
||||
* @param int $ruleID номер правила
|
||||
*/
|
||||
public function setRule($ruleID)
|
||||
{
|
||||
$this->rule = $ruleID;
|
||||
|
@ -1,83 +1,115 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
* Description of NCLStr
|
||||
*
|
||||
* @author seagull
|
||||
* Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCLStr
|
||||
{
|
||||
|
||||
/**
|
||||
* Кодировка, в котороя работает система
|
||||
* @var string
|
||||
*/
|
||||
static $charset = 'utf-8';
|
||||
|
||||
/*
|
||||
* Обертка для substr
|
||||
/**
|
||||
* Получить подстроку из строки
|
||||
* @param string $str строка
|
||||
* @param int $start начало подстроки
|
||||
* @param int $length длина подстроки
|
||||
* @return int подстрока
|
||||
*/
|
||||
|
||||
static function substr($str, $start, $length=null)
|
||||
{
|
||||
return mb_substr($str, $start, $length, NCLStr::$charset);
|
||||
}
|
||||
|
||||
/*
|
||||
* Обертка для strpos
|
||||
/**
|
||||
* Поиск подстроки в строке
|
||||
* @param string $haystack строка, в которой искать
|
||||
* @param string $needle подстрока, которую нужно найти
|
||||
* @param int $offset начало поиска
|
||||
* @return int позиция подстроки в строке
|
||||
*/
|
||||
|
||||
static function strpos($haystack, $needle, $offset = 0)
|
||||
{
|
||||
return mb_strpos($haystack, $needle, $offset, NCLStr::$charset);
|
||||
}
|
||||
|
||||
/*
|
||||
* Обертка для strlen
|
||||
/**
|
||||
* Определение длины строки
|
||||
* @param string $str строка
|
||||
* @return int длина строки
|
||||
*/
|
||||
|
||||
static function strlen($str)
|
||||
{
|
||||
return mb_strlen($str, NCLStr::$charset);
|
||||
}
|
||||
|
||||
/*
|
||||
* Обертка для strtolower
|
||||
/**
|
||||
* Переводит строку в нижний регистр
|
||||
* @param string $str строка
|
||||
* @return string строка в нижнем регистре
|
||||
*/
|
||||
|
||||
static function strtolower($str)
|
||||
{
|
||||
return mb_strtolower($str, NCLStr::$charset);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Переводит строку в верхний регистр
|
||||
* @param string $str строка
|
||||
* @return string строка в верхнем регистре
|
||||
*/
|
||||
static function strtoupper($str)
|
||||
{
|
||||
return mb_strtoupper($str, NCLStr::$charset);
|
||||
}
|
||||
|
||||
/**
|
||||
* Обертка для strrpos
|
||||
* @param type $haystack
|
||||
* @param type $needle
|
||||
* @param type $offset
|
||||
* @return type
|
||||
* Поиск подстроки в строке справа
|
||||
* @param string $haystack строка, в которой искать
|
||||
* @param string $needle подстрока, которую нужно найти
|
||||
* @param int $offset начало поиска
|
||||
* @return int позиция подстроки в строке
|
||||
*/
|
||||
static function strrpos($haystack, $needle, $offset=null)
|
||||
{
|
||||
return mb_strrpos($haystack, $needle, $offset, NCLStr::$charset);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Проверяет в нижнем ли регистре находится строка
|
||||
* @param string $phrase строка
|
||||
* @return bool в нижнем ли регистре строка
|
||||
*/
|
||||
static function isLowerCase($phrase)
|
||||
{
|
||||
return ($phrase == NCLStr::strtolower($phrase));
|
||||
}
|
||||
|
||||
/**
|
||||
* Проверяет в верхнем ли регистре находится строка
|
||||
* @param string $phrase строка
|
||||
* @return bool в верхнем ли регистре строка
|
||||
*/
|
||||
static function isUpperCase($phrase)
|
||||
{
|
||||
return ($phrase == NCLStr::strtoupper($phrase));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Превращает строку в массив букв
|
||||
* @param string $phrase строка
|
||||
* @return array массив букв
|
||||
*/
|
||||
static function splitLetters($phrase)
|
||||
{
|
||||
$resultArr = array();
|
||||
@ -89,11 +121,22 @@ class NCLStr
|
||||
return $resultArr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Соединяет массив букв в строку
|
||||
* @param array $lettersArr массив букв
|
||||
* @return string строка
|
||||
*/
|
||||
static function connectLetters($lettersArr)
|
||||
{
|
||||
return implode('', $lettersArr);
|
||||
}
|
||||
|
||||
/**
|
||||
* Разбивает строку на части использую шаблон
|
||||
* @param string $pattern шаблон разбития
|
||||
* @param string $string строка, которую нужно разбить
|
||||
* @return array разбитый массив
|
||||
*/
|
||||
static function explode($pattern, $string)
|
||||
{
|
||||
return mb_split($pattern, $string);
|
||||
|
Loading…
Reference in New Issue
Block a user