Location: PHPKode > projects > Yellow Duck Framework > doc/api/classYDCMStatistics__visits.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Yellow Duck Framework: YDCMStatistics_visits Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<h1>YDCMStatistics_visits Class Reference</h1><!-- doxytag: class="YDCMStatistics_visits" --><!-- doxytag: inherits="YDDatabaseObject" -->Inherits <a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a>.
<p>
<a href="classYDCMStatistics__visits-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#b23440568a74c76952a4722bcfb512a0">YDDatabaseObject</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#002988166249fa1b83d3a5860a05009b">escapeSql</a> ($string)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#3dbee34d3b726c7ab9009977143073c0">escapeSqlArray</a> ($arr)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#58f2dc1177e76ac156cf9f270b9b3781">registerDatabase</a> ($db=null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#26672a70d13fd4e29b67905be3d0c4d8">registerTable</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#126458de0572d2ccfa6cb6fc53ba33de">registerField</a> ($name, $null=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#d6c8befb195b474c542dd16f78b755ae">registerKey</a> ($name, $auto=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#6405fbdb71e542d6e9dfc05fc888093b">registerRelation</a> ($name, $manytomany=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $foreign_class='', $cross_class='')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#738162b1e397da80e6e7edc9dff93126">registerSelect</a> ($name, $expr, $all=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#e907ba4386a018a320a99b81da626502">unregisterSelect</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#5065860a935377803a9dc8629c7183f5">registerProtected</a> ($name, $value, $comparison='=')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#4754513bf10006a630e84327be56b508">unregisterProtected</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#fb329429e8fd548d962c1f7aee55d366">registerCallback</a> ($method, $action, $before=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#00e84fdf467bbd506750d87febc9fad6">unregisterCallback</a> ($method, $action=null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#607352426f9c672e583db6afb3b2d681">resetProtected</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#a0dd4bf57d57bc2a3697e40c9f6bddce">getTable</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#26e3e0c627051b4287204b3575b81d97">getAlias</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#816421ffd1350687d7b31b469c6b5aa8">getDatabase</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#558495d2f5913f347d4aeb467158cf98">getField</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#0076af9fb4023337389f4ad78bf60d59">getColumn</a> ($field, $alias=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#9556b83aa38e501c7cc310bafd5a9076">getRelation</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#1861ce4ab262e312f2bf00c6997dfe2c">getSelect</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#afef893a322a24de98a79648d9eede59">_getFieldsByMethod</a> ($method, $object=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#26126aeed28d54deb6392adc82b4bb52">_prepareQuery</a> ($only_keys=true, $update=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#4dcaa8f72c8423d4de25a9e87fa6f3e4">load</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#dbee00e587a7ee5b60ed4e3d9b638e4f">loadAll</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#73a1b0348919b6755e4f69dcc70eba64">findAll</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#1e0de7abe92eb071f3700c0abd3ff4af">getValues</a> ($only_current=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $only_fields=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $columns=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $prefix=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#84e997041b75a0e22d802d88d33c786a">getResults</a> ($only_current=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $only_fields=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $columns=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $prefix=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#785585a49675532f24488f4f77e923de">insert</a> ($values_noquote=array())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#2b032876289c1f3623551bcad8a6bd71">insertForm</a> (&amp;$form, $messages=array(), $formvalues=null, $onDate= 'datetimesql')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#8ce8ca9a990a18083e3d37a18d7905d5">update</a> ($values_noquote=array(), $fields_noquote=array())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#13bdffdd926f26b825ea57066334ff01">delete</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#662a746ed7a388cd297afb20bcc04ee1">deleteSQL</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#39ec161e9a5372e002b889d276208899">find</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#6d8f71eb99fd36bd23c0aed231b8336c">findSql</a> ($sql, $slices=array())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#155e3c626a39c65c5a59a26546d18626">getModified</a> ($exclude=array())</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#151c63297142ccef5f3143d6c8d8fd0c">executeSql</a> ($sql)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#c751e87b3d4c4bf2feb03bee8b092755">count</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#701f78ac6d7ece9e18883fe7ee612e9f">select</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#e799188ffbe5c2cc9e25e962b1822e16">where</a> ($expr, $logic='AND')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#8b4b72d53a9d9e2d2698ac688e1f0688">group</a> ($expr, $desc=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $reserved=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#4a3034ebd4fd658f01026cfea5533283">groupby</a> ($expr, $desc=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $reserved=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#893459647bf6984c554d42de13adf4c7">having</a> ($expr, $logic='AND')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#d2507d038dcfcf892c75b188415b5dbd">order</a> ($expr, $desc=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $reserved=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#cade5deaa10f55e9a72ce4ee6aced1ef">orderby</a> ($expr, $desc=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $reserved=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#e2e0561fba787422984e36dcbf1d431e">limit</a> ($limit=-1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#e6bced0c750c69d497dafb2444169619">offset</a> ($offset=-1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#12be109ceb21af6caf50950ea918e5fc">fetch</a> ($only_current=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#34f62b67662328dbb4e07e612d355942">resetAll</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#4a20559544fdf4dcb457e258dc976cf8">reset</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#d9882444754944dbda6c182c685d4e42">resetResults</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#4caadf998a99dcfbf527a43e28efa85f">resetCount</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#166319d98486fd14d712d9343e243681">resetValues</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#fd7ef3137eb628cb07d9e62877d8201d">resetQuery</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#19cd9cf20ea447908a1d47afe9b7a276">resetObject</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#07712909d6e5c5fff9d9a00e17615e33">resetRelations</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#10c23e7efba374f9d094eaa780a220ed">resetRelation</a> ($relation='')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#dd97f8a5afcac85f8591f08fa0ed7ebf">_getValues</a> ($only_fields=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $columns=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $prefix='')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#640524f84c4c483f9715ad2dddb7f5c2">getValuesAsAssocArray</a> ($val=array(), $only_current=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $only_fields=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $columns=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $prefix=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#c1ff88c2fb4d457a82c5eb2b3134d7ee">getResultsAsAssocArray</a> ($key=array(), $val=array(), $only_current=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $only_fields=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $columns=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $prefix=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#562ec4d13464ce01612f6ce2fbdf703d">setValues</a> ($values)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#079bbf10793abd07e272d0505b7e2a38">set</a> ($field, $value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#042520dbd183525931af8a594b378cb2">exists</a> ($field)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#9adbd1b4410056a869ed791523221464">exists</a> ($name, $null=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#e33a9242fba8e092d16dae9bf00f08f8">get</a> ($field)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#c339f8a1bfef361ac05b3fabfb6b02c8">_executeCallbacks</a> ($action, $before=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>, $success=null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#f5c863affd4cfa6f61124d1b32209175">setFailOnError</a> ($val=true)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDAddOnModule.html#766dc32e42def0f08466c6ab1bbdd1c4">YDAddOnModule</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#f0d84d166fa222e07a0aef085e043209">YDBase</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#b8f8ee56588ebf5091c288e44ebdfaf4">getClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#6d24132dc92242f7f71aa98e7ae86442">hasMethod</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#31021df71fee1ed32512816964394026">isSubClass</a> ($class)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#7c1cee80f13fa3a3f6a8ec5dc7352d24">getAncestors</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#4d9813fea8525b19a1d370eeb8fe41d6">serialize</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#dd23574959430506d6df014f57adda7b">unsetVar</a> ($name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDBase.html#658defb34762c8f40085aec87e16ba1a">toArray</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classYDDatabaseObject.html#8314ad53eb6fa8912e5b94cfc6f56642">getInstance</a> ($class='', $params=<a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a>)</td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c339f8a1bfef361ac05b3fabfb6b02c8"></a><!-- doxytag: member="YDCMStatistics_visits::_executeCallbacks" ref="c339f8a1bfef361ac05b3fabfb6b02c8" args="($action, $before=false, $success=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_executeCallbacks           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>before</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>success</em> = <code>null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes all callbacks defined for the action.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$action</em>&nbsp;</td><td>The action name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$before</em>&nbsp;</td><td>(optional) Execute the before actions. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$success</em>&nbsp;</td><td>(optional) Boolean indicating if the action was successful. Default: null - no result.</td></tr>
  </table>
