156 linhas
4.8 KiB
HTML
156 linhas
4.8 KiB
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 xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<!-- template designed by Marco Von Ballmoos -->
|
|
<title>Docs for page MindCommand.php</title>
|
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
|
</head>
|
|
<body>
|
|
<div class="page-body">
|
|
<h2 class="file-name">/mind3rd/API/classes/MindCommand.php</h2>
|
|
|
|
<a name="sec-description"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Description</div>
|
|
<div class="nav-bar">
|
|
<span class="disabled">Description</span> |
|
|
<a href="#sec-classes">Classes</a>
|
|
| <a href="#sec-variables">Variables</a>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<a name="sec-classes"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Classes</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<span class="disabled">Classes</span>
|
|
| <a href="#sec-variables">Variables</a>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<table cellpadding="2" cellspacing="0" class="class-table">
|
|
<tr>
|
|
<th class="class-table-header">Class</th>
|
|
<th class="class-table-header">Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding-right: 2em; vertical-align: top">
|
|
<a href="../default/MindCommand.html">MindCommand</a>
|
|
</td>
|
|
<td>
|
|
This class extends the Command class from Symfony All the program should extend it
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<a name="sec-variables"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Variables</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<a href="#sec-classes">Classes</a>
|
|
| <span class="disabled">Variables</span>
|
|
| <a href="#sec-functions">Functions</a>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<a name="global$_REQ" id="global$_REQ"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="var-title">
|
|
<span class="var-type">Array</span>
|
|
<span class="var-name">$_REQ</span>
|
|
(line <span class="line-number">125</span>)
|
|
</span>
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">Calls the program by the HTTP interface</p>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="sec-functions"></a>
|
|
<div class="info-box">
|
|
<div class="info-box-title">Functions</div>
|
|
<div class="nav-bar">
|
|
<a href="#sec-description">Description</a> |
|
|
<a href="#sec-classes">Classes</a>
|
|
| <a href="#sec-variables">Variables</a>
|
|
| <span class="disabled">Functions</span>
|
|
</div>
|
|
<div class="info-box-body">
|
|
<a name="functionreadPassword" id="functionreadPassword"><!-- --></a>
|
|
<div class="oddrow">
|
|
|
|
<div>
|
|
<span class="method-title">readPassword</span> (line <span class="line-number">141</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">function taken from: http://www.dasprids.de/blog/2008/08/22/getting-a-password-hidden-from-stdin-with-php-cli</p>
|
|
<p class="description"><p>this method should read the passwords from console, not showing any character or replacing them by stars(asterisks)</p></p>
|
|
<ul class="tags">
|
|
<li><span class="field">return:</span> password</li>
|
|
</ul>
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">String</span>
|
|
<span class="method-name">
|
|
readPassword
|
|
</span>
|
|
(<span class="var-type">Boolan</span> <span class="var-name">$stars</span>)
|
|
</div>
|
|
|
|
<ul class="parameters">
|
|
<li>
|
|
<span class="var-type">Boolan</span>
|
|
<span class="var-name">$stars</span><span class="var-description">: if true, show an * for each typed char</span> </li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
<a name="functionrunAction" id="functionrunAction"><!-- --></a>
|
|
<div class="evenrow">
|
|
|
|
<div>
|
|
<span class="method-title">runAction</span> (line <span class="line-number">182</span>)
|
|
</div>
|
|
|
|
<!-- ========== Info from phpDoc block ========= -->
|
|
<p class="short-description">This method will execute the plugins that should run AFTER</p>
|
|
<p class="description"><p>the execution of the program, so, call parent::runAction AFTER each program::runAction command blocks</p></p>
|
|
|
|
<div class="method-signature">
|
|
<span class="method-result">void</span>
|
|
<span class="method-name">
|
|
runAction
|
|
</span>
|
|
()
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="notes" id="credit">
|
|
Documentation generated on Wed, 23 Feb 2011 18:06:06 -0300 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
|
</p>
|
|
</div></body>
|
|
</html> |