- Timestamp:
- Dec 10, 2021 12:01:14 AM (2 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/ACL.inc.php
r655 r757 239 239 * @since 14 Jun 2006 22:39:29 240 240 */ 241 public function add($name, $parent =null, $type)241 public function add($name, $parent, $type) 242 242 { 243 243 $app =& App::getInstance(); -
trunk/lib/Auth_SQL.inc.php
r735 r757 1059 1059 * 1060 1060 */ 1061 public function setPassword($user_id =null, $password, $hash_type=null)1061 public function setPassword($user_id, $password, $hash_type=null) 1062 1062 { 1063 1063 $app =& App::getInstance(); -
trunk/lib/Utilities.inc.php
r752 r757 622 622 623 623 /* 624 * 625 * 626 * @access public 627 * @param 628 * @return 624 * Calculate a prorated amount for the duration between two dates. 625 * 626 * @access public 627 * @param float $amount Original price per duration. 628 * @param string $duration Unit of time for the original price (`year`, `quarter`, `month`, or `day`). 629 * @param string $start_date Start date of prorated period (strtotime-compatible date). 630 * @param string $end_date End date of prorated period (strtotime-compatible date). 631 * @return float The prorated amount. 629 632 * @author Quinn Comendant <quinn@strangecode.com> 630 633 * @since 03 Nov 2021 22:44:30 631 634 */ 632 function prorate($amount, $duration ='year', $start_date, $end_date)635 function prorate($amount, $duration, $start_date, $end_date) 633 636 { 634 637 $app =& App::getInstance();
Note: See TracChangeset
for help on using the changeset viewer.