</dl>
<p><b>For internal use only.</b></p>
<p>
</p>

</div>
</div><p>
<a class="anchor" name="afef893a322a24de98a79648d9eede59"></a><!-- doxytag: member="YDCMStatistics_visits::_getFieldsByMethod" ref="afef893a322a24de98a79648d9eede59" args="($method, $object=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_getFieldsByMethod           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>object</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns an array with the fields retrieved by a given method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$method</em>&nbsp;</td><td>The method name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$object</em>&nbsp;</td><td>(optional) If true, returns the field objects, otherwise the field names. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An array with the fields retrieved by a given method. </dd></dl>

</div>
</div><p>
<a class="anchor" name="dd97f8a5afcac85f8591f08fa0ed7ebf"></a><!-- doxytag: member="YDCMStatistics_visits::_getValues" ref="dd97f8a5afcac85f8591f08fa0ed7ebf" args="($only_fields=false, $columns=false, $prefix='')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_getValues           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_fields</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>''</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function retrieves all the object's fields values.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$only_fields</em>&nbsp;</td><td>(optional) Returns only defined fields. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$columns</em>&nbsp;</td><td>(optional) Returns the columns names instead of the fields names. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$prefix</em>&nbsp;</td><td>(optional) Adds a prefix to the array keys. Default: (empty)</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An associative array with the values. </dd></dl>

</div>
</div><p>
<a class="anchor" name="26126aeed28d54deb6392adc82b4bb52"></a><!-- doxytag: member="YDCMStatistics_visits::_prepareQuery" ref="26126aeed28d54deb6392adc82b4bb52" args="($only_keys=true, $update=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_prepareQuery           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_keys</em> = <code>true</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>update</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function prepares a query based on the object values.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$only_keys</em>&nbsp;</td><td>(optional) Use only the keys for the WHERE clause. Default: true. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$update</em>&nbsp;</td><td>(optional) Default: false.</td></tr>
  </table>
</dl>
<p><b>For internal use only.</b></p>
<p>
</p>

</div>
</div><p>
<a class="anchor" name="c751e87b3d4c4bf2feb03bee8b092755"></a><!-- doxytag: member="YDCMStatistics_visits::count" ref="c751e87b3d4c4bf2feb03bee8b092755" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">count           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns the total of results remaining to be fetched.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of rows to be fetch. </dd></dl>

</div>
</div><p>
<a class="anchor" name="13bdffdd926f26b825ea57066334ff01"></a><!-- doxytag: member="YDCMStatistics_visits::delete" ref="13bdffdd926f26b825ea57066334ff01" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">delete           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes an DELETE query based on the values of the object or any condition set by where and order.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of rows affected. </dd></dl>

</div>
</div><p>
<a class="anchor" name="662a746ed7a388cd297afb20bcc04ee1"></a><!-- doxytag: member="YDCMStatistics_visits::deleteSQL" ref="662a746ed7a388cd297afb20bcc04ee1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteSQL           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method returns the DELETE query based on the values of the object or any condition set by where and order.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The SQL query string. </dd></dl>

