Location: PHPKode > projects > Moc10 PHP Library > docs/api-docs/elementindex_Moc10_Record.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html>
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title></title>
			<link rel="stylesheet" href="media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
						<a name="top"></a>
<h2>[Moc10_Record] element index</h2>
	<h3>Package indexes</h3>
	<ul>
				<li><a href="elementindex_Moc10_Autoloader.html">Moc10_Autoloader</a></li>
					<li><a href="elementindex_Moc10_Cookie.html">Moc10_Cookie</a></li>
					<li><a href="elementindex_Moc10_Curl.html">Moc10_Curl</a></li>
					<li><a href="elementindex_Moc10_Db.html">Moc10_Db</a></li>
					<li><a href="elementindex_Moc10_Dom.html">Moc10_Dom</a></li>
					<li><a href="elementindex_Moc10_Feed.html">Moc10_Feed</a></li>
					<li><a href="elementindex_Moc10_File.html">Moc10_File</a></li>
					<li><a href="elementindex_Moc10_Form.html">Moc10_Form</a></li>
					<li><a href="elementindex_Moc10_Ftp.html">Moc10_Ftp</a></li>
					<li><a href="elementindex_Moc10_Image.html">Moc10_Image</a></li>
					<li><a href="elementindex_Moc10_Language.html">Moc10_Language</a></li>
					<li><a href="elementindex_Moc10_Mail.html">Moc10_Mail</a></li>
					<li><a href="elementindex_Moc10_Pdf.html">Moc10_Pdf</a></li>
							<li><a href="elementindex_Moc10_Session.html">Moc10_Session</a></li>
					<li><a href="elementindex_Moc10_String.html">Moc10_String</a></li>
			</ul>
