[0.4] Добавлен метод genderDetect()

This commit is contained in:
Andriy Chaika 2011-07-07 00:01:30 +03:00
parent 1b93beea33
commit bc1c585066
21 changed files with 179 additions and 115 deletions

View File

@ -439,7 +439,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -116,7 +116,7 @@
</div>
<div class="info-box-body">
<div class="method-summary">
<div class="method-definition">
<span class="method-result">void</span>
<a href="#fullReset" title="details" class="method-name">fullReset</a>
@ -126,6 +126,11 @@
<span class="method-result">int</span>
<a href="#genderAutoDetect" title="details" class="method-name">genderAutoDetect</a>
()
</div>
<div class="method-definition">
<span class="method-result">int</span>
<a href="#genderDetect" title="details" class="method-name">genderDetect</a>
(<span class="var-type">string</span>&nbsp;<span class="var-name">$fullname</span>)
</div>
<div class="method-definition">
<span class="method-result">mixed</span>
@ -469,9 +474,39 @@
</div>
<a name="methodgetFatherNameCase" id="getFatherNameCase"><!-- --></a>
<a name="methodgenderDetect" id="genderDetect"><!-- --></a>
<div class="evenrow">
<div class="method-header">
<span class="method-title">genderDetect</span> (line <span class="line-number">975</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">
genderDetect
</span>
(<span class="var-type">string</span>&nbsp;<span class="var-name">$fullname</span>)
</div>
<ul class="parameters">
<li>
<span class="var-type">string</span>
<span class="var-name">$fullname</span><span class="var-description">: ФИО</span> </li>
</ul>
</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">699</span>)
</div>
@ -501,7 +536,7 @@
</div>
<a name="methodgetFirstNameCase" id="getFirstNameCase"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getFirstNameCase</span> (line <span class="line-number">669</span>)
@ -532,7 +567,7 @@
</div>
<a name="methodgetFormatted" id="getFormatted"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFormatted</span> (line <span class="line-number">881</span>)
@ -566,7 +601,7 @@
</div>
<a name="methodgetFormattedArray" id="getFormattedArray"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getFormattedArray</span> (line <span class="line-number">779</span>)
@ -597,7 +632,7 @@
</div>
<a name="methodgetFormattedArrayHard" id="getFormattedArrayHard"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFormattedArrayHard</span> (line <span class="line-number">830</span>)
@ -628,7 +663,7 @@
</div>
<a name="methodgetFormattedHard" id="getFormattedHard"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getFormattedHard</span> (line <span class="line-number">861</span>)
@ -662,7 +697,7 @@
</div>
<a name="methodgetFullNameFormat" id="getFullNameFormat"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFullNameFormat</span> (line <span class="line-number">534</span>)
@ -693,7 +728,7 @@
</div>
<a name="methodgetSecondNameCase" id="getSecondNameCase"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getSecondNameCase</span> (line <span class="line-number">684</span>)
@ -724,7 +759,7 @@
</div>
<a name="methodin" id="in"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">in</span> (line <span class="line-number">189</span>)
@ -758,7 +793,7 @@
</div>
<a name="methodinNames" id="inNames"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">inNames</span> (line <span class="line-number">214</span>)
@ -790,7 +825,7 @@
</div>
<a name="methodLast" id="Last"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">Last</span> (line <span class="line-number">142</span>)
@ -824,7 +859,7 @@
</div>
<a name="methodq" id="q"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">q</span> (line <span class="line-number">958</span>)
@ -861,7 +896,7 @@
</div>
<a name="methodqFatherName" id="qFatherName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">qFatherName</span> (line <span class="line-number">759</span>)
@ -898,7 +933,7 @@
</div>
<a name="methodqFirstName" id="qFirstName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">qFirstName</span> (line <span class="line-number">716</span>)
@ -935,7 +970,7 @@
</div>
<a name="methodqFullName" id="qFullName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">qFullName</span> (line <span class="line-number">936</span>)
@ -981,7 +1016,7 @@
</div>
<a name="methodqSecondName" id="qSecondName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">qSecondName</span> (line <span class="line-number">737</span>)
@ -1018,7 +1053,7 @@
</div>
<a name="methodRule" id="Rule"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">Rule</span> (line <span class="line-number">116</span>)
@ -1047,7 +1082,7 @@
</div>
<a name="methodRulesChain" id="RulesChain"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">RulesChain</span> (line <span class="line-number">169</span>)
@ -1081,7 +1116,7 @@
</div>
<a name="methodsetFatherName" id="setFatherName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setFatherName</span> (line <span class="line-number">291</span>)
@ -1111,7 +1146,7 @@
</div>
<a name="methodsetFirstName" id="setFirstName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setFirstName</span> (line <span class="line-number">259</span>)
@ -1141,7 +1176,7 @@
</div>
<a name="methodsetFullName" id="setFullName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setFullName</span> (line <span class="line-number">323</span>)
@ -1176,7 +1211,7 @@
</div>
<a name="methodsetGender" id="setGender"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setGender</span> (line <span class="line-number">309</span>)
@ -1206,7 +1241,7 @@
</div>
<a name="methodsetLastName" id="setLastName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setLastName</span> (line <span class="line-number">345</span>)
@ -1236,7 +1271,7 @@
</div>
<a name="methodsetName" id="setName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setName</span> (line <span class="line-number">335</span>)
@ -1266,7 +1301,7 @@
</div>
<a name="methodsetSecondName" id="setSecondName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setSecondName</span> (line <span class="line-number">275</span>)
@ -1296,7 +1331,7 @@
</div>
<a name="methodsetSirName" id="setSirName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setSirName</span> (line <span class="line-number">355</span>)
@ -1326,7 +1361,7 @@
</div>
<a name="methodsetWorkingWord" id="setWorkingWord"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setWorkingWord</span> (line <span class="line-number">125</span>)
@ -1355,7 +1390,7 @@
</div>
<a name="methodwordForms" id="wordForms"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">wordForms</span> (line <span class="line-number">238</span>)
@ -1395,7 +1430,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -166,7 +166,7 @@
<A NAME='method_detail'></A>
<a name="methodgenderAutoDetect" id="genderAutoDetect"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">genderAutoDetect</span> (line <span class="line-number">33</span>)
@ -189,7 +189,7 @@
</div>
<a name="methodgetFatherNameCase" id="getFatherNameCase"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFatherNameCase</span> (line <span class="line-number">41</span>)
@ -217,7 +217,7 @@
</div>
<a name="methodgetFirstNameCase" id="getFirstNameCase"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getFirstNameCase</span> (line <span class="line-number">37</span>)
@ -245,7 +245,7 @@
</div>
<a name="methodgetFormatted" id="getFormatted"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFormatted</span> (line <span class="line-number">51</span>)
@ -276,7 +276,7 @@
</div>
<a name="methodgetFormattedArray" id="getFormattedArray"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getFormattedArray</span> (line <span class="line-number">49</span>)
@ -304,7 +304,7 @@
</div>
<a name="methodgetFullNameFormat" id="getFullNameFormat"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getFullNameFormat</span> (line <span class="line-number">35</span>)
@ -332,7 +332,7 @@
</div>
<a name="methodgetSecondNameCase" id="getSecondNameCase"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getSecondNameCase</span> (line <span class="line-number">39</span>)
@ -360,7 +360,7 @@
</div>
<a name="methodq" id="q"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">q</span> (line <span class="line-number">55</span>)
@ -394,7 +394,7 @@
</div>
<a name="methodqFatherName" id="qFatherName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">qFatherName</span> (line <span class="line-number">47</span>)
@ -428,7 +428,7 @@
</div>
<a name="methodqFirstName" id="qFirstName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">qFirstName</span> (line <span class="line-number">43</span>)
@ -462,7 +462,7 @@
</div>
<a name="methodqFullName" id="qFullName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">qFullName</span> (line <span class="line-number">53</span>)
@ -505,7 +505,7 @@
</div>
<a name="methodqSecondName" id="qSecondName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">qSecondName</span> (line <span class="line-number">45</span>)
@ -539,7 +539,7 @@
</div>
<a name="methodsetFatherName" id="setFatherName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setFatherName</span> (line <span class="line-number">21</span>)
@ -567,7 +567,7 @@
</div>
<a name="methodsetFirstName" id="setFirstName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setFirstName</span> (line <span class="line-number">17</span>)
@ -595,7 +595,7 @@
</div>
<a name="methodsetFullName" id="setFullName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setFullName</span> (line <span class="line-number">25</span>)
@ -629,7 +629,7 @@
</div>
<a name="methodsetGender" id="setGender"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setGender</span> (line <span class="line-number">23</span>)
@ -657,7 +657,7 @@
</div>
<a name="methodsetLastName" id="setLastName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setLastName</span> (line <span class="line-number">29</span>)
@ -685,7 +685,7 @@
</div>
<a name="methodsetName" id="setName"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setName</span> (line <span class="line-number">27</span>)
@ -713,7 +713,7 @@
</div>
<a name="methodsetSecondName" id="setSecondName"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setSecondName</span> (line <span class="line-number">19</span>)
@ -741,7 +741,7 @@
</div>
<a name="methodsetSirname" id="setSirname"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setSirname</span> (line <span class="line-number">31</span>)
@ -774,7 +774,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -891,6 +891,7 @@
<blockquote>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#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>
@ -926,7 +927,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:16 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:00 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -772,6 +772,7 @@
<blockquote>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodfullReset">NCLNameCaseCore::fullReset()</a></span><br>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#methodgenderAutoDetect">NCLNameCaseCore::genderAutoDetect()</a></span><br>
<span class="method-name"><a href="../NameCaseLib/NCLNameCaseCore.html#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>
@ -807,7 +808,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:01 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -126,7 +126,7 @@
<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">Constructor __construct</span> (line <span class="line-number">85</span>)
@ -155,7 +155,7 @@
</div>
<a name="methodgender" id="gender"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">gender</span> (line <span class="line-number">178</span>)
@ -180,7 +180,7 @@
</div>
<a name="methodgetGender" id="getGender"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getGender</span> (line <span class="line-number">221</span>)
@ -205,7 +205,7 @@
</div>
<a name="methodgetNameCases" id="getNameCases"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getNameCases</span> (line <span class="line-number">169</span>)
@ -230,7 +230,7 @@
</div>
<a name="methodgetNamePart" id="getNamePart"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">getNamePart</span> (line <span class="line-number">247</span>)
@ -256,7 +256,7 @@
</div>
<a name="methodgetWord" id="getWord"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">getWord</span> (line <span class="line-number">256</span>)
@ -281,7 +281,7 @@
</div>
<a name="methodisGenderSolved" id="isGenderSolved"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">isGenderSolved</span> (line <span class="line-number">266</span>)
@ -306,7 +306,7 @@
</div>
<a name="methodsetGender" id="setGender"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setGender</span> (line <span class="line-number">199</span>)
@ -338,7 +338,7 @@
</div>
<a name="methodsetNameCases" id="setNameCases"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setNameCases</span> (line <span class="line-number">159</span>)
@ -367,7 +367,7 @@
</div>
<a name="methodsetNamePart" id="setNamePart"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setNamePart</span> (line <span class="line-number">234</span>)
@ -397,7 +397,7 @@
</div>
<a name="methodsetRule" id="setRule"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">setRule</span> (line <span class="line-number">275</span>)
@ -426,7 +426,7 @@
</div>
<a name="methodsetTrueGender" id="setTrueGender"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">setTrueGender</span> (line <span class="line-number">212</span>)
@ -461,7 +461,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -145,7 +145,7 @@
</div>
<div class="info-box-body">
<a name="var$charset" id="$charset"><!-- --></A>
<div class="oddrow">
<div class="evenrow">
<div class="var-header">
<span class="var-title">
@ -179,7 +179,7 @@
<div class="info-box-body">
<A NAME='method_detail'></A>
<a name="methodconnectLetters" id="connectLetters"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method connectLetters</span> (line <span class="line-number">129</span>)
@ -209,7 +209,7 @@
</div>
<a name="methodexplode" id="explode"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method explode</span> (line <span class="line-number">140</span>)
@ -242,7 +242,7 @@
</div>
<a name="methodisLowerCase" id="isLowerCase"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method isLowerCase</span> (line <span class="line-number">93</span>)
@ -272,7 +272,7 @@
</div>
<a name="methodisUpperCase" id="isUpperCase"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method isUpperCase</span> (line <span class="line-number">103</span>)
@ -302,7 +302,7 @@
</div>
<a name="methodsplitLetters" id="splitLetters"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method splitLetters</span> (line <span class="line-number">113</span>)
@ -332,7 +332,7 @@
</div>
<a name="methodstrlen" id="strlen"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method strlen</span> (line <span class="line-number">51</span>)
@ -362,7 +362,7 @@
</div>
<a name="methodstrpos" id="strpos"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method strpos</span> (line <span class="line-number">41</span>)
@ -398,7 +398,7 @@
</div>
<a name="methodstrrpos" id="strrpos"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method strrpos</span> (line <span class="line-number">83</span>)
@ -434,7 +434,7 @@
</div>
<a name="methodstrtolower" id="strtolower"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method strtolower</span> (line <span class="line-number">61</span>)
@ -464,7 +464,7 @@
</div>
<a name="methodstrtoupper" id="strtoupper"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div class="method-header">
<span class="method-title">static method strtoupper</span> (line <span class="line-number">71</span>)
@ -494,7 +494,7 @@
</div>
<a name="methodsubstr" id="substr"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div class="method-header">
<span class="method-title">static method substr</span> (line <span class="line-number">29</span>)
@ -536,7 +536,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -57,7 +57,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -67,7 +67,7 @@
</div>
<div class="info-box-body">
<a name="_NCL_DIR_/NCL_php"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div>
<span class="include-title">
@ -81,7 +81,7 @@
</div>
<a name="_NCL_DIR_/NCLStr_php"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div>
<span class="include-title">
@ -95,7 +95,7 @@
</div>
<a name="_NCL_DIR_/NCLNameCaseInterface_php"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div>
<span class="include-title">
@ -109,7 +109,7 @@
</div>
<a name="_NCL_DIR_/NCLNameCaseWord_php"><!-- --></a>
<div class="oddrow">
<div class="evenrow">
<div>
<span class="include-title">
@ -136,7 +136,7 @@
</div>
<div class="info-box-body">
<a name="defineNCL_DIR"><!-- --></a>
<div class="evenrow">
<div class="oddrow">
<div>
<span class="const-title">
@ -155,7 +155,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:18 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -57,7 +57,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
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>

View File

@ -57,7 +57,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -57,7 +57,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -84,7 +84,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:16 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:00 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -84,7 +84,7 @@
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:17 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:01 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</div></body>
</html>

View File

@ -34,7 +34,7 @@
<li><a href="NameCaseLib/NCLStr.html">NCLStr</a></li></ul>
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:16 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:00 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>

View File

@ -190,15 +190,22 @@
<span class="method-title">GenderBySecondName</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseRu.html#methodGenderBySecondName">NCLNameCaseRu::GenderBySecondName()</a> in NCL.NameCase.ru.php</div>
<div class="index-item-description">Определение пола по правилам фамилий</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseUa.html#methodGenderBySecondName">NCLNameCaseUa::GenderBySecondName()</a> in NCL.NameCase.ua.php</div>
<div class="index-item-description">Визначення статі, за правилами прізвища</div>
</dd>
<dt class="field">
<span class="method-title">GenderBySecondName</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseUa.html#methodGenderBySecondName">NCLNameCaseUa::GenderBySecondName()</a> in NCL.NameCase.ua.php</div>
<div class="index-item-description">Визначення статі, за правилами прізвища</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseRu.html#methodGenderBySecondName">NCLNameCaseRu::GenderBySecondName()</a> in NCL.NameCase.ru.php</div>
<div class="index-item-description">Определение пола по правилам фамилий</div>
</dd>
<dt class="field">
<span class="method-title">genderDetect</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgenderDetect">NCLNameCaseCore::genderDetect()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Определяет пол человека по ФИО</div>
</dd>
<dt class="field">
<span class="method-title">getFatherNameCase</span>
@ -217,14 +224,14 @@
<span class="method-title">getFirstNameCase</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Функция ставит имя в нужный падеж.</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFirstNameCase">NCLNameCaseInterface::getFirstNameCase()</a> in NCLNameCaseInterface.php</div>
</dd>
<dt class="field">
<span class="method-title">getFirstNameCase</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFirstNameCase">NCLNameCaseInterface::getFirstNameCase()</a> in NCLNameCaseInterface.php</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Функция ставит имя в нужный падеж.</div>
</dd>
<dt class="field">
<span class="method-title">getFormatted</span>
@ -243,14 +250,14 @@
<span class="method-title">getFormattedArray</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
</dd>
<dt class="field">
<span class="method-title">getFormattedArray</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
</dd>
<dt class="field">
<span class="method-title">getFormattedArrayHard</span>

View File

@ -202,15 +202,22 @@
<span class="method-title">GenderBySecondName</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseRu.html#methodGenderBySecondName">NCLNameCaseRu::GenderBySecondName()</a> in NCL.NameCase.ru.php</div>
<div class="index-item-description">Определение пола по правилам фамилий</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseUa.html#methodGenderBySecondName">NCLNameCaseUa::GenderBySecondName()</a> in NCL.NameCase.ua.php</div>
<div class="index-item-description">Визначення статі, за правилами прізвища</div>
</dd>
<dt class="field">
<span class="method-title">GenderBySecondName</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseUa.html#methodGenderBySecondName">NCLNameCaseUa::GenderBySecondName()</a> in NCL.NameCase.ua.php</div>
<div class="index-item-description">Визначення статі, за правилами прізвища</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseRu.html#methodGenderBySecondName">NCLNameCaseRu::GenderBySecondName()</a> in NCL.NameCase.ru.php</div>
<div class="index-item-description">Определение пола по правилам фамилий</div>
</dd>
<dt class="field">
<span class="method-title">genderDetect</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgenderDetect">NCLNameCaseCore::genderDetect()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Определяет пол человека по ФИО</div>
</dd>
<dt class="field">
<span class="method-title">getFatherNameCase</span>
@ -229,14 +236,14 @@
<span class="method-title">getFirstNameCase</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Функция ставит имя в нужный падеж.</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFirstNameCase">NCLNameCaseInterface::getFirstNameCase()</a> in NCLNameCaseInterface.php</div>
</dd>
<dt class="field">
<span class="method-title">getFirstNameCase</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFirstNameCase">NCLNameCaseInterface::getFirstNameCase()</a> in NCLNameCaseInterface.php</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFirstNameCase">NCLNameCaseCore::getFirstNameCase()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Функция ставит имя в нужный падеж.</div>
</dd>
<dt class="field">
<span class="method-title">getFormatted</span>
@ -255,14 +262,14 @@
<span class="method-title">getFormattedArray</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
</dd>
<dt class="field">
<span class="method-title">getFormattedArray</span>
</dt>
<dd class="index-item-body">
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseCore.html#methodgetFormattedArray">NCLNameCaseCore::getFormattedArray()</a> in NCLNameCaseCore.php</div>
<div class="index-item-description">Склоняет текущие слова во все падежи и форматирует слово по шаблону <var>$format</var></div>
<div class="index-item-details"><a href="NameCaseLib/NCLNameCaseInterface.html#methodgetFormattedArray">NCLNameCaseInterface::getFormattedArray()</a> in NCLNameCaseInterface.php</div>
</dd>
<dt class="field">
<span class="method-title">getFormattedArrayHard</span>

View File

@ -10,7 +10,7 @@
<body>
<a href="#Post-parsing">Post-parsing</a><br>
<p class="notes" id="credit">
Documentation generated on Wed, 06 Jul 2011 14:52:19 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
Documentation generated on Thu, 07 Jul 2011 00:01:03 +0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
</p>
</body>
</html>

View File

@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Generated by phpDocumentor on Wed, 06 Jul 2011 14:52:16 +0300 -->
<!-- Generated by phpDocumentor on Thu, 07 Jul 2011 00:01:00 +0300 -->
<title>Generated Documentation</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
</head>

View File

@ -966,6 +966,18 @@ class NCLNameCaseCore extends NCL
$this->AllWordCases();
return $this->getFormatted($caseNum, $format);
}
/**
* Определяет пол человека по ФИО
* @param string $fullname ФИО
* @return int пол человека
*/
public function genderDetect($fullname)
{
$this->fullReset();
$this->splitFullName($fullname);
return $this->genderAutoDetect();
}
}

View File

@ -6,5 +6,6 @@ $ob = new NCLNameCaseUa;
print_r($ob->q("Іванцов Микола Микита Андрій Петро Михайлович Миколайович Антонівна"));
echo $ob->getFullNameFormat("Мая");
echo $ob->genderDetect("Іванцов Микола Микита Андрій Петро Михайлович Миколайович Антонівна");
//echo $ob->getSecondNameRule();
?>