mirror of
https://github.com/retailcrm/NameCaseLib.git
synced 2024-12-05 03:16:06 +03:00
commit
fdf792f18e
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 Sat, 09 Jul 2011 17:55:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
1903
Docs/NameCaseLib/NCLNameCaseCore.html
Normal file
1903
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="#getFullNameFormat" title="details" class="method-name">getFullNameFormat</a>
|
||||
(<span class="var-type"></span> <span class="var-name">$fullname</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>
|
||||
</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="evenrow">
|
||||
|
||||
<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="oddrow">
|
||||
|
||||
<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="evenrow">
|
||||
|
||||
<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="oddrow">
|
||||
|
||||
<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="evenrow">
|
||||
|
||||
<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="methodgetFullNameFormat" id="getFullNameFormat"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getFullNameFormat</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">
|
||||
getFullNameFormat
|
||||
</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>
|
||||
<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>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Thu, 07 Jul 2011 00:01:02 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
999
Docs/NameCaseLib/NCLNameCaseRu.html
Normal file
999
Docs/NameCaseLib/NCLNameCaseRu.html
Normal file
@ -0,0 +1,999 @@
|
||||
<?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">
|
||||
<!-- ========== 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">30</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">597</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methoddetectNamePart">NCLNameCaseCore::detectNamePart()</a></dt>
|
||||
<dd>Идетифицирует слово определяе имя это, или фамилия, или отчество</dd>
|
||||
</dl>
|
||||
|
||||
</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">576</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFatherName">NCLNameCaseCore::GenderByFatherName()</a></dt>
|
||||
<dd>Определение пола по правилам отчеств</dd>
|
||||
</dl>
|
||||
|
||||
</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">480</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFirstName">NCLNameCaseCore::GenderByFirstName()</a></dt>
|
||||
<dd>Определение пола по правилам имен</dd>
|
||||
</dl>
|
||||
|
||||
</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">547</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderBySecondName">NCLNameCaseCore::GenderBySecondName()</a></dt>
|
||||
<dd>Определение пола по правилам фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</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">445</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFatherName">NCLNameCaseCore::manFatherName()</a></dt>
|
||||
<dd>Функция склоняет мужский отчества</dd>
|
||||
</dl>
|
||||
|
||||
</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">409</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFirstName">NCLNameCaseCore::manFirstName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для мужских имен</dd>
|
||||
</dl>
|
||||
|
||||
</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">57</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">82</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">115</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">146</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">185</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">216</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">243</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">280</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">427</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanSecondName">NCLNameCaseCore::manSecondName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для мужских фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</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">465</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFatherName">NCLNameCaseCore::womanFatherName()</a></dt>
|
||||
<dd>Функция склоняет женские отчества</dd>
|
||||
</dl>
|
||||
|
||||
</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">418</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFirstName">NCLNameCaseCore::womanFirstName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для женских имен</dd>
|
||||
</dl>
|
||||
|
||||
</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">296</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">331</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">356</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">372</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">436</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanSecondName">NCLNameCaseCore::womanSecondName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для женских фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</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#methoddetectNamePart">NCLNameCaseCore::detectNamePart()</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#methodGenderByFatherName">NCLNameCaseCore::GenderByFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFirstName">NCLNameCaseCore::GenderByFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderBySecondName">NCLNameCaseCore::GenderBySecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderDetect">NCLNameCaseCore::genderDetect()</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#methodgetFullNameFormat">NCLNameCaseCore::getFullNameFormat()</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#methodgetWordsArray">NCLNameCaseCore::getWordsArray()</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#methodmanFatherName">NCLNameCaseCore::manFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFirstName">NCLNameCaseCore::manFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanSecondName">NCLNameCaseCore::manSecondName()</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#methodwomanFatherName">NCLNameCaseCore::womanFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFirstName">NCLNameCaseCore::womanFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanSecondName">NCLNameCaseCore::womanSecondName()</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 Sat, 09 Jul 2011 17:55:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
880
Docs/NameCaseLib/NCLNameCaseUa.html
Normal file
880
Docs/NameCaseLib/NCLNameCaseUa.html
Normal file
@ -0,0 +1,880 @@
|
||||
<?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 NCLNameCaseUa</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 NCLNameCaseUa</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"><strong>NCL NameCase Ukranian 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.ua.php.html">/NCL.NameCase.ua.php</a> (line <span class="field">23</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre><a href="../NameCaseLib/NCL.html">NCL</a>
|
||||
|
|
||||
--<a href="../NameCaseLib/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
|
|
||||
--NCLNameCaseUa</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">boolean</span>
|
||||
<a href="#manRule1" title="details" class="method-name">manRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule2" title="details" class="method-name">manRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule3" title="details" class="method-name">manRule3</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule4" title="details" class="method-name">manRule4</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule5" title="details" class="method-name">manRule5</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">boolean</span>
|
||||
<a href="#womanRule1" title="details" class="method-name">womanRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanRule2" title="details" class="method-name">womanRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanRule3" title="details" class="method-name">womanRule3</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"> 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">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">700</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methoddetectNamePart">NCLNameCaseCore::detectNamePart()</a></dt>
|
||||
<dd>Идетифицирует слово определяе имя это, или фамилия, или отчество</dd>
|
||||
</dl>
|
||||
|
||||
</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">679</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFatherName">NCLNameCaseCore::GenderByFatherName()</a></dt>
|
||||
<dd>Определение пола по правилам отчеств</dd>
|
||||
</dl>
|
||||
|
||||
</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">595</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFirstName">NCLNameCaseCore::GenderByFirstName()</a></dt>
|
||||
<dd>Определение пола по правилам имен</dd>
|
||||
</dl>
|
||||
|
||||
</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">650</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>
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderBySecondName">NCLNameCaseCore::GenderBySecondName()</a></dt>
|
||||
<dd>Определение пола по правилам фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</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">567</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFatherName">NCLNameCaseCore::manFatherName()</a></dt>
|
||||
<dd>Функция склоняет мужский отчества</dd>
|
||||
</dl>
|
||||
|
||||
</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">531</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFirstName">NCLNameCaseCore::manFirstName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для мужских имен</dd>
|
||||
</dl>
|
||||
|
||||
</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">192</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Українські чоловічі та жіночі імена, що в називному відмінку однини закінчуються на -а (-я), відмінються як відповідні іменники І відміни.</p>
|
||||
<p class="description"><p><ul><li>Примітка 1. Кінцеві приголосні основи г, к, х у жіночих іменах
|
||||
у давальному та місцевому відмінках однини перед закінченням -і
|
||||
змінюються на з, ц, с: Ольга - Ользі, Палажка - Палажці, Солоха - Солосі.</li><li>Примітка 2. У жіночих іменах типу Одарка, Параска в родовому відмінку множини
|
||||
в кінці основи між приголосними з'являється звук о: Одарок, Парасок.</li></ul></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">boolean</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">229</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">
|
||||
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">259</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">
|
||||
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">377</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">
|
||||
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">392</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">
|
||||
manRule5
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanSecondName" id="manSecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">549</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanSecondName">NCLNameCaseCore::manSecondName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для мужских фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
<a name="methodwomanFatherName" id="womanFatherName"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">581</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFatherName">NCLNameCaseCore::womanFatherName()</a></dt>
|
||||
<dd>Функция склоняет женские отчества</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
<a name="methodwomanFirstName" id="womanFirstName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">540</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFirstName">NCLNameCaseCore::womanFirstName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для женских имен</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule1" id="womanRule1"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">413</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Українські чоловічі та жіночі імена, що в називному відмінку однини закінчуються на -а (-я), відмінються як відповідні іменники І відміни.</p>
|
||||
<p class="description"><p><ul><li>Примітка 1. Кінцеві приголосні основи г, к, х у жіночих іменах
|
||||
у давальному та місцевому відмінках однини перед закінченням -і
|
||||
змінюються на з, ц, с: Ольга - Ользі, Палажка - Палажці, Солоха - Солосі.</li><li>Примітка 2. У жіночих іменах типу Одарка, Параска в родовому відмінку множини
|
||||
в кінці основи між приголосними з'являється звук о: Одарок, Парасок</li></ul></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">boolean</span>
|
||||
<span class="method-name">
|
||||
womanRule1
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule2" id="womanRule2"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">459</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">boolean</span>
|
||||
<span class="method-name">
|
||||
womanRule2
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule3" id="womanRule3"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">503</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">
|
||||
womanRule3
|
||||
</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">558</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>
|
||||
|
||||
|
||||
<hr class="separator" />
|
||||
<div class="notes">Redefinition of:</div>
|
||||
<dl>
|
||||
<dt><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanSecondName">NCLNameCaseCore::womanSecondName()</a></dt>
|
||||
<dd>Функция пытается применить цыпочку правил для женских фамилий</dd>
|
||||
</dl>
|
||||
|
||||
</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#methoddetectNamePart">NCLNameCaseCore::detectNamePart()</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#methodGenderByFatherName">NCLNameCaseCore::GenderByFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderByFirstName">NCLNameCaseCore::GenderByFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodGenderBySecondName">NCLNameCaseCore::GenderBySecondName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderDetect">NCLNameCaseCore::genderDetect()</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#methodgetFullNameFormat">NCLNameCaseCore::getFullNameFormat()</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#methodgetWordsArray">NCLNameCaseCore::getWordsArray()</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#methodmanFatherName">NCLNameCaseCore::manFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanFirstName">NCLNameCaseCore::manFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodmanSecondName">NCLNameCaseCore::manSecondName()</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#methodwomanFatherName">NCLNameCaseCore::womanFatherName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanFirstName">NCLNameCaseCore::womanFirstName()</a></span><br>
|
||||
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodwomanSecondName">NCLNameCaseCore::womanSecondName()</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 Sat, 09 Jul 2011 17:55:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
502
Docs/NameCaseLib/NCLNameCaseWord.html
Normal file
502
Docs/NameCaseLib/NCLNameCaseWord.html
Normal file
@ -0,0 +1,502 @@
|
||||
<?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">string</span>
|
||||
<a href="#getNameCase" title="details" class="method-name">getNameCase</a>
|
||||
(<span class="var-type">int</span> <span class="var-name">$number</span>)
|
||||
</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="evenrow">
|
||||
|
||||
<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="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">gender</span> (line <span class="line-number">192</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="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getGender</span> (line <span class="line-number">235</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="methodgetNameCase" id="getNameCase"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">getNameCase</span> (line <span class="line-number">179</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">
|
||||
getNameCase
|
||||
</span>
|
||||
(<span class="var-type">int</span> <span class="var-name">$number</span>)
|
||||
</div>
|
||||
|
||||
<ul class="parameters">
|
||||
<li>
|
||||
<span class="var-type">int</span>
|
||||
<span class="var-name">$number</span><span class="var-description">: нужный падеж</span> </li>
|
||||
</ul>
|
||||
|
||||
|
||||
</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">261</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">270</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">280</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">213</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">248</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">289</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">226</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 Sat, 09 Jul 2011 17:55:20 +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 Sat, 09 Jul 2011 17:55:20 +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 Sat, 09 Jul 2011 17:55:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
147
Docs/NameCaseLib/_NCL---NCLNameCaseCore.php.html
Normal file
147
Docs/NameCaseLib/_NCL---NCLNameCaseCore.php.html
Normal file
@ -0,0 +1,147 @@
|
||||
<?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_/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">17</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
<a name="_NCL_DIR_/NCLStr_php"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<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>
|
||||
</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="oddrow">
|
||||
|
||||
<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 Sat, 09 Jul 2011 17:55:19 +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 Thu, 07 Jul 2011 00:01:02 +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 Sat, 09 Jul 2011 17:55:20 +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 Sat, 09 Jul 2011 17:55:20 +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 Sat, 09 Jul 2011 17:55:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
90
Docs/NameCaseLib/_NCL.NameCase.ua.php.html
Normal file
90
Docs/NameCaseLib/_NCL.NameCase.ua.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.ua.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.ua.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/NCLNameCaseUa.html">NCLNameCaseUa</a>
|
||||
</td>
|
||||
<td>
|
||||
<strong>NCL NameCase Ukranian 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 Sat, 09 Jul 2011 17:55:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
13
Docs/blank.html
Normal file
13
Docs/blank.html
Normal file
@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Generated Documentation</title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center"><h1>Generated Documentation</h1></div>
|
||||
<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>
|
||||
</html>
|
36
Docs/classtrees_NameCaseLib.html
Normal file
36
Docs/classtrees_NameCaseLib.html
Normal file
@ -0,0 +1,36 @@
|
||||
<?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></title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Start of Class Data -->
|
||||
<H2>
|
||||
|
||||
</H2>
|
||||
<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 Sat, 09 Jul 2011 17:55:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
40
Docs/classtrees_default.html
Normal file
40
Docs/classtrees_default.html
Normal file
@ -0,0 +1,40 @@
|
||||
<?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></title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<!-- Start of Class Data -->
|
||||
<H2>
|
||||
|
||||
</H2>
|
||||
<h2>Root interface NCLNameCaseInterface</h2>
|
||||
<ul>
|
||||
<li><a href="default/NCLNameCaseInterface.html">NCLNameCaseInterface</a></li></ul>
|
||||
|
||||
<h2>Root class NCL</h2>
|
||||
<ul>
|
||||
<li><a href="default/NCL.html">NCL</a><ul>
|
||||
<li><a href="default/NCLNameCaseCore.html">NCLNameCaseCore</a><ul>
|
||||
<li><a href="default/NCLNameCaseRu.html">NCLNameCaseRu</a></li><li><a href="default/NCLNameCaseUa.html">NCLNameCaseUa</a></li></ul></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<h2>Root class NCLNameCaseWord</h2>
|
||||
<ul>
|
||||
<li><a href="default/NCLNameCaseWord.html">NCLNameCaseWord</a></li></ul>
|
||||
|
||||
<h2>Root class NCLStr</h2>
|
||||
<ul>
|
||||
<li><a href="default/NCLStr.html">NCLStr</a></li></ul>
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
446
Docs/default/NCL.html
Normal file
446
Docs/default/NCL.html
Normal file
@ -0,0 +1,446 @@
|
||||
<?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">Класс, который содержит основные константы библиотеки:</p>
|
||||
<p class="description"><p><ul><li>индексы мужского и женского пола</li><li>индексы всех падежей</li></ul></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---NCL.php.html">/NCL/NCL.php</a> (line <span class="field">9</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="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<a name="sec-var-summary"></a>
|
||||
<div class="info-box">
|
||||
<div class="info-box-title">Variable Summary</span></div>
|
||||
<div class="nav-bar">
|
||||
<a href="#sec-description">Description</a> |
|
||||
<a href="#sec-descendents">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">39</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">27</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">15</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">57</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">33</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">51</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">75</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">99</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">93</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">63</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">87</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">69</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">81</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">45</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">21</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 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
1401
Docs/default/NCLNameCaseCore.html
Normal file
1401
Docs/default/NCLNameCaseCore.html
Normal file
File diff suppressed because it is too large
Load Diff
778
Docs/default/NCLNameCaseInterface.html
Normal file
778
Docs/default/NCLNameCaseInterface.html
Normal file
@ -0,0 +1,778 @@
|
||||
<?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 ========= -->
|
||||
<ul class="tags">
|
||||
<li><span class="field">author:</span> seagull</li>
|
||||
</ul>
|
||||
<p class="notes">
|
||||
Located in <a class="field" href="_NCL---NCLNameCaseInterface.php.html">/NCL/NCLNameCaseInterface.php</a> (line <span class="field">7</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">26</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">34</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">30</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">44</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">42</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">32</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">48</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">40</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">36</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">46</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">38</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">14</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">10</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">18</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">16</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">22</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">20</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">12</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">24</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">28</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 13:46:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
932
Docs/default/NCLNameCaseRu.html
Normal file
932
Docs/default/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="../default/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>
|
||||
<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">15</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre><a href="../default/NCL.html">NCL</a>
|
||||
|
|
||||
--<a href="../default/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="../default/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="../default/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="../default/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="../default/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">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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</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>
|
||||
<blockquote>
|
||||
<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$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>
|
||||
</blockquote>
|
||||
<p>Inherited from <span class="classname"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
</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">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>
|
||||
|
||||
<div class="method-signature">
|
||||
<span class="method-result">void</span>
|
||||
<span class="method-name">
|
||||
detectNamePart
|
||||
</span>
|
||||
(<span class="var-type"><a href="../default/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-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">571</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="../default/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-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">475</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="../default/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-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">542</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="../default/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-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">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">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">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">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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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">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">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">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">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">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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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>
|
||||
|
||||
<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">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">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="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<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#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#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#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#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
813
Docs/default/NCLNameCaseUa.html
Normal file
813
Docs/default/NCLNameCaseUa.html
Normal file
@ -0,0 +1,813 @@
|
||||
<?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 NCLNameCaseUa</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 NCLNameCaseUa</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="../default/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>
|
||||
<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.ua.php.html">/NCL.NameCase.ua.php</a> (line <span class="field">17</span>)
|
||||
</p>
|
||||
|
||||
|
||||
<pre><a href="../default/NCL.html">NCL</a>
|
||||
|
|
||||
--<a href="../default/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
|
|
||||
--NCLNameCaseUa</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="../default/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="../default/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="../default/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="../default/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">boolean</span>
|
||||
<a href="#manRule1" title="details" class="method-name">manRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule2" title="details" class="method-name">manRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule3" title="details" class="method-name">manRule3</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule4" title="details" class="method-name">manRule4</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#manRule5" title="details" class="method-name">manRule5</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">boolean</span>
|
||||
<a href="#womanRule1" title="details" class="method-name">womanRule1</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanRule2" title="details" class="method-name">womanRule2</a>
|
||||
()
|
||||
</div>
|
||||
<div class="method-definition">
|
||||
<span class="method-result">boolean</span>
|
||||
<a href="#womanRule3" title="details" class="method-name">womanRule3</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"> 7</span> (line <span class="line-number">24</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="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<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$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>
|
||||
</blockquote>
|
||||
<p>Inherited from <span class="classname"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
<span class="var-title">
|
||||
<span class="var-name"><a href="../default/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>
|
||||
</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">690</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="../default/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-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">669</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="../default/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-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">590</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="../default/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-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">640</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="../default/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-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">562</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">525</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">193</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Українські чоловічі та жіночі імена, що в називному відмінку однини закінчуються на -а (-я), відмінються як відповідні іменники І відміни.</p>
|
||||
<p class="description"><p><ul><li>Примітка 1. Кінцеві приголосні основи г, к, х у жіночих іменах
|
||||
у давальному та місцевому відмінках однини перед закінченням -і
|
||||
змінюються на з, ц, с: Ольга - Ользі, Палажка - Палажці, Солоха - Солосі.</li><li>Примітка 2. У жіночих іменах типу Одарка, Параска в родовому відмінку множини
|
||||
в кінці основи між приголосними з'являється звук о: Одарок, Парасок.</li></ul></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">boolean</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">230</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">
|
||||
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">260</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">
|
||||
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">371</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">
|
||||
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">386</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">
|
||||
manRule5
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodmanSecondName" id="manSecondName"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">manSecondName</span> (line <span class="line-number">544</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="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFatherName</span> (line <span class="line-number">576</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="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanFirstName</span> (line <span class="line-number">534</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="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule1</span> (line <span class="line-number">407</span>)
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
<p class="short-description">Українські чоловічі та жіночі імена, що в називному відмінку однини закінчуються на -а (-я), відмінються як відповідні іменники І відміни.</p>
|
||||
<p class="description"><p><ul><li>Примітка 1. Кінцеві приголосні основи г, к, х у жіночих іменах
|
||||
у давальному та місцевому відмінках однини перед закінченням -і
|
||||
змінюються на з, ц, с: Ольга - Ользі, Палажка - Палажці, Солоха - Солосі.</li><li>Примітка 2. У жіночих іменах типу Одарка, Параска в родовому відмінку множини
|
||||
в кінці основи між приголосними з'являється звук о: Одарок, Парасок</li></ul></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">boolean</span>
|
||||
<span class="method-name">
|
||||
womanRule1
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule2" id="womanRule2"><!-- --></a>
|
||||
<div class="evenrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule2</span> (line <span class="line-number">453</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">boolean</span>
|
||||
<span class="method-name">
|
||||
womanRule2
|
||||
</span>
|
||||
()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<a name="methodwomanRule3" id="womanRule3"><!-- --></a>
|
||||
<div class="oddrow">
|
||||
|
||||
<div class="method-header">
|
||||
<span class="method-title">womanRule3</span> (line <span class="line-number">497</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">
|
||||
womanRule3
|
||||
</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">553</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="../default/NCLNameCaseCore.html">NCLNameCaseCore</a></span></p>
|
||||
<blockquote>
|
||||
<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#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#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#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#methodsplitFullName">NCLNameCaseCore::splitFullName()</a></span><br>
|
||||
<span class="method-name"><a href="../default/NCLNameCaseCore.html#methodwordForms">NCLNameCaseCore::wordForms()</a></span><br>
|
||||
</blockquote>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
467
Docs/default/NCLNameCaseWord.html
Normal file
467
Docs/default/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">8</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">79</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">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">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">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">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">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">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">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">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">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">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">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">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">193</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">153</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">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>
|
||||
|
||||
<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">269</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">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>
|
||||
|
||||
<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 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
542
Docs/default/NCLStr.html
Normal file
542
Docs/default/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">8</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">14</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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">77</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">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">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">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">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">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">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 13:46:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</div></body>
|
||||
</html>
|
60
Docs/default/_NCL---NCL.php.html
Normal file
60
Docs/default/_NCL---NCL.php.html
Normal file
@ -0,0 +1,60 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCL.html">NCL</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
158
Docs/default/_NCL---NCLNameCaseCore.php.html
Normal file
158
Docs/default/_NCL---NCLNameCaseCore.php.html
Normal file
@ -0,0 +1,158 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCLNameCaseCore.html">NCLNameCaseCore</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
</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">8</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">9</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">10</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">11</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">5</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
60
Docs/default/_NCL---NCLNameCaseInterface.php.html
Normal file
60
Docs/default/_NCL---NCLNameCaseInterface.php.html
Normal file
@ -0,0 +1,60 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCLNameCaseInterface.html">NCLNameCaseInterface</a>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
60
Docs/default/_NCL---NCLNameCaseWord.php.html
Normal file
60
Docs/default/_NCL---NCLNameCaseWord.php.html
Normal file
@ -0,0 +1,60 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCLNameCaseWord.html">NCLNameCaseWord</a>
|
||||
</td>
|
||||
<td>
|
||||
NCLNameCaseWord - класс, который служит для хранения всей информации о каждом слове
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
60
Docs/default/_NCL---NCLStr.php.html
Normal file
60
Docs/default/_NCL---NCLStr.php.html
Normal file
@ -0,0 +1,60 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCLStr.html">NCLStr</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
87
Docs/default/_NCL.NameCase.ru.php.html
Normal file
87
Docs/default/_NCL.NameCase.ru.php.html
Normal file
@ -0,0 +1,87 @@
|
||||
<?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 ========= -->
|
||||
|
||||
</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="../default/NCLNameCaseRu.html">NCLNameCaseRu</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
</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">13</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== Info from phpDoc block ========= -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
94
Docs/default/_NCL.NameCase.ua.php.html
Normal file
94
Docs/default/_NCL.NameCase.ua.php.html
Normal file
@ -0,0 +1,94 @@
|
||||
<?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.ua.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.ua.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 ========= -->
|
||||
|
||||
</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="../default/NCLNameCaseUa.html">NCLNameCaseUa</a>
|
||||
</td>
|
||||
<td>
|
||||
Класс, который содержит основные константы библиотеки:
|
||||
</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">15</span>)
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- ========== 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>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="notes" id="credit">
|
||||
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>
|
1177
Docs/elementindex.html
Normal file
1177
Docs/elementindex.html
Normal file
File diff suppressed because it is too large
Load Diff
1174
Docs/elementindex_NameCaseLib.html
Normal file
1174
Docs/elementindex_NameCaseLib.html
Normal file
File diff suppressed because it is too large
Load Diff
1215
Docs/elementindex_default.html
Normal file
1215
Docs/elementindex_default.html
Normal file
File diff suppressed because it is too large
Load Diff
16
Docs/errors.html
Normal file
16
Docs/errors.html
Normal file
@ -0,0 +1,16 @@
|
||||
<?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>phpDocumentor Parser Errors and Warnings</title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<p class="notes" id="credit">
|
||||
Documentation generated on Sat, 09 Jul 2011 17:55:20 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
24
Docs/index.html
Normal file
24
Docs/index.html
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html
|
||||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<!-- Generated by phpDocumentor on Sat, 09 Jul 2011 17:55:17 +0300 -->
|
||||
<title>Generated Documentation</title>
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
|
||||
<FRAMESET rows='120,*'>
|
||||
<FRAME src='packages.html' name='left_top' frameborder="1" bordercolor="#999999">
|
||||
<FRAMESET cols='25%,*'>
|
||||
<FRAME src='li_NameCaseLib.html' name='left_bottom' frameborder="1" bordercolor="#999999">
|
||||
<FRAME src='blank.html' name='right' frameborder="1" bordercolor="#999999">
|
||||
</FRAMESET>
|
||||
<NOFRAMES>
|
||||
<H2>Frame Alert</H2>
|
||||
<P>This document is designed to be viewed using the frames feature.
|
||||
If you see this message, you are using a non-frame-capable web client.</P>
|
||||
</NOFRAMES>
|
||||
</FRAMESET>
|
||||
</HTML>
|
44
Docs/li_NameCaseLib.html
Normal file
44
Docs/li_NameCaseLib.html
Normal file
@ -0,0 +1,44 @@
|
||||
<?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></title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="package-title">NameCaseLib</div>
|
||||
<div class="package-details">
|
||||
|
||||
<dl class="tree">
|
||||
|
||||
<dt class="folder-title">Description</dt>
|
||||
<dd>
|
||||
<a href='classtrees_NameCaseLib.html' target='right'>Class trees</a><br />
|
||||
<a href='elementindex_NameCaseLib.html' target='right'>Index of elements</a><br />
|
||||
</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---NCLNameCaseWord.php.html' target='right'>NCLNameCaseWord.php</a></dd>
|
||||
<dd><a href='NameCaseLib/_NCL---NCLStr.php.html' target='right'>NCLStr.php</a></dd>
|
||||
|
||||
|
||||
</dl>
|
||||
</div>
|
||||
<p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.4.3</span></a></p>
|
||||
</BODY>
|
||||
</HTML>
|
47
Docs/li_default.html
Normal file
47
Docs/li_default.html
Normal file
@ -0,0 +1,47 @@
|
||||
<?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></title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="package-title">default</div>
|
||||
<div class="package-details">
|
||||
|
||||
<dl class="tree">
|
||||
|
||||
<dt class="folder-title">Description</dt>
|
||||
<dd>
|
||||
<a href='classtrees_default.html' target='right'>Class trees</a><br />
|
||||
<a href='elementindex_default.html' target='right'>Index of elements</a><br />
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt class="folder-title">Interfaces</dt>
|
||||
<dd><a href='default/NCLNameCaseInterface.html' target='right'>NCLNameCaseInterface</a></dd>
|
||||
<dt class="folder-title">Classes</dt>
|
||||
<dd><a href='default/NCL.html' target='right'>NCL</a></dd>
|
||||
<dd><a href='default/NCLNameCaseCore.html' target='right'>NCLNameCaseCore</a></dd>
|
||||
<dd><a href='default/NCLNameCaseRu.html' target='right'>NCLNameCaseRu</a></dd>
|
||||
<dd><a href='default/NCLNameCaseUa.html' target='right'>NCLNameCaseUa</a></dd>
|
||||
<dd><a href='default/NCLNameCaseWord.html' target='right'>NCLNameCaseWord</a></dd>
|
||||
<dd><a href='default/NCLStr.html' target='right'>NCLStr</a></dd>
|
||||
<dt class="folder-title">Files</dt>
|
||||
<dd><a href='default/_NCL.NameCase.ru.php.html' target='right'>NCL.NameCase.ru.php</a></dd>
|
||||
<dd><a href='default/_NCL.NameCase.ua.php.html' target='right'>NCL.NameCase.ua.php</a></dd>
|
||||
<dd><a href='default/_NCL---NCL.php.html' target='right'>NCL.php</a></dd>
|
||||
<dd><a href='default/_NCL---NCLNameCaseCore.php.html' target='right'>NCLNameCaseCore.php</a></dd>
|
||||
<dd><a href='default/_NCL---NCLNameCaseInterface.php.html' target='right'>NCLNameCaseInterface.php</a></dd>
|
||||
<dd><a href='default/_NCL---NCLNameCaseWord.php.html' target='right'>NCLNameCaseWord.php</a></dd>
|
||||
<dd><a href='default/_NCL---NCLStr.php.html' target='right'>NCLStr.php</a></dd>
|
||||
|
||||
|
||||
</dl>
|
||||
</div>
|
||||
<p class="notes"><a href="http://www.phpdoc.org" target="_blank">phpDocumentor v <span class="field">1.4.3</span></a></p>
|
||||
</BODY>
|
||||
</HTML>
|
32
Docs/media/banner.css
Normal file
32
Docs/media/banner.css
Normal file
@ -0,0 +1,32 @@
|
||||
body
|
||||
{
|
||||
background-color: #CCCCFF;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/* Banner (top bar) classes */
|
||||
|
||||
.banner { }
|
||||
|
||||
.banner-menu
|
||||
{
|
||||
clear: both;
|
||||
padding: .5em;
|
||||
border-top: 2px solid #6666AA;
|
||||
}
|
||||
|
||||
.banner-title
|
||||
{
|
||||
text-align: right;
|
||||
font-size: 20pt;
|
||||
font-weight: bold;
|
||||
margin: .2em;
|
||||
}
|
||||
|
||||
.package-selector
|
||||
{
|
||||
background-color: #AAAADD;
|
||||
border: 1px solid black;
|
||||
color: yellow;
|
||||
}
|
144
Docs/media/stylesheet.css
Normal file
144
Docs/media/stylesheet.css
Normal file
@ -0,0 +1,144 @@
|
||||
a { color: #336699; text-decoration: none; }
|
||||
a:hover { color: #6699CC; text-decoration: underline; }
|
||||
a:active { color: #6699CC; text-decoration: underline; }
|
||||
|
||||
body { background : #FFFFFF; }
|
||||
body, table { font-family: Georgia, Times New Roman, Times, serif; font-size: 10pt }
|
||||
p, li { line-height: 140% }
|
||||
a img { border: 0px; }
|
||||
dd { margin-left: 0px; padding-left: 1em; }
|
||||
|
||||
/* Page layout/boxes */
|
||||
|
||||
.info-box {}
|
||||
.info-box-title { margin: 1em 0em 0em 0em; padding: .25em; font-weight: normal; font-size: 14pt; border: 2px solid #999999; background-color: #CCCCFF }
|
||||
.info-box-body { border: 1px solid #999999; padding: .5em; }
|
||||
.nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; }
|
||||
|
||||
.oddrow { background-color: #F8F8F8; border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em}
|
||||
.evenrow { border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em}
|
||||
|
||||
.page-body { max-width: 800px; margin: auto; }
|
||||
.tree dl { margin: 0px }
|
||||
|
||||
/* Index formatting classes */
|
||||
|
||||
.index-item-body { margin-top: .5em; margin-bottom: .5em}
|
||||
.index-item-description { margin-top: .25em }
|
||||
.index-item-details { font-weight: normal; font-style: italic; font-size: 8pt }
|
||||
.index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em}
|
||||
.index-letter-title { font-size: 12pt; font-weight: bold }
|
||||
.index-letter-menu { text-align: center; margin: 1em }
|
||||
.index-letter { font-size: 12pt }
|
||||
|
||||
/* Docbook classes */
|
||||
|
||||
.description {}
|
||||
.short-description { font-weight: bold; color: #666666; }
|
||||
.tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; }
|
||||
.parameters { padding-left: 0em; margin-left: 3em; font-style: italic; list-style-type: square; }
|
||||
.redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; }
|
||||
.package { }
|
||||
.package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black }
|
||||
.package-details { font-size: 85%; }
|
||||
.sub-package { font-weight: bold; font-size: 120% }
|
||||
.tutorial { border-width: thin; border-color: #0066ff }
|
||||
.tutorial-nav-box { width: 100%; border: 1px solid #999999; background-color: #F8F8F8; }
|
||||
.nav-button-disabled { color: #999999; }
|
||||
.nav-button:active,
|
||||
.nav-button:focus,
|
||||
.nav-button:hover { background-color: #DDDDDD; outline: 1px solid #999999; text-decoration: none }
|
||||
.folder-title { font-style: italic }
|
||||
|
||||
/* Generic formatting */
|
||||
|
||||
.field { font-weight: bold; }
|
||||
.detail { font-size: 8pt; }
|
||||
.notes { font-style: italic; font-size: 8pt; }
|
||||
.separator { background-color: #999999; height: 2px; }
|
||||
.warning { color: #FF6600; }
|
||||
.disabled { font-style: italic; color: #999999; }
|
||||
|
||||
/* Code elements */
|
||||
|
||||
.line-number { }
|
||||
|
||||
.class-table { width: 100%; }
|
||||
.class-table-header { border-bottom: 1px dotted #666666; text-align: left}
|
||||
.class-name { color: #000000; font-weight: bold; }
|
||||
|
||||
.method-summary { padding-left: 1em; font-size: 8pt }
|
||||
.method-header { }
|
||||
.method-definition { margin-bottom: .3em }
|
||||
.method-title { font-weight: bold; }
|
||||
.method-name { font-weight: bold; }
|
||||
.method-signature { font-size: 85%; color: #666666; margin: .5em 0em }
|
||||
.method-result { font-style: italic; }
|
||||
|
||||
.var-summary { padding-left: 1em; font-size: 8pt; }
|
||||
.var-header { }
|
||||
.var-title { margin-bottom: .3em }
|
||||
.var-type { font-style: italic; }
|
||||
.var-name { font-weight: bold; }
|
||||
.var-default {}
|
||||
.var-description { font-weight: normal; color: #000000; }
|
||||
|
||||
.include-title { }
|
||||
.include-type { font-style: italic; }
|
||||
.include-name { font-weight: bold; }
|
||||
|
||||
.const-title { }
|
||||
.const-name { font-weight: bold; }
|
||||
|
||||
/* Syntax highlighting */
|
||||
|
||||
.src-code { border: 1px solid #336699; padding: 1em; background-color: #EEEEEE; }
|
||||
.src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; }
|
||||
|
||||
.src-comm { color: green; }
|
||||
.src-id { }
|
||||
.src-inc { color: #0000FF; }
|
||||
.src-key { color: #0000FF; }
|
||||
.src-num { color: #CC0000; }
|
||||
.src-str { color: #66cccc; }
|
||||
.src-sym { font-weight: bold; }
|
||||
.src-var { }
|
||||
|
||||
.src-php { font-weight: bold; }
|
||||
|
||||
.src-doc { color: #009999 }
|
||||
.src-doc-close-template { color: #0000FF }
|
||||
.src-doc-coretag { color: #0099FF; font-weight: bold }
|
||||
.src-doc-inlinetag { color: #0099FF }
|
||||
.src-doc-internal { color: #6699cc }
|
||||
.src-doc-tag { color: #0080CC }
|
||||
.src-doc-template { color: #0000FF }
|
||||
.src-doc-type { font-style: italic }
|
||||
.src-doc-var { font-style: italic }
|
||||
|
||||
.tute-tag { color: #009999 }
|
||||
.tute-attribute-name { color: #0000FF }
|
||||
.tute-attribute-value { color: #0099FF }
|
||||
.tute-entity { font-weight: bold; }
|
||||
.tute-comment { font-style: italic }
|
||||
.tute-inline-tag { color: #636311; font-weight: bold }
|
||||
|
||||
/* tutorial */
|
||||
|
||||
.authors { }
|
||||
.author { font-style: italic; font-weight: bold }
|
||||
.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal }
|
||||
.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; }
|
||||
*[class="example"] { line-height : 0.5em }
|
||||
.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap; }
|
||||
*[class="listing"] { line-height : 0.5em }
|
||||
.release-info { font-size: 85%; font-style: italic; margin: 1em 0em }
|
||||
.ref-title-box { }
|
||||
.ref-title { }
|
||||
.ref-purpose { font-style: italic; color: #666666 }
|
||||
.ref-synopsis { }
|
||||
.title { font-weight: bold; margin: 1em 0em 0em 0em; padding: .25em; border: 2px solid #999999; background-color: #CCCCFF }
|
||||
.cmd-synopsis { margin: 1em 0em }
|
||||
.cmd-title { font-weight: bold }
|
||||
.toc { margin-left: 2em; padding-left: 0em }
|
||||
|
27
Docs/packages.html
Normal file
27
Docs/packages.html
Normal file
@ -0,0 +1,27 @@
|
||||
<?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></title>
|
||||
<link rel="stylesheet" href="media/stylesheet.css" />
|
||||
<link rel="stylesheet" href="media/banner.css" />
|
||||
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="banner">
|
||||
<div class="banner-title">NameCaseLib</div>
|
||||
<div class="banner-menu">
|
||||
<table cellpadding="0" cellspacing="0" style="width: 100%">
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td style="width: 2em"> </td>
|
||||
<td style="text-align: right">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -1,875 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* NCL NameCase Core
|
||||
*
|
||||
* Клас, которые содержит базовые функции склонения по падежам.
|
||||
*
|
||||
* @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
|
||||
*
|
||||
*/
|
||||
interface NCLNameCaseInterface
|
||||
{
|
||||
|
||||
public function setFirstName($firstname="");
|
||||
|
||||
public function setSecondName($secondname="");
|
||||
|
||||
public function setFatherName($fathername="");
|
||||
|
||||
public function setGender($gender=0);
|
||||
|
||||
public function setFullName($secondName="", $firstName="", $fatherName="");
|
||||
|
||||
public function setName($firstname="");
|
||||
|
||||
public function setLastName($secondname="");
|
||||
|
||||
public function setSirname($secondname="");
|
||||
|
||||
public function genderAutoDetect();
|
||||
|
||||
public function splitFullName($fullname);
|
||||
|
||||
public function getFirstNameCase($number=null);
|
||||
|
||||
public function getSecondNameCase($number=null);
|
||||
|
||||
public function getFatherNameCase($number=null);
|
||||
|
||||
public function qFirstName($firstName, $CaseNumber=null, $gender=0);
|
||||
|
||||
public function qSecondName($secondName, $CaseNumber=null, $gender=0);
|
||||
|
||||
public function qFatherName($fatherName, $CaseNumber=null, $gender=0);
|
||||
|
||||
public function getFormattedArray($format);
|
||||
|
||||
public function getFormatted($caseNum=0, $format="S N F");
|
||||
|
||||
public function qFullName($secondName="", $firstName="", $fatherName="", $gender=0, $caseNum=0, $format="S N F");
|
||||
|
||||
public function getFirstNameRule();
|
||||
|
||||
public function getSecondNameRule();
|
||||
|
||||
public function q($fullname, $caseNum=null, $gender=null);
|
||||
}
|
||||
|
||||
class NCL
|
||||
{
|
||||
/*
|
||||
* @static integer
|
||||
*/
|
||||
static $MAN = 1;
|
||||
|
||||
/*
|
||||
* @static integer
|
||||
*/
|
||||
static $WOMAN = 2;
|
||||
|
||||
/*
|
||||
* @static integer
|
||||
* Падежи
|
||||
*/
|
||||
static $IMENITLN = 0;
|
||||
static $RODITLN = 1;
|
||||
static $DATELN = 2;
|
||||
static $VINITELN = 3;
|
||||
static $TVORITELN = 4;
|
||||
static $PREDLOGN = 5;
|
||||
|
||||
static $UaNazyvnyi = 0;
|
||||
static $UaRodovyi = 1;
|
||||
static $UaDavalnyi = 2;
|
||||
static $UaZnahidnyi = 3;
|
||||
static $UaOrudnyi = 4;
|
||||
static $UaMiszevyi = 5;
|
||||
static $UaKlychnyi = 6;
|
||||
}
|
||||
|
||||
class NCLNameCaseCore extends NCL
|
||||
{
|
||||
/*
|
||||
* Имя для склонения
|
||||
* @var string
|
||||
*/
|
||||
|
||||
protected $firstName = "";
|
||||
|
||||
|
||||
/*
|
||||
* Фамилия для склонения
|
||||
* @var string
|
||||
*/
|
||||
protected $secondName = "";
|
||||
|
||||
|
||||
/*
|
||||
* Отчество для склонения
|
||||
* @var string
|
||||
*/
|
||||
protected $fatherName = "";
|
||||
|
||||
|
||||
/*
|
||||
* @var integer
|
||||
* Пол человека
|
||||
* <li>0 - не известно</li>
|
||||
* <li>1 - мужчина</li>
|
||||
* <li>2 - женщина</li>
|
||||
*/
|
||||
protected $gender = 0;
|
||||
|
||||
/*
|
||||
* @var array()
|
||||
* Результат склонения имени
|
||||
*/
|
||||
protected $firstResult = array();
|
||||
|
||||
|
||||
/*
|
||||
* @var array()
|
||||
* Результат склонения фамилии
|
||||
*/
|
||||
protected $secondResult = array();
|
||||
|
||||
/*
|
||||
* @var array()
|
||||
* Результат склонения отчества
|
||||
*/
|
||||
protected $fatherResult = array();
|
||||
|
||||
/*
|
||||
* @var integer
|
||||
* Номер правила по которому не склоняется имя/фамилия
|
||||
*/
|
||||
protected $error = "";
|
||||
|
||||
/*
|
||||
* @var integer
|
||||
* Номер правила по которому склоняется имя
|
||||
*/
|
||||
protected $frule = "";
|
||||
|
||||
/*
|
||||
* @var integer
|
||||
* Номер правила по которому не склоняется фамилия
|
||||
*/
|
||||
protected $srule = "";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected function makeFirstTheSame()
|
||||
{
|
||||
$this->firstResult = array_fill(0, $this->CaseCount, $this->firstName);
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая ставит фамилию во всех падежах в форме именительного падежа.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
protected function makeSecondTheSame()
|
||||
{
|
||||
$this->secondResult = array_fill(0, $this->CaseCount, $this->secondName);
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция, которая ставит фамилию во всех падежах в форме именительного падежа.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
protected function makeFatherTheSame()
|
||||
{
|
||||
$this->fatherResult = array_fill(0, $this->CaseCount, $this->fatherName);
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция проверяет, входит ли буква в строку.
|
||||
*
|
||||
* @param $letter - буква
|
||||
* @param $string - строка
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
protected function in($letter, $string)
|
||||
{
|
||||
|
||||
if ($letter and mb_strpos($string, $letter) === false)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Функция дополняет переданое слово нужными окончаниями.
|
||||
*
|
||||
* @param $word (string) - слово
|
||||
* @param $endings (array) - окончания
|
||||
* @param $replaceLast (boolean) - убрать последнюю букву
|
||||
* @param $replaceTwoLast (boolean) - убрать две последних буквы
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
protected function padeg($word, $endings, $replaceLast=false, $replaceTwoLast=false)
|
||||
{
|
||||
$result = array($word);
|
||||
if ($replaceTwoLast == true)
|
||||
{
|
||||
//убираем последнею букву
|
||||
$word = mb_substr($word, 0, mb_strlen($word, 'utf-8') - 2, 'utf-8');
|
||||
}
|
||||
elseif ($replaceLast == true)
|
||||
{
|
||||
//убираем последнею букву
|
||||
$word = mb_substr($word, 0, mb_strlen($word, 'utf-8') - 1, 'utf-8');
|
||||
}
|
||||
$i = 0;
|
||||
for ($i == 0; $i < ($this->CaseCount-1); $i++)
|
||||
{
|
||||
$result[$i + 1] = $word . $endings[$i];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка имени
|
||||
*
|
||||
* @param $firstname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setFirstName($firstname="")
|
||||
{
|
||||
$this->firstName = $firstname;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setSecondName($secondname="")
|
||||
{
|
||||
$this->secondName = $secondname;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Отчества
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setFatherName($fathername="")
|
||||
{
|
||||
$this->fatherName = $fathername;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка пола
|
||||
*
|
||||
* @param $gender
|
||||
* - null - не определено
|
||||
* - NCL::$MAN - мужчина
|
||||
* - NCL::$WOMAN - женщина
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setGender($gender=0)
|
||||
{
|
||||
$this->gender = $gender;
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Имени, Фамилии, Отчества
|
||||
*
|
||||
* @param $firstName - имя
|
||||
* @param $secondName - фамилия
|
||||
* @param $fatherName - отчество
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setFullName($secondName="", $firstName="", $fatherName="")
|
||||
{
|
||||
$this->setFirstName($firstName);
|
||||
$this->setSecondName($secondName);
|
||||
$this->setFatherName($fatherName);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка имени
|
||||
*
|
||||
* @param $firstname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setName($firstname="")
|
||||
{
|
||||
$this->setFirstName($firstname);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setLastName($secondname="")
|
||||
{
|
||||
$this->setSecondName($secondname);
|
||||
}
|
||||
|
||||
/*
|
||||
* Установка Фамилии
|
||||
*
|
||||
* @param $secondname
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function setSirname($secondname="")
|
||||
{
|
||||
$this->setSecondName($secondname);
|
||||
}
|
||||
|
||||
/*
|
||||
* Автоматическое определение пола
|
||||
* Возвращает пол по ФИО
|
||||
* @return integer
|
||||
*/
|
||||
|
||||
public function genderAutoDetect()
|
||||
{
|
||||
$this->gender = null;
|
||||
$this->genderDetect();
|
||||
return $this->gender;
|
||||
}
|
||||
|
||||
/*
|
||||
* Разбиение фразы на слова и определение, где имя, где фамилия, где отчество
|
||||
* @return string $format - формат имен и фамилий
|
||||
*/
|
||||
|
||||
public function splitFullName($fullname)
|
||||
{
|
||||
$this->firstName = '';
|
||||
$this->secondName = '';
|
||||
$this->fatherName = '';
|
||||
$this->gender = null;
|
||||
|
||||
$fullname = trim($fullname);
|
||||
$list = explode(' ', $fullname);
|
||||
$found = array();
|
||||
$duplicate = array();
|
||||
$c = count($list);
|
||||
for ($i = 0; $i < $c; $i++)
|
||||
{
|
||||
if (trim($list[$i]))
|
||||
{
|
||||
$found[$i][0] = $this->detectNamePart($list[$i]);
|
||||
$found[$i][1] = $list[$i];
|
||||
if ($found[$i][0]=='N')
|
||||
{
|
||||
$this->firstName=$found[$i][1];
|
||||
}
|
||||
elseif ($found[$i][0]=='S')
|
||||
{
|
||||
$this->secondName=$found[$i][1];
|
||||
}
|
||||
elseif ($found[$i][0]=='F')
|
||||
{
|
||||
$this->fatherName=$found[$i][1];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$format = array();
|
||||
foreach ($found as $value)
|
||||
{
|
||||
$format[]=$value;
|
||||
}
|
||||
if (count($format)==1)
|
||||
{
|
||||
return $format[0][0];
|
||||
}
|
||||
else
|
||||
{
|
||||
return $format;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Склонение имени
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
protected function FirstName()
|
||||
{
|
||||
$this->genderDetect();
|
||||
if ($this->firstName)
|
||||
{
|
||||
if ($this->gender == 1)
|
||||
{
|
||||
$result = $this->manFirstName();
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->womanFirstName();
|
||||
}
|
||||
$this->firstResult[0]=$this->firstName;
|
||||
return $result;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->firstResult = array_fill(0, $this->CaseCount, "");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Склонение фамилии
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
protected function SecondName()
|
||||
{
|
||||
$this->genderDetect();
|
||||
if ($this->secondName)
|
||||
{
|
||||
if ($this->gender == 1)
|
||||
{
|
||||
$result = $this->manSecondName();
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->womanSecondName();
|
||||
}
|
||||
$this->secondResult[0]=$this->secondName;
|
||||
return $result;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->secondResult = array_fill(0, $this->CaseCount, "");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Склонение отчеств
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
|
||||
protected function FatherName()
|
||||
{
|
||||
$this->genderDetect();
|
||||
if ($this->fatherName)
|
||||
{
|
||||
if ($this->gender == 1)
|
||||
{
|
||||
$result = $this->manFatherName();
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = $this->womanFatherName();
|
||||
}
|
||||
$this->fatherResult[0]=$this->fatherName;
|
||||
return $result;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->fatherResult = array_fill(0, $this->CaseCount, "");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить имя в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function getFirstNameCase($number=null)
|
||||
{
|
||||
if (!isset($this->firstResult[0]) or $this->firstResult[0] <> $this->firstName)
|
||||
{
|
||||
$this->FirstName();
|
||||
}
|
||||
if ($number < 0 or $number > ($this->CaseCount-1))
|
||||
{
|
||||
$number = null;
|
||||
}
|
||||
|
||||
if (is_null($number))
|
||||
{
|
||||
//Возвращаем все падежи
|
||||
return $this->firstResult;
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->firstResult[$number];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function getSecondNameCase($number=null)
|
||||
{
|
||||
if (!isset($this->secondResult[0]) or $this->secondResult[0] <> $this->secondName)
|
||||
{
|
||||
$this->SecondName();
|
||||
}
|
||||
if ($number < 0 or $number > ($this->CaseCount-1))
|
||||
{
|
||||
$number = null;
|
||||
}
|
||||
|
||||
if (is_null($number))
|
||||
{
|
||||
//Возвращаем все падежи
|
||||
return $this->secondResult;
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->secondResult[$number];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить отчество в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function getFatherNameCase($number=null)
|
||||
{
|
||||
if (!isset($this->fatherResult[0]) or $this->fatherResult[0] <> $this->fatherName)
|
||||
{
|
||||
$this->FatherName();
|
||||
}
|
||||
if ($number < 0 or $number > ($this->CaseCount-1))
|
||||
{
|
||||
$number = null;
|
||||
}
|
||||
|
||||
if (is_null($number))
|
||||
{
|
||||
//Возвращаем все падежи
|
||||
return $this->fatherResult;
|
||||
}
|
||||
else
|
||||
{
|
||||
return $this->fatherResult[$number];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function qFirstName($firstName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->gender = $gender;
|
||||
$this->firstName = $firstName;
|
||||
return $this->getFirstNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить фамилию в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function qSecondName($secondName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->gender = $gender;
|
||||
$this->secondName = $secondName;
|
||||
return $this->getSecondNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Поставить отчество в определенный падеж
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function qFatherName($fatherName, $CaseNumber=null, $gender=0)
|
||||
{
|
||||
$this->gender = $gender;
|
||||
$this->fatherName = $fatherName;
|
||||
return $this->getFatherNameCase($CaseNumber);
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет во все падежи и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
||||
public function getFormattedArray($format)
|
||||
{
|
||||
if (is_array($format))
|
||||
{
|
||||
return $this->getFormattedArrayHard($format);
|
||||
}
|
||||
$length = mb_strlen($format);
|
||||
$result = array();
|
||||
$cases = array();
|
||||
for ($i = 0; $i < $length; $i++)
|
||||
{
|
||||
$symbol = mb_substr($format, $i, 1);
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$cases['S'] = $this->getSecondNameCase();
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$cases['N'] = $this->getFirstNameCase();
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$cases['F'] = $this->getFatherNameCase();
|
||||
}
|
||||
}
|
||||
|
||||
for ($curCase = 0; $curCase < $this->CaseCount; $curCase++)
|
||||
{
|
||||
$line = "";
|
||||
for ($i = 0; $i < $length; $i++)
|
||||
{
|
||||
$symbol = mb_substr($format, $i, 1);
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$line.=$cases['S'][$curCase];
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$line.=$cases['N'][$curCase];
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$line.=$cases['F'][$curCase];
|
||||
}
|
||||
else
|
||||
{
|
||||
$line.=$symbol;
|
||||
}
|
||||
}
|
||||
$result[] = $line;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getFormattedArrayHard($format)
|
||||
{
|
||||
|
||||
$result = array();
|
||||
$cases = array();
|
||||
foreach ($format as $value)
|
||||
{
|
||||
$symbol = $value[0];
|
||||
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$this->setSecondName($value[1]);
|
||||
$cases[] = array('S', $this->getSecondNameCase());
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$this->setFirstName($value[1]);
|
||||
$cases[] = array('N', $this->getFirstNameCase());
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$this->setFatherName($value[1]);
|
||||
$cases[] = array('F',$this->getFatherNameCase());
|
||||
}
|
||||
}
|
||||
|
||||
for ($curCase = 0; $curCase < $this->CaseCount; $curCase++)
|
||||
{
|
||||
$line = "";
|
||||
foreach ($cases as $value)
|
||||
{
|
||||
$symbol = $value[0];
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$line.=$value[1][$curCase].' ';
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$line.=$value[1][$curCase].' ';
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$line.=$value[1][$curCase].' ';
|
||||
}
|
||||
}
|
||||
$result[] = trim($line);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getFormattedHard($caseNum=0, $format=array())
|
||||
{
|
||||
$result = "";
|
||||
foreach ($format as $value)
|
||||
{
|
||||
$symbol = $value[0];
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$this->setSecondName($value[1]);
|
||||
$result.=$this->getSecondNameCase($caseNum).' ';
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$this->setFirstName($value[1]);
|
||||
$result.=$this->getFirstNameCase($caseNum).' ';
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$this->setFatherName($value[1]);
|
||||
$result.=$this->getFatherNameCase($caseNum).' ';
|
||||
}
|
||||
}
|
||||
return trim($result);
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет в падеж $caseNum, и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* Например getFormatted(1, 'N F')
|
||||
* Выведет имя и отчество в родительном падиже
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function getFormatted($caseNum=0, $format="S N F")
|
||||
{
|
||||
//Если не указан формат используем другую функцию
|
||||
if (is_null($caseNum))
|
||||
{
|
||||
return $this->getFormattedArray($format);
|
||||
}
|
||||
//Если формат сложный
|
||||
elseif (is_array($format))
|
||||
{
|
||||
return $this->getFormattedHard($caseNum, $format);
|
||||
}
|
||||
else
|
||||
{
|
||||
$length = mb_strlen($format);
|
||||
$result = "";
|
||||
for ($i = 0; $i < $length; $i++)
|
||||
{
|
||||
$symbol = mb_substr($format, $i, 1);
|
||||
if ($symbol == 'S')
|
||||
{
|
||||
$result.=$this->getSecondNameCase($caseNum);
|
||||
}
|
||||
elseif ($symbol == 'N')
|
||||
{
|
||||
$result.=$this->getFirstNameCase($caseNum);
|
||||
}
|
||||
elseif ($symbol == 'F')
|
||||
{
|
||||
$result.=$this->getFatherNameCase($caseNum);
|
||||
}
|
||||
else
|
||||
{
|
||||
$result.=$symbol;
|
||||
}
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Склоняет фамилию имя отчество в падеж $caseNum, и форматирует по шаблону $format
|
||||
* Шаблон $format
|
||||
* S - Фамилия
|
||||
* N - Имя
|
||||
* F - Отчество
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function qFullName($secondName="", $firstName="", $fatherName="", $gender=0, $caseNum=0, $format="S N F")
|
||||
{
|
||||
$this->gender = $gender;
|
||||
$this->firstName = $firstName;
|
||||
$this->secondName = $secondName;
|
||||
$this->fatherName = $fatherName;
|
||||
|
||||
return $this->getFormatted($caseNum, $format);
|
||||
}
|
||||
|
||||
public function getFirstNameRule()
|
||||
{
|
||||
return $this->frule;
|
||||
}
|
||||
|
||||
public function getSecondNameRule()
|
||||
{
|
||||
return $this->srule;
|
||||
}
|
||||
|
||||
/*
|
||||
* Быстрое склонение имени. Передается один параметр строка, где может быть ФИО в любом виде. Есть необязательный параметр пол. И так ще необязательный параметр падеж. Если падеж указан, тогда возвращается строка в том падеже, если нет тогда все возможные падежи.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
||||
public function q($fullname, $caseNum=null, $gender=null)
|
||||
{
|
||||
$format = $this->splitFullName($fullname);
|
||||
$this->gender = $gender;
|
||||
$this->genderAutoDetect();
|
||||
return $this->getFormatted($caseNum, $format);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
110
Library/NCL/NCL.php
Normal file
110
Library/NCL/NCL.php
Normal file
@ -0,0 +1,110 @@
|
||||
<?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
|
||||
{
|
||||
/**
|
||||
* Мужской пол
|
||||
* @static integer
|
||||
*/
|
||||
static $MAN = 1;
|
||||
|
||||
/**
|
||||
* Женский пол
|
||||
* @static integer
|
||||
*/
|
||||
static $WOMAN = 2;
|
||||
|
||||
/**
|
||||
* Именительный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $IMENITLN = 0;
|
||||
|
||||
/**
|
||||
* Родительный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $RODITLN = 1;
|
||||
|
||||
/**
|
||||
* Дательный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $DATELN = 2;
|
||||
|
||||
/**
|
||||
* Винительный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $VINITELN = 3;
|
||||
|
||||
/**
|
||||
* Творительный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $TVORITELN = 4;
|
||||
|
||||
/**
|
||||
* Предложный падеж
|
||||
* @static integer
|
||||
*/
|
||||
static $PREDLOGN = 5;
|
||||
|
||||
/**
|
||||
* Назвиний відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaNazyvnyi = 0;
|
||||
|
||||
/**
|
||||
* Родовий відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaRodovyi = 1;
|
||||
|
||||
/**
|
||||
* Давальний відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaDavalnyi = 2;
|
||||
|
||||
/**
|
||||
* Знахідний відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaZnahidnyi = 3;
|
||||
|
||||
/**
|
||||
* Орудний відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaOrudnyi = 4;
|
||||
|
||||
/**
|
||||
* Місцевий відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaMiszevyi = 5;
|
||||
|
||||
/**
|
||||
* Кличний відмінок
|
||||
* @static integer
|
||||
*/
|
||||
static $UaKlychnyi = 6;
|
||||
|
||||
}
|
||||
|
||||
?>
|
1101
Library/NCL/NCLNameCaseCore.php
Normal file
1101
Library/NCL/NCLNameCaseCore.php
Normal file
File diff suppressed because it is too large
Load Diff
295
Library/NCL/NCLNameCaseWord.php
Normal file
295
Library/NCL/NCLNameCaseWord.php
Normal file
@ -0,0 +1,295 @@
|
||||
<?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
|
||||
{
|
||||
|
||||
/**
|
||||
* Слово в нижнем регистре, которое хранится в об’єкте класса
|
||||
* @var string
|
||||
*/
|
||||
private $word = '';
|
||||
|
||||
/**
|
||||
* Тип текущей записи (Фамилия/Имя/Отчество)
|
||||
* - <b>N</b> - ім’я
|
||||
* - <b>S</b> - прізвище
|
||||
* - <b>F</b> - по-батькові
|
||||
* @var string
|
||||
*/
|
||||
private $namePart = null;
|
||||
|
||||
/**
|
||||
* Вероятность того, что текущей слово относится к мужскому полу
|
||||
* @var int
|
||||
*/
|
||||
private $genderMan = 0;
|
||||
|
||||
/**
|
||||
* Вероятность того, что текущей слово относится к женскому полу
|
||||
* @var int
|
||||
*/
|
||||
private $genderWoman = 0;
|
||||
|
||||
/**
|
||||
* Окончательное решение, к какому полу относится слово
|
||||
* - 0 - не определено
|
||||
* - NCL::$MAN - мужской пол
|
||||
* - NCL::$WOMAN - женский пол
|
||||
* @var int
|
||||
*/
|
||||
private $genderSolved = 0;
|
||||
|
||||
/**
|
||||
* Маска больших букв в слове.
|
||||
*
|
||||
* Содержит информацию о том, какие буквы в слове были большими, а какие мальникими:
|
||||
* - x - маленькая буква
|
||||
* - X - больная буква
|
||||
* @var string
|
||||
*/
|
||||
private $letterMask = '';
|
||||
|
||||
/**
|
||||
* Содержит true, если все слово было в верхнем регистре и false, если не было
|
||||
* @var bool
|
||||
*/
|
||||
private $isUpperCase = false;
|
||||
|
||||
/**
|
||||
* Массив содержит все падежи слова, полученые после склонения текущего слова
|
||||
* @var array
|
||||
*/
|
||||
private $NameCases = array();
|
||||
|
||||
/**
|
||||
* Номер правила, по которому было произведено склонение текущего слова
|
||||
* @var int
|
||||
*/
|
||||
private $rule = 0;
|
||||
|
||||
/**
|
||||
* Создание нового обьекта со словом <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);
|
||||
$mask = array();
|
||||
$this->isUpperCase = true;
|
||||
foreach ($letters as $letter)
|
||||
{
|
||||
if (NCLStr::isLowerCase($letter))
|
||||
{
|
||||
$mask[] = 'x';
|
||||
$this->isUpperCase = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$mask[] = 'X';
|
||||
}
|
||||
}
|
||||
$this->letterMask = $mask;
|
||||
}
|
||||
|
||||
/**
|
||||
* Возвращает все падежи слова в начальную маску:
|
||||
* - x - маленькая буква
|
||||
* - X - больная буква
|
||||
*/
|
||||
private function returnMask()
|
||||
{
|
||||
if ($this->isUpperCase)
|
||||
{
|
||||
foreach ($this->NameCases as $index => $case)
|
||||
{
|
||||
$this->NameCases[$index] = NCLStr::strtoupper($this->NameCases[$index]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$splitedMask = $this->letterMask;
|
||||
$maskLength = count($splitedMask);
|
||||
foreach ($this->NameCases as $index => $case)
|
||||
{
|
||||
$caseLength = NCLStr::strlen($case);
|
||||
|
||||
$max = min(array($caseLength, $maskLength));
|
||||
$this->NameCases[$index] = '';
|
||||
for ($letterIndex = 0; $letterIndex < $max; $letterIndex++)
|
||||
{
|
||||
$letter = NCLStr::substr($case, $letterIndex, 1);
|
||||
if ($splitedMask[$letterIndex] == 'X')
|
||||
{
|
||||
$letter = NCLStr::strtoupper($letter);
|
||||
}
|
||||
$this->NameCases[$index] .= $letter;
|
||||
}
|
||||
$this->NameCases[$index] .= NCLStr::substr($case, $max, $caseLength-$maskLength);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Сохраняет результат склонения текущего слова
|
||||
* @param array $nameCases массив со всеми падежами
|
||||
*/
|
||||
public function setNameCases($nameCases)
|
||||
{
|
||||
$this->NameCases = $nameCases;
|
||||
$this->returnMask();
|
||||
}
|
||||
|
||||
/**
|
||||
* Возвращает массив со всеми падежами текущего слова
|
||||
* @return array массив со всеми падежами
|
||||
*/
|
||||
public function getNameCases()
|
||||
{
|
||||
return $this->NameCases;
|
||||
}
|
||||
|
||||
/**
|
||||
* Возвращает строку с нужным падежом текущего слова
|
||||
* @param int $number нужный падеж
|
||||
* @return string строка с нужным падежом текущего слова
|
||||
*/
|
||||
public function getNameCase($number)
|
||||
{
|
||||
if(isset($this->NameCases[$number]))
|
||||
{
|
||||
return $this->NameCases[$number];
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Расчитывает и возвращает пол текущего слова
|
||||
* @return int пол текущего слова
|
||||
*/
|
||||
public function gender()
|
||||
{
|
||||
if (!$this->genderSolved)
|
||||
{
|
||||
if ($this->genderMan > $this->genderWoman)
|
||||
{
|
||||
$this->genderSolved = NCL::$MAN;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->genderSolved = NCL::$WOMAN;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
146
Library/NCL/NCLStr.php
Normal file
146
Library/NCL/NCLStr.php
Normal file
@ -0,0 +1,146 @@
|
||||
<?php
|
||||
/**
|
||||
* @license Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
|
||||
/**
|
||||
* Класс содержит функции для работы со строками, которые используются в NCLNameCaseLib
|
||||
*
|
||||
* @author Андрей Чайка <bymer3@gmail.com>
|
||||
* @version 0.4
|
||||
* @package NameCaseLib
|
||||
*/
|
||||
class NCLStr
|
||||
{
|
||||
/**
|
||||
* Кодировка, в котороя работает система
|
||||
* @var string
|
||||
*/
|
||||
static $charset = 'utf-8';
|
||||
|
||||
/**
|
||||
* Получить подстроку из строки
|
||||
* @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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Поиск подстроки в строке
|
||||
* @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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Определение длины строки
|
||||
* @param string $str строка
|
||||
* @return int длина строки
|
||||
*/
|
||||
static function strlen($str)
|
||||
{
|
||||
return mb_strlen($str, NCLStr::$charset);
|
||||
}
|
||||
|
||||
/**
|
||||
* Переводит строку в нижний регистр
|
||||
* @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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Поиск подстроки в строке справа
|
||||
* @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();
|
||||
$stop = NCLStr::strlen($phrase);
|
||||
for ($idx = 0; $idx < $stop; $idx++)
|
||||
{
|
||||
$resultArr[] = NCLStr::substr($phrase, $idx, 1);
|
||||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -1,4 +1,4 @@
|
||||
Copyright (c) 2011 Andriy Chaika, http://seagull.net.ua/
|
||||
Copyright (c) 2011 Andriy Chaika, http://namecaselib.com/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
|
46
README.md
46
README.md
@ -1,37 +1,17 @@
|
||||
# NameCaseLib
|
||||
Библиотека PHP5 позволяет склонять по падежам Фамилии Имена и Отчества. Имеет две версии для украинского и русского языка. Для обеих языков работаю одинаковые функция для склонения.
|
||||
В скором времени ожидается версия 0.4 с оптимизацией кода и версия 0.5, когда будет написана детальная инструкция по использованию и создан багтрекер.
|
||||
## Туториал
|
||||
Пример для украинского и русского языка находится в папке Tutorial
|
||||
NameCaseLib — библиотека PHP5, предназначенная для автоматического склонения ФИО в русском и украинском языках. Уникальная особенность состоит в том, что библиотека содержит одинаковые методы для работы с ФИО на русском и украинском языках.
|
||||
|
||||
Пример использования
|
||||
-----------
|
||||
## Инструкция
|
||||
- Демонстрация работы - http://namecaselib.com/case/
|
||||
- Документация - http://namecaselib.com/book/
|
||||
|
||||
echo 'Отчет, ' .
|
||||
$nc->q("Афонин Николай Сергеевич", NCL::$RODITLN)
|
||||
. ' о проделаной работе вместе с его сыном ' .
|
||||
$nc->q("Афонин Никита", NCL::$TVORITELN) .
|
||||
' на осенних каникулах. Задание держалось на ' .
|
||||
$nc->q("Маргаритта Николаевна", NCL::$PREDLOGN) .
|
||||
'; Поздравляем всех предчастных, в том числе и ' .
|
||||
$nc->q("Кардонский Серафим Ильич", NCL::$VINITELN) . ' и ' .
|
||||
$nc->q("Лобудская София Викторовна", NCL::$VINITELN) .
|
||||
'. Хотим передать поздравление также ' .
|
||||
$nc->q("Игнатьев Павел Викторович", NCL::$DATELN) . ' и ' .
|
||||
$nc->q("Сумарский Лев", NCL::$DATELN);
|
||||
|
||||
|
||||
Результат выполнения
|
||||
-----------
|
||||
Отчет, Афонина Николая Сергеевича о проделаной работе вместе с его сыном Афониным Никитой на осенних каникулах. Задание держалось на Маргаритте Николаевне; Поздравляем всех предчастных, в том числе и Кардонского Серафима Ильича и Лобудскую Софию Викторовну. Хотим передать поздравление также Игнатьеву Павлу Викторовичу и Сумарскому Льву
|
||||
Документация
|
||||
-----------
|
||||
Полная документация находится в разработке.
|
||||
Дополнительные демонстрации находятся в папке Tutorial
|
||||
|
||||
Лицензия
|
||||
-----------
|
||||
Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
## 0.4 (2011-07-09)
|
||||
- Полная переработка кода
|
||||
- Создание для каждого слова класса NCLNameCaseWord
|
||||
- Правила для склонения имен и фамилий объединены
|
||||
- Множество исправлений правил
|
||||
- Полная переработка ядра системы
|
||||
- Добавлена поддержка работы с разными регистрами слов
|
||||
|
||||
## 0.3 (2011-07-02)
|
||||
- Добавлен украинский язык
|
||||
@ -44,7 +24,7 @@ Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
- Добавлена функция быстрого склонения NCLNameCaseRu::q(), которая принимает обязательный параметр ФИО в любом формате и возвращает строку в нужно падеже.
|
||||
|
||||
## 0.1.1 (2011-05-03)
|
||||
- Написана функция определения пола NCLNameCaseRu::GenderAutoDetect() — отлично справляется с парами Имя Фамилия, по моим тестам дает 100% прохождение тестов (2000 пар имен и фамилий). Если указано отчество, пол определает без проблем.Для просто имен вероятность правильного определения больше 98,5%. Для просто фамилий — больше 96%.
|
||||
- Написана функция определения пола NCLNameCaseRu::GenderAutoDetect() — отлично справляется с парами Имя Фамилия, по моим тестам дает 100% прохождение тестов (2000 пар имен и фамилий). Если указано отчество, пол определяет без проблем. Для просто имен вероятность правильного определения больше 98,5%. Для просто фамилий — больше 96%.
|
||||
|
||||
## 0.1.0 (2011-05-01)
|
||||
- Первая версия библиотеки
|
||||
- Первая версия библиотеки
|
@ -93,27 +93,19 @@ class NCLNameCaseRuTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertEquals(explode(',','Чайка,Чайки,Чайке,Чайку,Чайкой,Чайке'), $this->object->qSecondName('Чайка', 15, 1));
|
||||
}
|
||||
|
||||
public function test11()
|
||||
{
|
||||
$this->object->setFatherName();
|
||||
$this->object->setFirstName();
|
||||
$this->object->setSecondName();
|
||||
$this->assertEquals(explode(',',',,,,,'), $this->object->getSecondNameCase());
|
||||
$this->assertEquals(explode(',',',,,,,'), $this->object->getFatherNameCase());
|
||||
$this->assertEquals(explode(',',',,,,,'), $this->object->getFirstNameCase());
|
||||
}
|
||||
|
||||
public function test12()
|
||||
|
||||
public function test11()
|
||||
{
|
||||
$this->assertEquals(explode(',','Николаевич,Николаевича,Николаевичу,Николаевича,Николаевичем,Николаевиче'), $this->object->qFatherName('Николаевич', 15, 1));
|
||||
}
|
||||
|
||||
public function test13()
|
||||
public function test12()
|
||||
{
|
||||
$this->assertEquals('на Чайке Андрее Николаевиче красивая рубашка', $this->object->qFullName("Чайка", 'Андрей', 'Николаевич', 1, 5, "на S N F красивая рубашка"));
|
||||
}
|
||||
|
||||
public function test14()
|
||||
public function test13()
|
||||
{
|
||||
$this->assertEquals('комментария', $this->object->qFirstName('комментарий',NCLNameCaseRu::$RODITLN , NCLNameCaseRu::$MAN));
|
||||
}
|
||||
|
54
Tests/Library/CrazyTestFatherboy.php
Normal file
54
Tests/Library/CrazyTestFatherboy.php
Normal file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../Library/NCL.NameCase.ua.php';
|
||||
|
||||
|
||||
class NCLNameCaseUaTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @var NCLNameCaseRu
|
||||
*/
|
||||
protected $object;
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new NCLNameCaseUa;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function testCrazy0()
|
||||
{
|
||||
$this->assertEquals(explode(',','Олександрович,Олександровича,Олександровичу,Олександровича,Олександровичем,Олександровичу,Олександровичу'), $this->object->q('Олександрович'));
|
||||
}
|
||||
public function testCrazy1()
|
||||
{
|
||||
$this->assertEquals(explode(',','Миколайович,Миколайовича,Миколайовичу,Миколайовича,Миколайовичем,Миколайовичу,Миколайовичу'), $this->object->q('Миколайович'));
|
||||
}
|
||||
public function testCrazy2()
|
||||
{
|
||||
$this->assertEquals(explode(',','Кузьмич,Кузьмича,Кузьмичу,Кузьмича,Кузьмичем,Кузьмичу,Кузьмичу'), $this->object->q('Кузьмич'));
|
||||
}
|
||||
public function testCrazy3()
|
||||
{
|
||||
$this->assertEquals(explode(',','Петрович,Петровича,Петровичу,Петровича,Петровичем,Петровичу,Петровичу'), $this->object->q('Петрович'));
|
||||
}
|
||||
public function testCrazy4()
|
||||
{
|
||||
$this->assertEquals(explode(',','Ілліч,Ілліча,Іллічу,Ілліча,Іллічем,Іллічу,Іллічу'), $this->object->q('Ілліч'));
|
||||
}
|
||||
|
||||
}
|
46
Tests/Library/CrazyTestFathergirl.php
Normal file
46
Tests/Library/CrazyTestFathergirl.php
Normal file
@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../Library/NCL.NameCase.ua.php';
|
||||
|
||||
|
||||
class NCLNameCaseUaTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @var NCLNameCaseRu
|
||||
*/
|
||||
protected $object;
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new NCLNameCaseUa;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function testCrazy0()
|
||||
{
|
||||
$this->assertEquals(explode(',','Василівна,Василівни,Василівні,Василівну,Василівною,Василівні,Василівно'), $this->object->q('Василівна'));
|
||||
}
|
||||
public function testCrazy1()
|
||||
{
|
||||
$this->assertEquals(explode(',','Антонівна,Антонівни,Антонівні,Антонівну,Антонівною,Антонівні,Антонівно'), $this->object->q('Антонівна'));
|
||||
}
|
||||
public function testCrazy2()
|
||||
{
|
||||
$this->assertEquals(explode(',','Яківна,Яківни,Яківні,Яківну,Яківною,Яківні,Яківно'), $this->object->q('Яківна'));
|
||||
}
|
||||
|
||||
}
|
2070
Tests/Library/CrazyTestNamesboy.php
Normal file
2070
Tests/Library/CrazyTestNamesboy.php
Normal file
File diff suppressed because it is too large
Load Diff
1346
Tests/Library/CrazyTestNamesgirl.php
Normal file
1346
Tests/Library/CrazyTestNamesgirl.php
Normal file
File diff suppressed because it is too large
Load Diff
2998
Tests/Library/CrazyTestSirnamesboy.php
Normal file
2998
Tests/Library/CrazyTestSirnamesboy.php
Normal file
File diff suppressed because it is too large
Load Diff
2930
Tests/Library/CrazyTestSirnamesgirl.php
Normal file
2930
Tests/Library/CrazyTestSirnamesgirl.php
Normal file
File diff suppressed because it is too large
Load Diff
@ -2982,7 +2982,7 @@ class NCLNameCaseUaTest extends PHPUnit_Framework_TestCase
|
||||
$this->object->setFirstName('Соловей');
|
||||
$this->object->setGender(1);
|
||||
|
||||
$this->assertEquals(explode(',','Соловей,Солов`я,Солов`єві,Солов`я,Солов`єм,Солов`єві,Солов`ю'), $this->object->getFirstNameCase());
|
||||
$this->assertEquals(explode(',','Соловей,Солов’я,Солов’єві,Солов’я,Солов’єм,Солов’єві,Солов’ю'), $this->object->getFirstNameCase());
|
||||
}
|
||||
public function testNameMan422()
|
||||
{
|
||||
|
@ -1204,7 +1204,7 @@ class NCLNameCaseUaTest extends PHPUnit_Framework_TestCase
|
||||
$this->object->setFirstName('Любов');
|
||||
$this->object->setGender(2);
|
||||
|
||||
$this->assertEquals(explode(',','Любов,Любові,Любові,Любов,Любов`ю,Любові,Любове'), $this->object->getFirstNameCase());
|
||||
$this->assertEquals(explode(',','Любов,Любові,Любові,Любов,Любов’ю,Любові,Любове'), $this->object->getFirstNameCase());
|
||||
}
|
||||
public function testNameWoman168()
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
95
Tests/TestGenerator/CrazyNCLNameCaseUAGenerator.php
Normal file
95
Tests/TestGenerator/CrazyNCLNameCaseUAGenerator.php
Normal file
@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
class TestGeneratorDB
|
||||
{
|
||||
|
||||
public $maintemplate;
|
||||
public $testtemplate;
|
||||
public $resultArr = array();
|
||||
private $gender;
|
||||
private $tests;
|
||||
private $count = 0;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
mysql_connect('localhost', 'root', '');
|
||||
mysql_select_db('names');
|
||||
mysql_set_charset('utf8');
|
||||
//$this->resultArr[]=file('Names/boy_full_result.txt');
|
||||
//$this->resultArr[]=file('Names/girl_full_result.txt');
|
||||
}
|
||||
|
||||
public function generate($fname, $gender)
|
||||
{
|
||||
$this->maintemplate = file_get_contents('Template/NCLNameCaseUaTest.main');
|
||||
$this->testtemplate = file_get_contents('Template/NCLNameCaseCrazyTest.test');
|
||||
//$this->resultArr=file('Names/'.$gender.'_full_result.txt');
|
||||
$this->count = 0;
|
||||
$fnewname = $fname;
|
||||
if ($fnewname == 'Sirnames')
|
||||
{
|
||||
$fnewname = 'second';
|
||||
}
|
||||
if ($gender == 'boy')
|
||||
{
|
||||
$this->gender = 1;
|
||||
$this->dbTable = 'boy' . strtolower($fnewname);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->gender = 2;
|
||||
$this->dbTable = 'girl' . strtolower($fnewname);
|
||||
}
|
||||
$this->resultArr = mysql_query("SELECT * FROM {$this->dbTable}");
|
||||
//foreach ($this->resultArr as $key=>$value)
|
||||
//{
|
||||
//$this->gender=$key+1;
|
||||
$all = array();
|
||||
while ($row = mysql_fetch_assoc($this->resultArr))
|
||||
{
|
||||
//$tmpnames=explode("#",trim(str_replace('ё','е',$name)));
|
||||
|
||||
$firstRes = array();
|
||||
$secondRes = array();
|
||||
$fatherRes = array();
|
||||
$secondRes = $fatherRes = $firstRes = explode('#', $row['nameCase']);
|
||||
if ($row['nameCase'])
|
||||
{
|
||||
$this->generateTest($firstRes);
|
||||
}
|
||||
}
|
||||
//}
|
||||
$res = str_replace('{% tests %}', $this->tests, $this->maintemplate);
|
||||
$res = str_replace('{% name %}', $fname, $res);
|
||||
file_put_contents('../Library/CrazyTest' . $fname . $gender . '.php', $res);
|
||||
}
|
||||
|
||||
private function generateTest($firstRes)
|
||||
{
|
||||
$tpl = $this->testtemplate;
|
||||
$tpl = str_replace('{% id %}', $this->count, $tpl);
|
||||
|
||||
$tpl = str_replace('{% name %}', $firstRes[0], $tpl);
|
||||
$tpl = str_replace('{% OK %}', implode(',', $firstRes), $tpl);
|
||||
|
||||
$this->tests.=$tpl;
|
||||
$this->count++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Names', 'boy');
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Names', 'girl');
|
||||
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Father', 'boy');
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Father', 'girl');
|
||||
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Sirnames', 'boy');
|
||||
$p = new TestGeneratorDB;
|
||||
$p->generate('Sirnames', 'girl');
|
||||
?>
|
@ -26,7 +26,7 @@ class TestGeneratorDB
|
||||
//$this->resultArr=file('Names/'.$gender.'_full_result.txt');
|
||||
$this->count = 0;
|
||||
$fnewname = $fname;
|
||||
if($fnewname=='Sirnames')
|
||||
if ($fnewname == 'Sirnames')
|
||||
{
|
||||
$fnewname = 'second';
|
||||
}
|
||||
@ -38,7 +38,7 @@ class TestGeneratorDB
|
||||
else
|
||||
{
|
||||
$this->gender = 2;
|
||||
$this->dbTable = 'girl' . strtolower($fnewname) ;
|
||||
$this->dbTable = 'girl' . strtolower($fnewname);
|
||||
}
|
||||
$this->resultArr = mysql_query("SELECT * FROM {$this->dbTable}");
|
||||
//foreach ($this->resultArr as $key=>$value)
|
||||
@ -53,8 +53,10 @@ class TestGeneratorDB
|
||||
$secondRes = array();
|
||||
$fatherRes = array();
|
||||
$secondRes = $fatherRes = $firstRes = explode('#', $row['nameCase']);
|
||||
|
||||
$this->generateTest($firstRes, $secondRes, $fatherRes);
|
||||
if ($row['nameCase'])
|
||||
{
|
||||
$this->generateTest($firstRes, $secondRes, $fatherRes);
|
||||
}
|
||||
}
|
||||
//}
|
||||
$res = str_replace('{% tests %}', $this->tests, $this->maintemplate);
|
||||
@ -66,9 +68,9 @@ class TestGeneratorDB
|
||||
{
|
||||
$tpl = $this->testtemplate;
|
||||
$tpl = str_replace('{% id %}', $this->count, $tpl);
|
||||
$tpl=str_replace('{% second %}', $secondRes[0], $tpl);
|
||||
$tpl = str_replace('{% second %}', $secondRes[0], $tpl);
|
||||
$tpl = str_replace('{% first %}', $firstRes[0], $tpl);
|
||||
$tpl=str_replace('{% father %}', $fatherRes[0], $tpl);
|
||||
$tpl = str_replace('{% father %}', $fatherRes[0], $tpl);
|
||||
$tpl = str_replace('{% gender %}', $this->gender, $tpl);
|
||||
$tpl = str_replace('{% firstOK %}', implode(',', $firstRes), $tpl);
|
||||
$tpl = str_replace('{% secondOK %}', implode(',', $secondRes), $tpl);
|
||||
|
5
Tests/TestGenerator/Template/NCLNameCaseCrazyTest.test
Normal file
5
Tests/TestGenerator/Template/NCLNameCaseCrazyTest.test
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
public function testCrazy{% id %}()
|
||||
{
|
||||
$this->assertEquals(explode(',','{% OK %}'), $this->object->q('{% name %}'));
|
||||
}
|
@ -3,6 +3,13 @@
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ua.php';
|
||||
$ob = new NCLNameCaseUa;
|
||||
print_r($ob->qSecondName('Донськая',null,2));
|
||||
echo $ob->getSecondNameRule();
|
||||
|
||||
//print_r($ob->q("Швець Антон"));
|
||||
//var_dump($ob->getWordsArray());
|
||||
|
||||
print_r($ob->fullReset()->setFullName("Афросинин", "Павел", "Илларионович")->getFormatted(null, "N F S"));
|
||||
|
||||
//echo $ob->getFullNameFormat("Мая");
|
||||
//echo $ob->genderDetect("Іванцов Микола Микита Андрій Петро Михайлович Миколайович Антонівна");
|
||||
//echo $ob->getSecondNameRule();
|
||||
?>
|
||||
|
@ -1,48 +0,0 @@
|
||||
<?php
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
/*
|
||||
* Небольшой пример использования библиотеки
|
||||
* 1. Шаг подключаем библиотеку
|
||||
*/
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
/*
|
||||
* 2. Создаем объект
|
||||
*/
|
||||
$nc = new NCLNameCaseRu();
|
||||
/*
|
||||
* =========================
|
||||
* Встроенные константы
|
||||
* =========================
|
||||
* NCL::$IMENITLN - именительный падеж
|
||||
* NCL::$RODITLN - родительные падеж
|
||||
* NCL::$DATELN - дательные падеж
|
||||
* NCL::$VINITELN - винительный падеж
|
||||
* NCL::$TVORITELN - творительный падеж
|
||||
* NCL::$PREDLOGN - предложный падеж
|
||||
*/
|
||||
|
||||
echo 'Отчет, ' .
|
||||
$nc->q("Афонин Николай Сергеевич", NCL::$RODITLN)
|
||||
. ' о проделаной работе вместе с его сыном ' .
|
||||
$nc->q("Афонин Никита", NCL::$TVORITELN) .
|
||||
' на осенних каникулах. Задание держалось на ' .
|
||||
$nc->q("Маргаритта Николаевна", NCL::$PREDLOGN) .
|
||||
'; Поздравляем всех предчастных, в том числе и ' .
|
||||
$nc->q("Кардонский Серафим Ильич", NCL::$VINITELN) . ' и ' .
|
||||
$nc->q("Лобудская София Викторовна", NCL::$VINITELN) .
|
||||
'. Хотим передать поздравление также ' .
|
||||
$nc->q("Игнатьев Павел Викторович", NCL::$DATELN) . ' и ' .
|
||||
$nc->q("Сумарский Лев", NCL::$DATELN);
|
||||
|
||||
/*
|
||||
* ========================
|
||||
* Результат выполнения
|
||||
* ========================
|
||||
* Отчет, Афонина Николая Сергеевича о проделаной работе вместе с его сыном Афониным Никитой на осенних каникулах. Задание держалось на Маргаритте Николаевне; Поздравляем всех предчастных, в том числе и Кардонского Серафима Ильича и Лобудскую Софию Викторовну. Хотим передать поздравление также Игнатьеву Павлу Викторовичу и Сумарскому Льву
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,58 +0,0 @@
|
||||
<?php
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
/*
|
||||
* Небольшой пример использования библиотеки
|
||||
* 1. Шаг подключаем библиотеку
|
||||
*/
|
||||
require '../Library/NCL.NameCase.ua.php';
|
||||
/*
|
||||
* 2. Создаем объект
|
||||
*/
|
||||
$nc = new NCLNameCaseUa();
|
||||
/*
|
||||
* =========================
|
||||
* Встроенные константы
|
||||
* =========================
|
||||
* NCL::$IMENITLN - именительный падеж
|
||||
* NCL::$RODITLN - родительные падеж
|
||||
* NCL::$DATELN - дательные падеж
|
||||
* NCL::$VINITELN - винительный падеж
|
||||
* NCL::$TVORITELN - творительный падеж
|
||||
* NCL::$PREDLOGN - предложный падеж
|
||||
*
|
||||
*
|
||||
* NCL::$UaNazyvnyi - називний відмінок
|
||||
* NCL::$UaRodovyi - родовий відмінок
|
||||
* NCL::$UaDavalnyi - давальный відмінок
|
||||
* NCL::$UaZnahidnyi - знахідний відмінок
|
||||
* NCL::$UaOrudnyi - орудний відмінок
|
||||
* NCL::$UaMiszevyi - місцевий відмінок
|
||||
* NCL::$UaKlychnyi - кличний відмінок
|
||||
*/
|
||||
|
||||
echo 'Звіт, ' .
|
||||
$nc->q("Афонін Микола Сергійович", NCL::$RODITLN)
|
||||
. ' про виконану роботу разом з його сином ' .
|
||||
$nc->q("Афонін Микита", NCL::$TVORITELN) .
|
||||
' на осінніх канікулах. Завдання трималося на ' .
|
||||
$nc->q("Маргарита Миколаївна", NCL::$PREDLOGN) .
|
||||
'; Вітаємо всіх, а також ' .
|
||||
$nc->q("Розумвський Андрій Миколайович", NCL::$VINITELN) . ' та ' .
|
||||
$nc->q("Лобудска Софія Вікторівна", NCL::$VINITELN) .
|
||||
'. Хочемо передати вітання ' .
|
||||
$nc->q("Воробей Хорив Іларіонович", NCL::$DATELN) . ' і ' .
|
||||
$nc->q("Мазепа Лев", NCL::$UaDavalnyi) . '. ' .
|
||||
$nc->q("Афродіта Іллівна", NCL::$UaKlychnyi) . ', триматесь!';
|
||||
|
||||
/*
|
||||
* ========================
|
||||
* Результат выполнения
|
||||
* ========================
|
||||
* Звіт, Афоніна Миколи Сергійовича про виконану роботу разом з його сином Афоніном Микитою на осінніх канікулах. Завдання трималося на Маргариті Миколаївні; Вітаємо всіх, а також Розумвського Андрія Миколайовича та Лобудску Софію Вікторівну. Хочемо передати вітання Вороб’єві Хоривові Іларіоновичу і Мазепі Левові. Афродіто Іллівно, триматесь!
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
31
Tutorial/lesson1.php
Normal file
31
Tutorial/lesson1.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
|
||||
/**
|
||||
* Подключаем необходимый язык
|
||||
*/
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
/**
|
||||
* Создаем обьект класса.
|
||||
* Теперь библиотека готова к работе
|
||||
*/
|
||||
$nc = new NCLNameCaseRu();
|
||||
/**
|
||||
* Производим склонения и выводим результат на экран
|
||||
*/
|
||||
print_r($nc->q("Андрей Николаевич"));
|
||||
|
||||
/**
|
||||
* Подключаем другой язык
|
||||
*/
|
||||
require '../Library/NCL.NameCase.ua.php';
|
||||
/**
|
||||
* Создаем объект класса.
|
||||
* Теперь библиотека готова к работе
|
||||
*/
|
||||
$nc = new NCLNameCaseUa();
|
||||
/**
|
||||
* Производим склонения и выводим результат на экран
|
||||
*/
|
||||
print_r($nc->q("Андрій Миколайович"));
|
||||
?>
|
25
Tutorial/lesson2.php
Normal file
25
Tutorial/lesson2.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
/**
|
||||
* Указываем падеж русской константой
|
||||
*/
|
||||
echo $nc->q('Андрей Николаевич', NCL::$RODITLN)."\n";
|
||||
|
||||
/**
|
||||
* Указываем падеж украинской константой
|
||||
*/
|
||||
echo $nc->q('Андрей Николаевич', NCL::$UaRodovyi)."\n";
|
||||
|
||||
/**
|
||||
* Явно не указываем пол
|
||||
*/
|
||||
print_r($nc->q('Иващук'));
|
||||
|
||||
/**
|
||||
* Указываем мужской пол
|
||||
*/
|
||||
print_r($nc->q('Иващук', null, NCL::$MAN));
|
||||
?>
|
42
Tutorial/lesson3.php
Normal file
42
Tutorial/lesson3.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
$people = array("Андрей Николаевич", 'Ирина', 'Ефиопский Аркадий Василевич',
|
||||
'Мария Николаевна', 'Розумовский Илья');
|
||||
|
||||
/**
|
||||
* Выбираем случайного человека из списка
|
||||
*/
|
||||
$person = $people[rand(0, count($people) - 1)];
|
||||
|
||||
/**
|
||||
* Определяем пол человека
|
||||
*/
|
||||
$gender = $nc->genderDetect($person);
|
||||
|
||||
/**
|
||||
* Выводим приветствие
|
||||
*/
|
||||
echo "Мы хотим предложить " . $nc->q($person, NCL::$DATELN) . " наши новые товары из категорий:
|
||||
<ul>";
|
||||
|
||||
/**
|
||||
* В зависимости от пола предлагаем разные товары
|
||||
*/
|
||||
if ($gender == NCL::$MAN)
|
||||
{
|
||||
echo "<li>Рыбалка и охота</li>
|
||||
<li>Электроника</li>
|
||||
<li>Инструменты для дома</li>";
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<li>Книги о кулинарии</li>
|
||||
<li>Косметика</li>
|
||||
<li>Дом и семья</li>";
|
||||
}
|
||||
echo "</ul>";
|
||||
?>
|
9
Tutorial/lesson4.php
Normal file
9
Tutorial/lesson4.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
echo $nc->q("АНДРЕЙ НИКОЛАЕВИЧ", NCL::$RODITLN)."\n";
|
||||
echo $nc->q("королёв Никита ПЕТРОВИЧ", NCL::$RODITLN)."\n";
|
||||
echo $nc->q("ПороСЁнОК ПёТР", NCL::$RODITLN)."\n";
|
||||
?>
|
30
Tutorial/lesson5.1.php
Normal file
30
Tutorial/lesson5.1.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
/**
|
||||
* Можно не указывать пол и формат
|
||||
*/
|
||||
echo $nc->qFullName("Иванов", "Фёдор", "Ильич", null, NCL::$TVORITELN)."\n"; //Ивановым Фёдором Ильичом
|
||||
|
||||
/**
|
||||
* В формате не обязательно использовать все слова
|
||||
*/
|
||||
echo $nc->qFullName("Иванов", "Фёдор", "Ильич", NCL::$MAN, NCL::$TVORITELN, "N F")."\n"; //Фёдором Ильичом
|
||||
|
||||
/**
|
||||
* Можно указать формат и не указывать пол человека
|
||||
*/
|
||||
echo $nc->qFullName("Иванов", "Фёдор", "Ильич", null, NCL::$TVORITELN, "S N")."\n"; //Ивановым Фёдором
|
||||
|
||||
/**
|
||||
* Можно указать все параметры
|
||||
*/
|
||||
echo $nc->qFullName("Иванов", "Фёдор", "Ильич", NCL::$MAN, NCL::$TVORITELN, "S N F")."\n"; //Ивановым Фёдором Ильичом
|
||||
|
||||
/**
|
||||
* В строке-формате могут присутствовать любые символы
|
||||
*/
|
||||
echo $nc->qFullName("Иванов", "Фёдор", "Ильич", NCL::$MAN, NCL::$TVORITELN, "Фамилия: S, Имя: N, Отчество: F")."\n"; //Фамилия: Ивановым, Имя: Фёдором, Отчество: Ильичом
|
||||
?>
|
20
Tutorial/lesson5.2.php
Normal file
20
Tutorial/lesson5.2.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
/**
|
||||
* Пол можно не указывать
|
||||
*/
|
||||
echo $nc->qFatherName("Николаевич", NCL::$DATELN)."\n";
|
||||
|
||||
/**
|
||||
* Если не указать падеж, получим массив со всеми падежами.
|
||||
*/
|
||||
print_r($nc->qFirstName("Андрей"));
|
||||
|
||||
/**
|
||||
* В ситувациях, когда не возможно определить пол, его полезно указать.
|
||||
*/
|
||||
echo $nc->qSecondName("Касюк", NCL::$DATELN, NCL::$MAN)."\n";
|
||||
?>
|
20
Tutorial/lesson5.3.php
Normal file
20
Tutorial/lesson5.3.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
/**
|
||||
* В цепочках может вызыватся любое количество методов
|
||||
*/
|
||||
echo $nc->fullReset()->setFirstName("Андрей")->setFatherName("Николаевич")->getFormatted(NCL::$RODITLN, "N F")."\n";
|
||||
|
||||
/**
|
||||
* Заканчиваются методы вызовом метода getFormatted(), который возвращает искомую строку
|
||||
*/
|
||||
print_r($nc->fullReset()->setFullName("Афросинин", "Павел", "Илларионович")->getFormatted(null, "N F S"));
|
||||
|
||||
/**
|
||||
* Начинаются все цепочки с вызова метода fullReset();
|
||||
*/
|
||||
echo $nc->fullReset()->setSecondName("Романчук")->setGender(NCL::$MAN)->getFormatted(NCL::$DATELN);
|
||||
?>
|
24
Tutorial/lesson6.php
Normal file
24
Tutorial/lesson6.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
$people = array("Андрей Николаевич", 'Ирина', 'Ефиопский Аркадий Василевич',
|
||||
'Мария Николаевна', 'Розумовский Илья');
|
||||
|
||||
foreach ($people as $person)
|
||||
{
|
||||
/**
|
||||
* Для каждого человека выводим формат ФИО
|
||||
*/
|
||||
echo $nc->getFullNameFormat($person).' - '.$person."\n";
|
||||
}
|
||||
/**
|
||||
* Результат выполнения:
|
||||
* N F - Андрей Николаевич
|
||||
* N - Ирина
|
||||
* S N F - Ефиопский Аркадий Василевич
|
||||
* N F - Мария Николаевна
|
||||
* S N - Розумовский Илья
|
||||
*/
|
||||
?>
|
33
Tutorial/lesson7.php
Normal file
33
Tutorial/lesson7.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
header('Content-type: text/html; charset=utf-8');
|
||||
require '../Library/NCL.NameCase.ru.php';
|
||||
$nc = new NCLNameCaseRu();
|
||||
|
||||
$name = "Ефиопский Аркадий Василевич";
|
||||
|
||||
/**
|
||||
* Склоняем слово любыми методами
|
||||
*/
|
||||
$nc->q($name);
|
||||
|
||||
/**
|
||||
* Получаем массив объектов типа NCLNameCaseWord
|
||||
*/
|
||||
$words = $nc->getWordsArray();
|
||||
|
||||
|
||||
foreach ($words as $word)
|
||||
{
|
||||
/**
|
||||
* Выводим тип каждого слова на экран
|
||||
*/
|
||||
echo $word->getNamePart().' '.$word->getNameCase(NCL::$TVORITELN)."\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Получаем:
|
||||
* S Ефиопским
|
||||
* N Аркадием
|
||||
* F Василевичем
|
||||
*/
|
||||
?>
|
Loading…
Reference in New Issue
Block a user