</div>
</div><p>
<a class="anchor" name="002988166249fa1b83d3a5860a05009b"></a><!-- doxytag: member="YDCMStatistics_visits::escapeSql" ref="002988166249fa1b83d3a5860a05009b" args="($string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">escapeSql           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>string</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function will escape a string so that it's safe to include it in an SQL statement and will surround it with the quotes appropriate for the database backend.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$string</em>&nbsp;</td><td>The string to escape.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The escaped string surrounded by quotes. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3dbee34d3b726c7ab9009977143073c0"></a><!-- doxytag: member="YDCMStatistics_visits::escapeSqlArray" ref="3dbee34d3b726c7ab9009977143073c0" args="($arr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">escapeSqlArray           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>arr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function will escape all array elements with the quotes appropriate for the database backend.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$arr</em>&nbsp;</td><td>The array to escape. Eg: array( 1, null, 'hi' ) will result in "1, null, 'hi'"</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The escaped string surrounded by quotes. </dd></dl>

</div>
</div><p>
<a class="anchor" name="151c63297142ccef5f3143d6c8d8fd0c"></a><!-- doxytag: member="YDCMStatistics_visits::executeSql" ref="151c63297142ccef5f3143d6c8d8fd0c" args="($sql)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">executeSql           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>sql</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes any SQL query.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$sql</em>&nbsp;</td><td>The SQL query</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The result </dd></dl>

</div>
</div><p>
<a class="anchor" name="9adbd1b4410056a869ed791523221464"></a><!-- doxytag: member="YDCMStatistics_visits::exists" ref="9adbd1b4410056a869ed791523221464" args="($name, $null=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">exists           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>null</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function indicates if a variable in the object exists or not.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The variable name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$null</em>&nbsp;</td><td>(Optional) If false, indicates variables that are null as they don't exist. Default: false.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Returns a boolean indicating if a variable exists or not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="042520dbd183525931af8a594b378cb2"></a><!-- doxytag: member="YDCMStatistics_visits::exists" ref="042520dbd183525931af8a594b378cb2" args="($field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">exists           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function checks if a field value is set.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$field</em>&nbsp;</td><td>The field name</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>If the field value is set. </dd></dl>

</div>
</div><p>
<a class="anchor" name="12be109ceb21af6caf50950ea918e5fc"></a><!-- doxytag: member="YDCMStatistics_visits::fetch" ref="12be109ceb21af6caf50950ea918e5fc" args="($only_current=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">fetch           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_current</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function fetch the results and adds it's values to the object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$only_current</em>&nbsp;</td><td>(optional) Fetch only the current object values. Default: false.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if any result has been fetched, otherwise false. </dd></dl>

</div>
</div><p>
<a class="anchor" name="39ec161e9a5372e002b889d276208899"></a><!-- doxytag: member="YDCMStatistics_visits::find" ref="39ec161e9a5372e002b889d276208899" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">find           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function finds the rows that match the object field's values an any other condition added with where, group, having, etc.<p>
You can add values to the method's parameters to search the relations.<p>
If you want to limit this query, use the setLimit method.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of records found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="73a1b0348919b6755e4f69dcc70eba64"></a><!-- doxytag: member="YDCMStatistics_visits::findAll" ref="73a1b0348919b6755e4f69dcc70eba64" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">findAll           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes a single query for all relations that meet the conditions established by the object values.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The number of rows found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6d8f71eb99fd36bd23c0aed231b8336c"></a><!-- doxytag: member="YDCMStatistics_visits::findSql" ref="6d8f71eb99fd36bd23c0aed231b8336c" args="($sql, $slices=array())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">findSql           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>slices</em> = <code>array()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function execute the SQL statement passed and adds it's results to the object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$sql</em>&nbsp;</td><td>The SQL statement. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$slices</em>&nbsp;</td><td>(optional) The slices of the query.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The number of records found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e33a9242fba8e092d16dae9bf00f08f8"></a><!-- doxytag: member="YDCMStatistics_visits::get" ref="e33a9242fba8e092d16dae9bf00f08f8" args="($field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">get           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns the value of a field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$field</em>&nbsp;</td><td>The field name</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The field value. </dd></dl>

<p>
Reimplemented from <a class="el" href="classYDBase.html#f5ea6a083ddb07beb8a30dd32e309ceb">YDBase</a>.
<p>
Reimplemented in <a class="el" href="classYDCMComponent.html#cf10f45603972998d30f5896391aca89">YDCMComponent</a>.
</div>
</div><p>
<a class="anchor" name="26e3e0c627051b4287204b3575b81d97"></a><!-- doxytag: member="YDCMStatistics_visits::getAlias" ref="26e3e0c627051b4287204b3575b81d97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAlias           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Returns:</b></dt><dd>The table alias. </dd></dl>

