protected function beforeDelete() {

		$acls = Acl::getAllObjects(array('groupId' => $this->id));
		foreach ($acls as $acl) {
			$acl->delete();
		}

		$users = User::getAllObjects(array('groupId' => $this->id));
		foreach ($users as $user) {
			$user->delete();
		}

	}
protected function beforeDelete() {

		$acls = Acl::getAllObjects(array('groupId' => $this->id));
		foreach ($acls as $acl) {
			$acl->delete();
		}

		$users = User::getAllObjects(array('groupId' => $this->id));
		foreach ($users as $user) {
			$user->delete();
		}

	}
protected function beforeDelete ( ) { $ acls = Acl :: getAllObjects ( array ( 'groupId' => $ this -> id ) ) ; foreach ( $ acls as $ acl ) { $ acl -> delete ( ) ; } $ users = User :: getAllObjects ( array ( 'groupId' => $ this -> id ) ) ; foreach ( $ users as $ user ) { $ user -> delete ( ) ; } }
Deletes all Acl and User objects of this Group.
Deletes all Acl and User objects of this Group .