Source for file credits.php
Documentation is available at credits.php
* Credits object for monetary system
* DutchPIPE version 0.4; PHP version 5
* LICENSE: This source file is subject to version 1.0 of the DutchPIPE license.
* If you did not receive a copy of the DutchPIPE license, you can obtain one at
* http://dutchpipe.org/license/1_0.txt or by sending a note to
* license@dutchpipe.org, in which case you will be mailed a copy immediately.
* @subpackage dpuniverse_obj
* @author Lennert Stock <ls@dutchpipe.org>
* @copyright 2006, 2007 Lennert Stock
* @license http://dutchpipe.org/license/1_0.txt DutchPIPE License
* @version Subversion: $Id: credits.php 308 2007-09-02 19:18:58Z ls $
* @link http://dutchpipe.org/manual/package/DutchPIPE
* Builts upon the standard DpObject class
* Credits object for monetary system
* Creates the following DutchPIPE properties:<br />
* - boolean <b>isCredits</b> - Set to TRUE
* - boolean <b>isNoSell</b> - Set to TRUE
* @subpackage dpuniverse_obj
* @author Lennert Stock <ls@dutchpipe.org>
* @copyright 2006, 2007 Lennert Stock
* @license http://www.dutchpipe.org/license/1_0.txt DutchPIPE License
* @version Release: 0.2.1
* @link http://www.dutchpipe.org/manual/package/DutchPIPE
* Sets up the object at object creation time
$this->heapTitleSingular = dp_text('1 credit');
$this->heapTitlePlural = dp_text('%d credits');
$this->titleImgWidth = 30;
$this->titleImgHeight = 26;
. 'credits_body.gif" width="43" height="36" border="0" alt="" '
. 'align="left" style="margin-right: 15px" /><br />'
$this->heapWeightModifier = 0.001;
$this->heapWeightModifier = 1;
$this->heapWeightModifier = 0.035;
$this->heapVolumeModifier = 0.001;
$this->heapVolumeModifier = 1;
$this->heapVolumeModifier = 0.035;
$this->heapValueModifier = 1;
|