</div>
</div><p>
<a class="anchor" name="7c1cee80f13fa3a3f6a8ec5dc7352d24"></a><!-- doxytag: member="YDCMStatistics_visits::getAncestors" ref="7c1cee80f13fa3a3f6a8ec5dc7352d24" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAncestors           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Function to get all the ancestors of this class. The list will contain the parent class first, and then it's parent class, etc. You can pass both the name of the class or an object instance to this function.<p>
<dl compact><dt><b>Returns:</b></dt><dd>Array with all the ancestors. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b8f8ee56588ebf5091c288e44ebdfaf4"></a><!-- doxytag: member="YDCMStatistics_visits::getClassName" ref="b8f8ee56588ebf5091c288e44ebdfaf4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns the name of the current class.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The name of the current class in lowercase. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0076af9fb4023337389f4ad78bf60d59"></a><!-- doxytag: member="YDCMStatistics_visits::getColumn" ref="0076af9fb4023337389f4ad78bf60d59" args="($field, $alias=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getColumn           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>alias</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns the column name of a defined field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$field</em>&nbsp;</td><td>The field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$alias</em>&nbsp;</td><td>(optional) If true, returns the table alias with the column name. Default: false.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The column name with or without the table alias. </dd></dl>

</div>
</div><p>
<a class="anchor" name="816421ffd1350687d7b31b469c6b5aa8"></a><!-- doxytag: member="YDCMStatistics_visits::getDatabase" ref="816421ffd1350687d7b31b469c6b5aa8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; getDatabase           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the database class. </dd></dl>

</div>
</div><p>
<a class="anchor" name="558495d2f5913f347d4aeb467158cf98"></a><!-- doxytag: member="YDCMStatistics_visits::getField" ref="558495d2f5913f347d4aeb467158cf98" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; getField           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns a reference to a defined field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the field. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8314ad53eb6fa8912e5b94cfc6f56642"></a><!-- doxytag: member="YDCMStatistics_visits::getInstance" ref="8314ad53eb6fa8912e5b94cfc6f56642" args="($class='', $params=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getInstance           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>class</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>params</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns an instance of a <a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a> class.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$class</em>&nbsp;</td><td>(optional) The class name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$params</em>&nbsp;</td><td>(optional) The params to use when instantiating the instance.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An instance of a <a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a> class. </dd></dl>

</div>
</div><p>
<a class="anchor" name="155e3c626a39c65c5a59a26546d18626"></a><!-- doxytag: member="YDCMStatistics_visits::getModified" ref="155e3c626a39c65c5a59a26546d18626" args="($exclude=array())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getModified           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>exclude</em> = <code>array()</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns an associative array with the modified fields and it's old and new values.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$exclude</em>&nbsp;</td><td>(optional) Array with fields to exclude from the comparison.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An array with the modified fields and the old and new values. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9556b83aa38e501c7cc310bafd5a9076"></a><!-- doxytag: member="YDCMStatistics_visits::getRelation" ref="9556b83aa38e501c7cc310bafd5a9076" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; getRelation           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns a reference to a defined relation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The relation name.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the relation. </dd></dl>

</div>
</div><p>
<a class="anchor" name="84e997041b75a0e22d802d88d33c786a"></a><!-- doxytag: member="YDCMStatistics_visits::getResults" ref="84e997041b75a0e22d802d88d33c786a" args="($only_current=false, $only_fields=false, $columns=false, $prefix=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getResults           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_current</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_fields</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function retrieves all the relation results that weren't fetched.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$only_current</em>&nbsp;</td><td>(optional) Returns only the current object results. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_fields</em>&nbsp;</td><td>(optional) Returns only defined fields. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$columns</em>&nbsp;</td><td>(optional) Returns the columns names instead of the fields names. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$prefix</em>&nbsp;</td><td>(optional) Adds the relation's vars as prefixes to the keys. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An array with the results. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c1ff88c2fb4d457a82c5eb2b3134d7ee"></a><!-- doxytag: member="YDCMStatistics_visits::getResultsAsAssocArray" ref="c1ff88c2fb4d457a82c5eb2b3134d7ee" args="($key=array(), $val=array(), $only_current=false, $only_fields=false, $columns=false, $prefix=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getResultsAsAssocArray           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>key</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>val</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_current</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_fields</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function retrieves all the results that weren't fetched as an associative array using the indicated fields for keys and values<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$key</em>&nbsp;</td><td>(optional) The fields to use for the keys. Default: all keys. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$val</em>&nbsp;</td><td>(optional) The fields to use for the values. Default: all fields. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_current</em>&nbsp;</td><td>(optional) Returns only the current object values. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_fields</em>&nbsp;</td><td>(optional) Returns only defined fields. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$columns</em>&nbsp;</td><td>(optional) Returns the columns names instead of the fields names. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$prefix</em>&nbsp;</td><td>(optional) If true all foreign values will be prefixed with the foreign and cross var. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An associative array with the results. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1861ce4ab262e312f2bf00c6997dfe2c"></a><!-- doxytag: member="YDCMStatistics_visits::getSelect" ref="1861ce4ab262e312f2bf00c6997dfe2c" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; getSelect           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns a reference to a defined select.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The select name.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the select. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a0dd4bf57d57bc2a3697e40c9f6bddce"></a><!-- doxytag: member="YDCMStatistics_visits::getTable" ref="a0dd4bf57d57bc2a3697e40c9f6bddce" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTable           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Returns:</b></dt><dd>The table name of the class. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1e0de7abe92eb071f3700c0abd3ff4af"></a><!-- doxytag: member="YDCMStatistics_visits::getValues" ref="1e0de7abe92eb071f3700c0abd3ff4af" args="($only_current=false, $only_fields=false, $columns=false, $prefix=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getValues           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_current</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_fields</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns all the relation objects values arrays in a single array.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$only_current</em>&nbsp;</td><td>(optional) Returns only the current object values. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_fields</em>&nbsp;</td><td>(optional) Returns only defined fields. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$columns</em>&nbsp;</td><td>(optional) Returns the columns names instead of the fields names. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$prefix</em>&nbsp;</td><td>(optional) If true all foreign values will be prefixed with the foreign and cross var. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The single array with all values. </dd></dl>

</div>
</div><p>
<a class="anchor" name="640524f84c4c483f9715ad2dddb7f5c2"></a><!-- doxytag: member="YDCMStatistics_visits::getValuesAsAssocArray" ref="640524f84c4c483f9715ad2dddb7f5c2" args="($val=array(), $only_current=false, $only_fields=false, $columns=false, $prefix=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getValuesAsAssocArray           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>val</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_current</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>only_fields</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>columns</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function retrieves an associative array of values of the indicated fields.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$val</em>&nbsp;</td><td>(optional) The fields to retrieve. Default: all. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_current</em>&nbsp;</td><td>(optional) Returns only the current object values. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$only_fields</em>&nbsp;</td><td>(optional) Returns only defined fields. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$columns</em>&nbsp;</td><td>(optional) Returns the columns names instead of the fields names. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$prefix</em>&nbsp;</td><td>(optional) If true all foreign values will be prefixed with the foreign and cross var. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>An associative array with the values. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8b4b72d53a9d9e2d2698ac688e1f0688"></a><!-- doxytag: member="YDCMStatistics_visits::group" ref="8b4b72d53a9d9e2d2698ac688e1f0688" args="($expr, $desc=false, $reserved=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">group           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>desc</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>reserved</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds an expression to the GROUP BY clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>The column name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$desc</em>&nbsp;</td><td>(optional) If true adds a DESC string to the expression. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$reserved</em>&nbsp;</td><td>(optional) Indicates if the expression is a reserved keyword. Default: false. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4a3034ebd4fd658f01026cfea5533283"></a><!-- doxytag: member="YDCMStatistics_visits::groupby" ref="4a3034ebd4fd658f01026cfea5533283" args="($expr, $desc=false, $reserved=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">groupby           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>desc</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>reserved</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Alias of group. Adds an expression to the GROUP BY clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>The column name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$desc</em>&nbsp;</td><td>(optional) If true adds a DESC string to the column. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$reserved</em>&nbsp;</td><td>(optional) Indicates if the expression is a reserved keyword. Default: false. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="6d24132dc92242f7f71aa98e7ae86442"></a><!-- doxytag: member="YDCMStatistics_visits::hasMethod" ref="6d24132dc92242f7f71aa98e7ae86442" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">hasMethod           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns true if the specified method is existing in the current class.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The name of the class method to look for.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Boolean indicating if the class method exists or not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="893459647bf6984c554d42de13adf4c7"></a><!-- doxytag: member="YDCMStatistics_visits::having" ref="893459647bf6984c554d42de13adf4c7" args="($expr, $logic='AND')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">having           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>logic</em> = <code>'AND'</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds an expression to the HAVING clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>The expression. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$logic</em>&nbsp;</td><td>(optional) Logic operator (e.g. AND, OR, XOR). Default: AND. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="785585a49675532f24488f4f77e923de"></a><!-- doxytag: member="YDCMStatistics_visits::insert" ref="785585a49675532f24488f4f77e923de" args="($values_noquote=array())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">insert           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>values_noquote</em> = <code>array()</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes an INSERT query based on the values of the object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$values_noquote</em>&nbsp;</td><td>(optional) Associative array that defines values that will not be quoted as strings, e.g. NOW().</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The last autoincrement value if any. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2b032876289c1f3623551bcad8a6bd71"></a><!-- doxytag: member="YDCMStatistics_visits::insertForm" ref="2b032876289c1f3623551bcad8a6bd71" args="(&amp;$form, $messages=array(), $formvalues=null, $onDate= 'datetimesql')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">insertForm           </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>form</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>messages</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>formvalues</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>onDate</em> = <code>'datetimesql'</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function inserts a form in database<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$form</em>&nbsp;</td><td><a class="el" href="classYDForm.html">YDForm</a> object</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$messages</em>&nbsp;</td><td>(optional) Array with predefined messages: 'ok' for ok message, 'error' for fatal messages, 'form_err' for no validation</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$forvalues</em>&nbsp;</td><td>(optional) Custom form validation values</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$onDate</em>&nbsp;</td><td>(optional) When element is a date (read: array ), we should convert to this format. Default: 'datetimesql'</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><a class="el" href="classYDResult.html">YDResult</a> object with a message and a result On 'ok', result is the new id On 'form_err', result is array of form error messages </dd></dl>

</div>
</div><p>
<a class="anchor" name="31021df71fee1ed32512816964394026"></a><!-- doxytag: member="YDCMStatistics_visits::isSubClass" ref="31021df71fee1ed32512816964394026" args="($class)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isSubClass           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>class</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function checks if this object instance is of a specific class or is based on a derived class of the given class. The class name is case insensitive.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$class</em>&nbsp;</td><td>The object type you want to check against.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>Boolean indicating if this object is of the specified class. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e2e0561fba787422984e36dcbf1d431e"></a><!-- doxytag: member="YDCMStatistics_visits::limit" ref="e2e0561fba787422984e36dcbf1d431e" args="($limit=-1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">limit           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>limit</em> = <code>-1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the limit for the queries.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$limit</em>&nbsp;</td><td>(optional) The limit number; </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4dcaa8f72c8423d4de25a9e87fa6f3e4"></a><!-- doxytag: member="YDCMStatistics_visits::load" ref="4dcaa8f72c8423d4de25a9e87fa6f3e4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">load           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function loads relations objects into the <a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a>. You can add relations names as parameters to load the relations. 
</div>
</div><p>
<a class="anchor" name="dbee00e587a7ee5b60ed4e3d9b638e4f"></a><!-- doxytag: member="YDCMStatistics_visits::loadAll" ref="dbee00e587a7ee5b60ed4e3d9b638e4f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">loadAll           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function loads all relations objects into the <a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a>. 
</div>
</div><p>
<a class="anchor" name="e6bced0c750c69d497dafb2444169619"></a><!-- doxytag: member="YDCMStatistics_visits::offset" ref="e6bced0c750c69d497dafb2444169619" args="($offset=-1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">offset           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>offset</em> = <code>-1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the offset for SELECT queries only.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$offset</em>&nbsp;</td><td>(optional) The offset. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="d2507d038dcfcf892c75b188415b5dbd"></a><!-- doxytag: member="YDCMStatistics_visits::order" ref="d2507d038dcfcf892c75b188415b5dbd" args="($expr, $desc=false, $reserved=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">order           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>desc</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>reserved</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a column to the ORDER BY clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>Column name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$desc</em>&nbsp;</td><td>(optional) If true adds a DESC string to the column. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$reserved</em>&nbsp;</td><td>(optional) Indicates if the expression is a reserved keyword. Default: false. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="cade5deaa10f55e9a72ce4ee6aced1ef"></a><!-- doxytag: member="YDCMStatistics_visits::orderby" ref="cade5deaa10f55e9a72ce4ee6aced1ef" args="($expr, $desc=false, $reserved=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">orderby           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>desc</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>reserved</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Alias of order. Adds a column to the ORDER BY clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>Column name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$desc</em>&nbsp;</td><td>(optional) If true adds a DESC string to the column. Default: false. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$reserved</em>&nbsp;</td><td>(optional) Indicates if the expression is a reserved keyword. Default: false. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="fb329429e8fd548d962c1f7aee55d366"></a><!-- doxytag: member="YDCMStatistics_visits::registerCallback" ref="fb329429e8fd548d962c1f7aee55d366" args="($method, $action, $before=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">registerCallback           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>action</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>before</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a callback method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$method</em>&nbsp;</td><td>The method name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$action</em>&nbsp;</td><td>The action or array of actions that trigger the call. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$before</em>&nbsp;</td><td>(optional) Execute callback before the action. Default: false. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="58f2dc1177e76ac156cf9f270b9b3781"></a><!-- doxytag: member="YDCMStatistics_visits::registerDatabase" ref="58f2dc1177e76ac156cf9f270b9b3781" args="($db=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerDatabase           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>db</em> = <code>null</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function register the database connection.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$db</em>&nbsp;</td><td>The <a class="el" href="classYDDatabase.html">YDDatabase</a> object pointing to the database or the named instance.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the <a class="el" href="classYDDatabase.html">YDDatabase</a> object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="126458de0572d2ccfa6cb6fc53ba33de"></a><!-- doxytag: member="YDCMStatistics_visits::registerField" ref="126458de0572d2ccfa6cb6fc53ba33de" args="($name, $null=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerField           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>null</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$null</em>&nbsp;</td><td>(optional) The field can be null? Default: false.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the field object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d6c8befb195b474c542dd16f78b755ae"></a><!-- doxytag: member="YDCMStatistics_visits::registerKey" ref="d6c8befb195b474c542dd16f78b755ae" args="($name, $auto=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerKey           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>auto</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a key.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$auto</em>&nbsp;</td><td>(optional) The key is a auto-increment field? Default: false.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the field object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5065860a935377803a9dc8629c7183f5"></a><!-- doxytag: member="YDCMStatistics_visits::registerProtected" ref="5065860a935377803a9dc8629c7183f5" args="($name, $value, $comparison='=')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">registerProtected           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>comparison</em> = <code>'='</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a protected field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$value</em>&nbsp;</td><td>The protected value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$comparison</em>&nbsp;</td><td>(optional) The comparison keyword. Accepts: = == &lt;= &lt; &gt;= &gt; != &lt;&gt; </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="6405fbdb71e542d6e9dfc05fc888093b"></a><!-- doxytag: member="YDCMStatistics_visits::registerRelation" ref="6405fbdb71e542d6e9dfc05fc888093b" args="($name, $manytomany=false, $foreign_class='', $cross_class='')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerRelation           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>manytomany</em> = <code><a class="el" href="YDF2__init_8php.html#1f1d70dc53da2289174e2690032f38b4">false</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>foreign_class</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>cross_class</em> = <code>''</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a relation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The relation name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$manytomany</em>&nbsp;</td><td>(optional) Is a many-to-many relationship? Default: false - 1-1 or 1-n. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$foreign_class</em>&nbsp;</td><td>(optional) The foreign class name. If empty, the $name parameter will be used. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$cross_class</em>&nbsp;</td><td>(optional) For many-to-many relations, the cross class name. If empty, $local_table . '_' . $foreign_table</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the relation object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="738162b1e397da80e6e7edc9dff93126"></a><!-- doxytag: member="YDCMStatistics_visits::registerSelect" ref="738162b1e397da80e6e7edc9dff93126" args="($name, $expr, $all=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerSelect           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>all</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers a select statement.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>The select expression. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$all</em>&nbsp;</td><td>(optional) Indicates if the select should be added in all queries. Default: true.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the select object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="26672a70d13fd4e29b67905be3d0c4d8"></a><!-- doxytag: member="YDCMStatistics_visits::registerTable" ref="26672a70d13fd4e29b67905be3d0c4d8" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&amp; registerTable           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function registers the table name.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The table name.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A reference to the alias. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4a20559544fdf4dcb457e258dc976cf8"></a><!-- doxytag: member="YDCMStatistics_visits::reset" ref="4a20559544fdf4dcb457e258dc976cf8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the object's registered fields values, selects values, query values and results remaining to be fetch. 
</div>
</div><p>
<a class="anchor" name="34f62b67662328dbb4e07e612d355942"></a><!-- doxytag: member="YDCMStatistics_visits::resetAll" ref="34f62b67662328dbb4e07e612d355942" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetAll           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets all information in the object and relation objects. 
<p>
Reimplemented in <a class="el" href="classYDDatabaseTree3.html#34f62b67662328dbb4e07e612d355942">YDDatabaseTree3</a>.
</div>
</div><p>
<a class="anchor" name="4caadf998a99dcfbf527a43e28efa85f"></a><!-- doxytag: member="YDCMStatistics_visits::resetCount" ref="4caadf998a99dcfbf527a43e28efa85f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetCount           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the count of the results. 
</div>
</div><p>
<a class="anchor" name="19cd9cf20ea447908a1d47afe9b7a276"></a><!-- doxytag: member="YDCMStatistics_visits::resetObject" ref="19cd9cf20ea447908a1d47afe9b7a276" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetObject           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the object completely. 
</div>
</div><p>
<a class="anchor" name="607352426f9c672e583db6afb3b2d681"></a><!-- doxytag: member="YDCMStatistics_visits::resetProtected" ref="607352426f9c672e583db6afb3b2d681" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetProtected           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets all protected values in the object. 
</div>
</div><p>
<a class="anchor" name="fd7ef3137eb628cb07d9e62877d8201d"></a><!-- doxytag: member="YDCMStatistics_visits::resetQuery" ref="fd7ef3137eb628cb07d9e62877d8201d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetQuery           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets any query addition. 
</div>
</div><p>
<a class="anchor" name="10c23e7efba374f9d094eaa780a220ed"></a><!-- doxytag: member="YDCMStatistics_visits::resetRelation" ref="10c23e7efba374f9d094eaa780a220ed" args="($relation='')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetRelation           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>relation</em> = <code>''</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the information defined in relation objects.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$relation</em>&nbsp;</td><td>(optional) The relation name. If empty, the last relations loaded. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="07712909d6e5c5fff9d9a00e17615e33"></a><!-- doxytag: member="YDCMStatistics_visits::resetRelations" ref="07712909d6e5c5fff9d9a00e17615e33" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetRelations           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function unloads all relations. 
</div>
</div><p>
<a class="anchor" name="d9882444754944dbda6c182c685d4e42"></a><!-- doxytag: member="YDCMStatistics_visits::resetResults" ref="d9882444754944dbda6c182c685d4e42" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetResults           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the any result remaining to be fetch. 
</div>
</div><p>
<a class="anchor" name="166319d98486fd14d712d9343e243681"></a><!-- doxytag: member="YDCMStatistics_visits::resetValues" ref="166319d98486fd14d712d9343e243681" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">resetValues           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function resets the object's field values. 
</div>
</div><p>
<a class="anchor" name="701f78ac6d7ece9e18883fe7ee612e9f"></a><!-- doxytag: member="YDCMStatistics_visits::select" ref="701f78ac6d7ece9e18883fe7ee612e9f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">select           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a select field to the query. The registered fields and selects can be added at each parameter of the method. 
</div>
</div><p>
<a class="anchor" name="4d9813fea8525b19a1d370eeb8fe41d6"></a><!-- doxytag: member="YDCMStatistics_visits::serialize" ref="4d9813fea8525b19a1d370eeb8fe41d6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">serialize           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function will serialize the object. 
</div>
</div><p>
<a class="anchor" name="079bbf10793abd07e272d0505b7e2a38"></a><!-- doxytag: member="YDCMStatistics_visits::set" ref="079bbf10793abd07e272d0505b7e2a38" args="($field, $value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">set           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function sets the value of a field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$field</em>&nbsp;</td><td>The field name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$value</em>&nbsp;</td><td>The field value </td></tr>
  </table>
</dl>

<p>
Reimplemented from <a class="el" href="classYDBase.html#f94efbb8358b7a2c58b7784a6b99ffd6">YDBase</a>.
</div>
</div><p>
<a class="anchor" name="f5c863affd4cfa6f61124d1b32209175"></a><!-- doxytag: member="YDCMStatistics_visits::setFailOnError" ref="f5c863affd4cfa6f61124d1b32209175" args="($val=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setFailOnError           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>val</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function indicates if an SQL error should die the script or not.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$val</em>&nbsp;</td><td>(optional) True if you want the script to die on an error, false otherwise. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="562ec4d13464ce01612f6ce2fbdf703d"></a><!-- doxytag: member="YDCMStatistics_visits::setValues" ref="562ec4d13464ce01612f6ce2fbdf703d" args="($values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setValues           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>values</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function receives and adds an associative array of values to the object. The array keys are the Table fields.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$values</em>&nbsp;</td><td>The associative array of values. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="658defb34762c8f40085aec87e16ba1a"></a><!-- doxytag: member="YDCMStatistics_visits::toArray" ref="658defb34762c8f40085aec87e16ba1a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">toArray           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function returns an array with all the values of the object.<p>
<dl compact><dt><b>Returns:</b></dt><dd>An array with all the values. </dd></dl>

<p>
Reimplemented in <a class="el" href="classYDRecordSet.html#658defb34762c8f40085aec87e16ba1a">YDRecordSet</a>, <a class="el" href="classYDForm.html#658defb34762c8f40085aec87e16ba1a">YDForm</a>, <a class="el" href="classYDFormElement.html#658defb34762c8f40085aec87e16ba1a">YDFormElement</a>, and <a class="el" href="classYDCart.html#658defb34762c8f40085aec87e16ba1a">YDCart</a>.
</div>
</div><p>
<a class="anchor" name="00e84fdf467bbd506750d87febc9fad6"></a><!-- doxytag: member="YDCMStatistics_visits::unregisterCallback" ref="00e84fdf467bbd506750d87febc9fad6" args="($method, $action=null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unregisterCallback           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>action</em> = <code>null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function unregisters a callback method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$method</em>&nbsp;</td><td>The method name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$action</em>&nbsp;</td><td>(optional) The action that triggers the call. If null, from all actions. Default: null. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4754513bf10006a630e84327be56b508"></a><!-- doxytag: member="YDCMStatistics_visits::unregisterProtected" ref="4754513bf10006a630e84327be56b508" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unregisterProtected           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function unregisters a protected field.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="e907ba4386a018a320a99b81da626502"></a><!-- doxytag: member="YDCMStatistics_visits::unregisterSelect" ref="e907ba4386a018a320a99b81da626502" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unregisterSelect           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function unregisters a select statement.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The field name. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="dd23574959430506d6df014f57adda7b"></a><!-- doxytag: member="YDCMStatistics_visits::unsetVar" ref="dd23574959430506d6df014f57adda7b" args="($name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsetVar           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function deletes a variable in the object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$name</em>&nbsp;</td><td>The variable name. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="8ce8ca9a990a18083e3d37a18d7905d5"></a><!-- doxytag: member="YDCMStatistics_visits::update" ref="8ce8ca9a990a18083e3d37a18d7905d5" args="($values_noquote=array(), $fields_noquote=array())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">update           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>values_noquote</em> = <code>array()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>fields_noquote</em> = <code>array()</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This function executes an UPDATE query based on the values of the object and any value set by where.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$values_noquote</em>&nbsp;</td><td>(optional) Associative array that defines values that will not be quoted as strings, e.g. NOW(). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$fields_noquote</em>&nbsp;</td><td>(optional) Field or array of fields that will not be quoted as strings.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The number of rows affected. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e799188ffbe5c2cc9e25e962b1822e16"></a><!-- doxytag: member="YDCMStatistics_visits::where" ref="e799188ffbe5c2cc9e25e962b1822e16" args="($expr, $logic='AND')" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">where           </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>expr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>logic</em> = <code>'AND'</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a condition to the WHERE clause.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>$expr</em>&nbsp;</td><td>The condition expression. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>$logic</em>&nbsp;</td><td>(optional) Logic operator (e.g. AND, OR, XOR). Default: AND. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="766dc32e42def0f08466c6ab1bbdd1c4"></a><!-- doxytag: member="YDCMStatistics_visits::YDAddOnModule" ref="766dc32e42def0f08466c6ab1bbdd1c4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classYDAddOnModule.html">YDAddOnModule</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Class constructor for the <a class="el" href="classYDBase.html">YDBase</a> class. 
</div>
</div><p>
<a class="anchor" name="f0d84d166fa222e07a0aef085e043209"></a><!-- doxytag: member="YDCMStatistics_visits::YDBase" ref="f0d84d166fa222e07a0aef085e043209" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classYDBase.html">YDBase</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Class constructor for the <a class="el" href="classYDBase.html">YDBase</a> class. 
</div>
</div><p>
<a class="anchor" name="fc6f219a693afc8486f4b69f6c02885d"></a><!-- doxytag: member="YDCMStatistics_visits::YDCMStatistics_visits" ref="fc6f219a693afc8486f4b69f6c02885d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classYDCMStatistics__visits.html">YDCMStatistics_visits</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="b23440568a74c76952a4722bcfb512a0"></a><!-- doxytag: member="YDCMStatistics_visits::YDDatabaseObject" ref="b23440568a74c76952a4722bcfb512a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classYDDatabaseObject.html">YDDatabaseObject</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The class constructor. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="5eac87273c11380d09a8b0746f8cb486"></a><!-- doxytag: member="YDCMStatistics_visits::$_all" ref="5eac87273c11380d09a8b0746f8cb486" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_all = true<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e1d5e7a4a34ac8fa4dbdef28983a1fcc"></a><!-- doxytag: member="YDCMStatistics_visits::$_callbacks" ref="e1d5e7a4a34ac8fa4dbdef28983a1fcc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_callbacks = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="d0e22bc2e4b2dd4d7a3bf70ec69a7867"></a><!-- doxytag: member="YDCMStatistics_visits::$_count" ref="d0e22bc2e4b2dd4d7a3bf70ec69a7867" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_count = 0<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bc686c23af6ae116b72bc6adb4482a1f"></a><!-- doxytag: member="YDCMStatistics_visits::$_db" ref="bc686c23af6ae116b72bc6adb4482a1f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_db = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bf3f559f67fd6bdca04b272c655bbeb3"></a><!-- doxytag: member="YDCMStatistics_visits::$_fields" ref="bf3f559f67fd6bdca04b272c655bbeb3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_fields = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8cfbffbcbdb7abcebc350aa0427a8578"></a><!-- doxytag: member="YDCMStatistics_visits::$_last" ref="8cfbffbcbdb7abcebc350aa0427a8578" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_last = array()<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="4fb6d46241570c506dc1a32bf8a89386"></a><!-- doxytag: member="YDCMStatistics_visits::$_query" ref="4fb6d46241570c506dc1a32bf8a89386" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_query = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="76ad7cb1c9591d6c4dab084acf718a25"></a><!-- doxytag: member="YDCMStatistics_visits::$_relations" ref="76ad7cb1c9591d6c4dab084acf718a25" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_relations = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="55f2fbeb9861add73e0d213b59059a3c"></a><!-- doxytag: member="YDCMStatistics_visits::$_results" ref="55f2fbeb9861add73e0d213b59059a3c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_results = array()<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="020cb3ddb8bcba4fb4d088d4e5bd20d5"></a><!-- doxytag: member="YDCMStatistics_visits::$_selects" ref="020cb3ddb8bcba4fb4d088d4e5bd20d5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_selects = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c0ee5b766d19cb282552a3449a1f8376"></a><!-- doxytag: member="YDCMStatistics_visits::$_table" ref="c0ee5b766d19cb282552a3449a1f8376" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$_table = null<code> [inherited]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="YDCMStatistics__visits_8php.html">YDCMStatistics_visits.php</a></ul>
<p>
<hr size="1" noshade>
<address>
    <small>
        Yellow Duck Framework 2.0 by Pieter Claerhout,
        <a href="ydframework.berlios.de">ydframework.berlios.de</a>
    </small>
</address>
</p>

</body>

</html>
Return current item: Yellow Duck Framework