<a href="elementindex.html">All elements</a>
<br />
<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Moc10_Record.html#d">d</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#e">e</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#f">f</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#j">j</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#m">m</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#r">r</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#s">s</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#_">_</a>
</div>

	<a name="_"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">_</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$_dbname</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_dbname">Moc10_Record::$_dbname</a> in Record.php</div>
							<div class="index-item-description">Default database name</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_fields</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_fields">Moc10_Record::$_fields</a> in Record.php</div>
							<div class="index-item-description">Field names of the database table</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_hostname</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_hostname">Moc10_Record::$_hostname</a> in Record.php</div>
							<div class="index-item-description">Default database hostname</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_lang</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_lang">Moc10_Record::$_lang</a> in Record.php</div>
							<div class="index-item-description">Language object</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_password</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_password">Moc10_Record::$_password</a> in Record.php</div>
							<div class="index-item-description">Default database password</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_primaryId</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_primaryId">Moc10_Record::$_primaryId</a> in Record.php</div>
							<div class="index-item-description">Primary ID field name of the database table</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_tableName</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_tableName">Moc10_Record::$_tableName</a> in Record.php</div>
							<div class="index-item-description">Table name of the database table</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_type</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_type">Moc10_Record::$_type</a> in Record.php</div>
							<div class="index-item-description">Default database type</div>
					</dd>
			<dt class="field">
						<span class="var-title">$_username</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$_username">Moc10_Record::$_username</a> in Record.php</div>
							<div class="index-item-description">Default database username</div>
					</dd>
			<dt class="field">
						<span class="method-title">_setResults</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method_setResults">Moc10_Record::_setResults()</a> in Record.php</div>
							<div class="index-item-description">Set the query results.</div>
					</dd>
			<dt class="field">
						<span class="method-title">__construct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method__construct">Moc10_Record::__construct()</a> in Record.php</div>
							<div class="index-item-description">Constructor</div>
					</dd>
			<dt class="field">
						<span class="method-title">__get</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method__get">Moc10_Record::__get()</a> in Record.php</div>
							<div class="index-item-description">Get method to return the value of _fields[$name].</div>
					</dd>
			<dt class="field">
						<span class="method-title">__isset</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method__isset">Moc10_Record::__isset()</a> in Record.php</div>
							<div class="index-item-description">Return the isset value of _fields[$name].</div>
					</dd>
			<dt class="field">
						<span class="method-title">__set</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method__set">Moc10_Record::__set()</a> in Record.php</div>
							<div class="index-item-description">Set method to set the property to the value of _fields[$name].</div>
					</dd>
			<dt class="field">
						<span class="method-title">__unset</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#method__unset">Moc10_Record::__unset()</a> in Record.php</div>
							<div class="index-item-description">Unset _fields[$name].</div>
					</dd>
		</dl>
	<a name="d"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">d</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$db</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$db">Moc10_Record::$db</a> in Record.php</div>
							<div class="index-item-description">Database connection</div>
					</dd>
			<dt class="field">
						<span class="method-title">delete</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methoddelete">Moc10_Record::delete()</a> in Record.php</div>
							<div class="index-item-description">Delete the database record.</div>
					</dd>
			<dt class="field">
						<span class="method-title">distinct</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methoddistinct">Moc10_Record::distinct()</a> in Record.php</div>
							<div class="index-item-description">Find singular and distinct entries in the database based on the search criteria.</div>
					</dd>
		</dl>
	<a name="e"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">e</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">execute</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodexecute">Moc10_Record::execute()</a> in Record.php</div>
							<div class="index-item-description">Execute a custom SQL query.</div>
					</dd>
		</dl>
	<a name="f"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">f</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">findAll</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodfindAll">Moc10_Record::findAll()</a> in Record.php</div>
							<div class="index-item-description">Find all of the database rows by the field passed through the method argument.</div>
					</dd>
			<dt class="field">
						<span class="method-title">findBy</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodfindBy">Moc10_Record::findBy()</a> in Record.php</div>
							<div class="index-item-description">Find a database row by the field passed through the method argument.</div>
					</dd>
			<dt class="field">
						<span class="method-title">findById</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodfindById">Moc10_Record::findById()</a> in Record.php</div>
							<div class="index-item-description">Find a database row by the primary ID passed through the method argument.</div>
					</dd>
		</dl>
	<a name="j"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">j</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">join</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodjoin">Moc10_Record::join()</a> in Record.php</div>
							<div class="index-item-description">Join data from two tables that share a related field.</div>
					</dd>
		</dl>
	<a name="m"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">m</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						Moc10_Record
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html">Moc10_Record</a> in Record.php</div>
							<div class="index-item-description">Moc10_Record</div>
					</dd>
		</dl>
	<a name="r"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">r</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="var-title">$rows</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#var$rows">Moc10_Record::$rows</a> in Record.php</div>
							<div class="index-item-description">Rows of multiple return results from a database query  in an ArrayObject format.</div>
					</dd>
			<dt class="field">
						<span class="include-title">Record.php</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/_Record.php.html">Record.php</a> in Record.php</div>
					</dd>
		</dl>
	<a name="s"></a>
	<div class="index-letter-section">
		<div style="float: left" class="index-letter-title">s</div>
		<div style="float: right"><a href="#top">top</a></div>
		<div style="clear: both"></div>
	</div>
	<dl>
			<dt class="field">
						<span class="method-title">save</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodsave">Moc10_Record::save()</a> in Record.php</div>
							<div class="index-item-description">Save the database record.</div>
					</dd>
			<dt class="field">
						<span class="method-title">search</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodsearch">Moc10_Record::search()</a> in Record.php</div>
							<div class="index-item-description">Search the database for rows based on the search criteria.</div>
					</dd>
			<dt class="field">
						<span class="method-title">setAll</span>
					</dt>
		<dd class="index-item-body">
			<div class="index-item-details"><a href="Moc10_Record/Moc10_Record.html#methodsetAll">Moc10_Record::setAll()</a> in Record.php</div>
							<div class="index-item-description">Set all the table fields at once.</div>
					</dd>
		</dl>

<div class="index-letter-menu">
	<a class="index-letter" href="elementindex_Moc10_Record.html#d">d</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#e">e</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#f">f</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#j">j</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#m">m</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#r">r</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#s">s</a>
	<a class="index-letter" href="elementindex_Moc10_Record.html#_">_</a>
</div>	</body>
</html>
Return current item: Moc10 PHP Library