diff options
| author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 15:30:38 +0000 | 
|---|---|---|
| committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 15:30:38 +0000 | 
| commit | 7858fb3f2017b0d42c56cac16328c35f7d287b11 (patch) | |
| tree | 0bb5e47f7ec0c56a85c25df6f3a6e68c9ce45ac9 /engine | |
| parent | 688a1e02a89e25caba37c91be7ac56d7bdc6dc4a (diff) | |
| download | elgg-7858fb3f2017b0d42c56cac16328c35f7d287b11.tar.gz elgg-7858fb3f2017b0d42c56cac16328c35f7d287b11.tar.bz2 | |
Refs #109: Group members widget.
git-svn-id: https://code.elgg.org/elgg/trunk@1294 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
| -rw-r--r-- | engine/lib/group.php | 4 | ||||
| -rw-r--r-- | engine/lib/pageowner.php | 3 | 
2 files changed, 4 insertions, 3 deletions
| diff --git a/engine/lib/group.php b/engine/lib/group.php index 9cb66a871..134206b02 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -142,9 +142,9 @@  		 * @param int $offset  		 * @return mixed  		 */ -		public function getMembers($limit = 10, $offset = 0) +		public function getMembers($limit = 10, $offset = 0, $count = false)  		{ -			return get_group_members($this->getGUID(), $limit, $offset); +			return get_group_members($this->getGUID(), $limit, $offset, 0 , $count);  		}  		/** diff --git a/engine/lib/pageowner.php b/engine/lib/pageowner.php index c6bd5bcaf..dab7110e0 100644 --- a/engine/lib/pageowner.php +++ b/engine/lib/pageowner.php @@ -73,7 +73,8 @@       * return the page owner if required
       * (Such functions are required to return false if they don't know)
       * @uses $CONFIG
 -     * @param string $functionname The name of the function to call
 +     * @param string $functionname The name of the function to call +     * @return mixed The guid of the owner or false
       */
          function add_page_owner_handler($functionname) {
 | 
