Changeset 1497 for branches/3.0
- Timestamp:
- 11/18/2006 07:21:32 AM (2 years ago)
- Location:
- branches/3.0
- Files:
-
- 5 modified
-
HISTORY (modified) (1 diff)
-
UPGRADE (modified) (1 diff)
-
framework/TApplication.php (modified) (1 diff)
-
framework/Web/Services/TPageService.php (modified) (1 diff)
-
framework/Web/THttpRequest.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/HISTORY
r1491 r1497 5 5 ENH: Ticket#446 - Added TMetaTagCollection.getMetaTagByID method (Qiang) 6 6 CHG: Ticket#437 - __autoload is replaced by spl_autoload_register (Qiang) 7 CHG: constructUrl() now encodes & into & by default (Qiang)7 CHG: Ticket#454 - Redundant PHP Version Check 8 8 CHG: TRepeater does not render <span> anymore for empty item template (Qiang) 9 9 -
branches/3.0/UPGRADE
r1481 r1497 16 16 Upgrading from v3.0.5 17 17 --------------------- 18 - constructUrl() now encodes & into & by default.19 18 - TRepeater does not render <span> anymore for empty item template. 20 19 -
branches/3.0/framework/TApplication.php
r1397 r1497 1318 1318 { 1319 1319 $fileName=$this->getStateFilePath(); 1320 if(version_compare(phpversion(),'5.1.0','>=')) 1321 file_put_contents($fileName,$content,LOCK_EX); 1322 else 1323 file_put_contents($fileName,$content); 1320 file_put_contents($fileName,$content,LOCK_EX); 1324 1321 } 1325 1322 } -
branches/3.0/framework/Web/Services/TPageService.php
r1487 r1497 463 463 * @param string page path 464 464 * @param array list of GET parameters, null if no GET parameters required 465 * @param boolean whether to encode the ampersand in URL, defaults to true.465 * @param boolean whether to encode the ampersand in URL, defaults to false. 466 466 * @param boolean whether to encode the GET parameters (their names and values), defaults to true. 467 467 * @return string URL for the page and GET parameters 468 468 */ 469 public function constructUrl($pagePath,$getParams=null,$encodeAmpersand= true,$encodeGetItems=true)469 public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=false,$encodeGetItems=true) 470 470 { 471 471 return $this->getRequest()->constructUrl($this->getID(),$pagePath,$getParams,$encodeAmpersand,$encodeGetItems); -
branches/3.0/framework/Web/THttpRequest.php
r1481 r1497 484 484 * @param array GET parameters, null if not needed 485 485 * @param boolean whether to encode the ampersand in URL, defaults to true. 486 * @param boolean whether to encode the GET parameters (their names and values), defaults to true.486 * @param boolean whether to encode the GET parameters (their names and values), defaults to false. 487 487 * @return string URL 488 488 * @see parseUrl 489 489 */ 490 public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand= true,$encodeGetItems=true)490 public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=false,$encodeGetItems=true) 491 491 { 492 492 $url=$serviceID.'='.$serviceParam;
