Changeset 191:67cb37c57a91
- Timestamp:
- 05/06/11 19:40:28 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.blog.php
r0 r191 647 647 @param params <b>array</b> Parameters 648 648 @param count_only <b>boolean</b> Only counts results 649 @return <b>record</b> A record with some more capabilities 650 */ 651 public function getPosts($params=array(),$count_only=false) 649 @param sql_only <b>boolean</b> Only return SQL request 650 @return <b>record</b> A record with some more capabilities or the SQL request 651 */ 652 public function getPosts($params=array(),$count_only=false,$sql_only=false) 652 653 { 653 654 if ($count_only) … … 823 824 if (!$count_only && !empty($params['limit'])) { 824 825 $strReq .= $this->con->limit($params['limit']); 826 } 827 828 if ($sql_only) { 829 return $strReq; 825 830 } 826 831
Note: See TracChangeset
for help on using the changeset viewer.