When we get a release it is more likely to give you a blank page rather than a new feature.
I would like to see the xoopsmembers and userpoints modules merged, and this karma system added to that.
Example 1. sort() example
$fruits = array("lemon", "orange", "banana", "apple");
sort($fruits);
reset($fruits);
while (list($key, $val) = each($fruits)) {
echo "fruits[" . $key . "] = " . $val . "\n";
}
?>
This example would display:
fruits[0] = apple
fruits[1] = banana
fruits[2] = lemon
fruits[3] = orange
The fruits have been sorted in alphabetical order.
/**
* Constructor
*
* @param string $caption Caption
* @param string $name "name" attribute
* @param int $size Size
* @param int $maxlength Maximum length of text
* @param string $value Initial text
*/
function XoopsFormText($caption, $name, $size, $maxlength, $value=""){
$this->setCaption($caption);
$this->setName($name);
$this->_size = intval($size);
$this->_maxlength = intval($maxlength);
$this->setValue($value);
}
The include() statement includes and evaluates the specified file.
The documentation below also applies to require(). The two constructs are identical in every way except how they handle failure. include() produces a Warning while require() results in a Fatal Error. In other words, use require() if you want a missing file to halt processing of the page. include() does not behave this way, the script will continue regardless. Be sure to have an appropriate include_path setting as well.
I've looked through the XOOPS site and performed some searches but can't seem to find any documentation on the various flavors of the XoopsForm (e.g. the regular contact form has XoopsFormButton and XoopsFormText).