[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /obj/handlers/inherit/club_discuss.c</h2>
This is the handler for all things clubby, a club being a group of
players.  Each club must have a unique name.  It also handles elections
for various club positions.<p>Written by Pinkfish<p>Started Sun Sep 27 03:35:42 EDT 1998
<h2>Inherits</h2>
This class inherits the following classes <a href="obj.handlers.inherit.club_elected.c.shtml">/obj/handlers/inherit/club_elected.c</a><h2>Includes</h2>
This class includes the following files /include/clubs.h, /include/player_handler.h, /include/mail.h, /include/broadcaster.h and /include/am_time.h<h2>Method index</h2>
<ul>
<li><a href="#add_discussion_item">add_discussion_item</a>(string, int, string, string, string, string *, int, mixed)<br/>
This method will add a discussion item to the table to be voted on.
<li><a href="#archive_discussion_item">archive_discussion_item</a>(string, string, string)<br/>
This method is called when a discussion item is finished.
<li><a href="#broadcast_discuss_message">broadcast_discuss_message</a>(string, int, string, string)<br/>
This method sends a message to all the discussion items in the club
and then marks the club as changed if any of them return a non-zero
value.
<li><a href="#can_reference_discussion_item">can_reference_discussion_item</a>(string, int, string)<br/>
This method checks to see if the specified person can see the
discussion idea.
<li><a href="#complete_discussion_item">complete_discussion_item</a>(string, int)<br/>
This method completes the discussion item.
<li><a href="#has_voted_for_discussion_item">has_voted_for_discussion_item</a>(string, int, string)<br/>
This method checks to see if the specified person has already voted for
this discussion item.
<li><a href="#is_committee_discussion_item">is_committee_discussion_item</a>(string, int)<br/>
This method checks to see if the discussion item is a committee only
item.
<li><a href="#is_discuss_nominateable">is_discuss_nominateable</a>(string, int)<br/>
This method checks to see if the discussion item is a votable
item or not.
<li><a href="#is_discuss_person_nominated">is_discuss_person_nominated</a>(string, int, string, string)<br/>
This method checks to see if the given nomination has already been
done.
<li><a href="#is_discuss_votable">is_discuss_votable</a>(string, int)<br/>
This method checks to see if the discussion item is a votable
item or not.
<li><a href="#is_discussion_item_finished">is_discussion_item_finished</a>(string, int)<br/>
This method checks to see if the discussion item is completed yet.
<li><a href="#is_discussion_item_quorum">is_discussion_item_quorum</a>(string, int)<br/>
This method checks to see if quorum has been reached or not
for the club.
<li><a href="#is_discussion_position_valid">is_discussion_position_valid</a>(string, string)<br/>
This is a special function to be used with the discuss items to
make sure that there is not another discussion item checking the
same name.
<li><a href="#is_no_quorum_discussion_item">is_no_quorum_discussion_item</a>(string, int)<br/>
This method checks to see if the discussion item has no quorum
associated with it.
<li><a href="#is_valid_discussion_choice">is_valid_discussion_choice</a>(string, int, string)<br/>
This checks to see if the specified choice is a real discussion item
choice.
<li><a href="#is_valid_discussion_item_type">is_valid_discussion_item_type</a>(int)<br/>
This method checks to make sure the type of the discussion item
is valid.
<li><a href="#nominate_discussion_item">nominate_discussion_item</a>(string, int, string, string)<br/>
This message does the nomination thing for those discussion items
which accept nominations.
<li><a href="#query_all_discussion_items">query_all_discussion_items</a>(string)<br/>
This method returns all the current discussion items for this
club.
<li><a href="#query_discussion_added_by">query_discussion_added_by</a>(string, int)<br/>
This method returns the person who added the discussion item.
<li><a href="#query_discussion_choices">query_discussion_choices</a>(string, int)<br/>
This method returns all the choices for this discussion item.
<li><a href="#query_discussion_item">query_discussion_item</a>(string, int)<br/>
This method figures out the discussion item for the club with the
given id.
<li><a href="#query_discussion_item_by_type">query_discussion_item_by_type</a>(string, int, class discussion_idea)<br/>
This method figures out the discussion item for the club with the
given type.
<li><a href="#query_discussion_item_long_description">query_discussion_item_long_description</a>(string, int)<br/>
This method returns a nice little description of the discussion item.
<li><a href="#query_discussion_item_number_voted">query_discussion_item_number_voted</a>(string, int)<br/>
This method returns the number of people who have voted for the
discussion item.
<li><a href="#query_discussion_item_quorum_number">query_discussion_item_quorum_number</a>(string, int)<br/>
This method returns the number of people needed for quorum
in this discussion item.
<li><a href="#query_discussion_item_short_description">query_discussion_item_short_description</a>(string, int)<br/>
This method returns a nice little description of the discussion item.
<li><a href="#query_discussion_nomination">query_discussion_nomination</a>(string, int)<br/>
This method returns the nomination mapping for the discussion item
if it exists.
<li><a href="#query_discussion_optional_data">query_discussion_optional_data</a>(string, int)<br/>
This method returns the optional data of the discussion item.
<li><a href="#query_discussion_time_added">query_discussion_time_added</a>(string, int)<br/>
This method returns the timeout time of the current discussion item.
<li><a href="#query_discussion_time_finish">query_discussion_time_finish</a>(string, int)<br/>
This method returns the timeout time of the current discussion item.
<li><a href="#remove_discussion_item">remove_discussion_item</a>(string, class discussion_idea)<br/>
This method removes a discussion item from the club.
<li><a href="#send_discuss_message">send_discuss_message</a>(string, int, class discussion_idea, string, string)<br/>
This method sends a message to all the discussion items in the club
and then marks the club as changed if any of them return a non-zero
value.
<li><a href="#setup_by_election">setup_by_election</a>(string, string, string)<br/>
This method setups up a by-election for the specified position in the
club.
<li><a href="#vote_for_discussion_item">vote_for_discussion_item</a>(string, int, string, string)<br/>
This method sets up the discussion item as being voted by the
person specified.
<li><a href="#withdraw_discussion_item">withdraw_discussion_item</a>(string, int, string)<br/>
This message does the withdraw thing for those discussion items
which accept nominations.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_discussion_item">
add_discussion_item</a><pre class="autodocfuncdef">
int add_discussion_item(string club,
                        int type,
                        string added_by,
                        string name,
                        string info,
                        string * choices,
                        int time_to_finish,
                        mixed extra_data)
</pre><dd><br />
This method will add a discussion item to the table to be voted on.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club - the club the item is being added to<br />
type - the type of the discussion item to be added<br />
added_by - who added the discussion item<br />
name - the name of the discussion item<br />
choices - the choices for the discussion item<br />
time_to_finish - the amount of time the election has to run<br />
extra_data - any optional data associated with the discussion idea<br />
<br />
<dd><b>Returns:</b>
<br />1 if successfully added, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="can_reference_discussion_item">
can_reference_discussion_item</a><pre class="autodocfuncdef">
int can_reference_discussion_item(string club_name,
                                  int id,
                                  string person)
</pre><dd><br />
This method checks to see if the specified person can see the
discussion idea.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion idea<br />
person - the name of the person<br />
<br />
<dd><b>See also:</b>
<br /><a href="#vote_for_discussion_item">vote_for_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="complete_discussion_item">
complete_discussion_item</a><pre class="autodocfuncdef">
int complete_discussion_item(string club_name,
                             int id)
</pre><dd><br />
This method completes the discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if successful, 0 if not<br /><br />
<dd><b>See also:</b>
<br /><a href="#add_discussion_item">add_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="has_voted_for_discussion_item">
has_voted_for_discussion_item</a><pre class="autodocfuncdef">
int has_voted_for_discussion_item(string club_name,
                                  int id,
                                  string person)
</pre><dd><br />
This method checks to see if the specified person has already voted for
this discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
person - the name of the person to check
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_committee_discussion_item">
is_committee_discussion_item</a><pre class="autodocfuncdef">
int is_committee_discussion_item(string club_name,
                                 int id)
</pre><dd><br />
This method checks to see if the discussion item is a committee only
item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if it is a committee only item, 0 if it is open
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_discuss_nominateable">
is_discuss_nominateable</a><pre class="autodocfuncdef">
int is_discuss_nominateable(string club_name,
                            int id)
</pre><dd><br />
This method checks to see if the discussion item is a votable
item or not.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if it is votable, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_discuss_person_nominated">
is_discuss_person_nominated</a><pre class="autodocfuncdef">
int is_discuss_person_nominated(string club_name,
                                int id,
                                string nominator,
                                string nominated)
</pre><dd><br />
This method checks to see if the given nomination has already been
done.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion ite,<br />
nominator - the person doing the nomination<br />
nominated - the person being nominated<br />
<br />
<dd><b>Returns:</b>
<br />1 if they are already nominated, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_discuss_votable">
is_discuss_votable</a><pre class="autodocfuncdef">
int is_discuss_votable(string club_name,
                       int id)
</pre><dd><br />
This method checks to see if the discussion item is a votable
item or not.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if it is votable, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_discussion_item_finished">
is_discussion_item_finished</a><pre class="autodocfuncdef">
int is_discussion_item_finished(string club_name,
                                int id)
</pre><dd><br />
This method checks to see if the discussion item is completed yet.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if the discussion item is finished<br /><br />
<dd><b>See also:</b>
<br /><a href="#vote_for_discussion_item">vote_for_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="is_discussion_item_quorum">
is_discussion_item_quorum</a><pre class="autodocfuncdef">
int is_discussion_item_quorum(string club_name,
                              int id)
</pre><dd><br />
This method checks to see if quorum has been reached or not
for the club.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to check for quorum<br />
id - the discussion item id<br />
<br />
<dd><b>Returns:</b>
<br />1 if quorum is reached, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_discussion_position_valid">
is_discussion_position_valid</a><pre class="autodocfuncdef">
int is_discussion_position_valid(string club_name,
                                 string position)
</pre><dd><br />
This is a special function to be used with the discuss items to
make sure that there is not another discussion item checking the
same name.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to check<br />
position - the position to check for<br />
<br />
<dd><b>Returns:</b>
<br />1 if the position is being discussed as an item
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_no_quorum_discussion_item">
is_no_quorum_discussion_item</a><pre class="autodocfuncdef">
int is_no_quorum_discussion_item(string club_name,
                                 int id)
</pre><dd><br />
This method checks to see if the discussion item has no quorum
associated with it.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if it has no quorum, 0 if it is does
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_valid_discussion_choice">
is_valid_discussion_choice</a><pre class="autodocfuncdef">
int is_valid_discussion_choice(string club_name,
                               int id,
                               string choice)
</pre><dd><br />
This checks to see if the specified choice is a real discussion item
choice.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
choice - the choice to check
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="is_valid_discussion_item_type">
is_valid_discussion_item_type</a><pre class="autodocfuncdef">
int is_valid_discussion_item_type(int type)
</pre><dd><br />
This method checks to make sure the type of the discussion item
is valid.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
type - the type of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />1 if it is valid, 0 if not
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="nominate_discussion_item">
nominate_discussion_item</a><pre class="autodocfuncdef">
int nominate_discussion_item(string club_name,
                             int id,
                             string nominator,
                             string nominated)
</pre><dd><br />
This message does the nomination thing for those discussion items
which accept nominations.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
nominator - the person doing the nomination<br />
nominated - the person nominated
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_all_discussion_items">
query_all_discussion_items</a><pre class="autodocfuncdef">
class discussion_idea * query_all_discussion_items(string club_name)
</pre><dd><br />
This method returns all the current discussion items for this
club.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to query the discussion items for<br />
<br />
<dd><b>Returns:</b>
<br />the list of current discussion items
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_added_by">
query_discussion_added_by</a><pre class="autodocfuncdef">
string query_discussion_added_by(string club_name,
                                 int id)
</pre><dd><br />
This method returns the person who added the discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the name of the person who added the discussion item
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_choices">
query_discussion_choices</a><pre class="autodocfuncdef">
string * query_discussion_choices(string club_name,
                                  int id)
</pre><dd><br />
This method returns all the choices for this discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />an array of the valid set of choices, empty array on failure
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item">
query_discussion_item</a><pre class="autodocfuncdef">
class discussion_idea query_discussion_item(string club_name,
                                            int id)
</pre><dd><br />
This method figures out the discussion item for the club with the
given id.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the found discussion item<br /><br />
<dd><b>See also:</b>
<br /><a href="#add_discussion_item">add_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item_by_type">
query_discussion_item_by_type</a><pre class="autodocfuncdef">
class discussion_idea query_discussion_item_by_type(string club_name,
                                                    int type,
                                                    class discussion_idea idea)
</pre><dd><br />
This method figures out the discussion item for the club with the
given type.  It will also continue on a search from a last found item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
type - the type of the discussion item to find<br />
<br />
<dd><b>Returns:</b>
<br />the found discussion item<br /><br />
<dd><b>See also:</b>
<br /><a href="#add_discussion_item">add_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item_long_description">
query_discussion_item_long_description</a><pre class="autodocfuncdef">
string query_discussion_item_long_description(string club_name,
                                              int id)
</pre><dd><br />
This method returns a nice little description of the discussion item.
This is a longer description, useful in more places.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />a long description of the item
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item_number_voted">
query_discussion_item_number_voted</a><pre class="autodocfuncdef">
int query_discussion_item_number_voted(string club_name,
                                       int id)
</pre><dd><br />
This method returns the number of people who have voted for the
discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to check for quorum<br />
id - the discussion item id<br />
<br />
<dd><b>Returns:</b>
<br />the number of people who have voted
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item_quorum_number">
query_discussion_item_quorum_number</a><pre class="autodocfuncdef">
int query_discussion_item_quorum_number(string club_name,
                                        int id)
</pre><dd><br />
This method returns the number of people needed for quorum
in this discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to check for quorum<br />
id - the discussion item id<br />
<br />
<dd><b>Returns:</b>
<br />the number of people needed for quorum
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_item_short_description">
query_discussion_item_short_description</a><pre class="autodocfuncdef">
string query_discussion_item_short_description(string club_name,
                                               int id)
</pre><dd><br />
This method returns a nice little description of the discussion item.
This is a very short description usable in lists and stuff.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />a short description of the item
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_nomination">
query_discussion_nomination</a><pre class="autodocfuncdef">
mapping query_discussion_nomination(string club_name,
                                    int id)
</pre><dd><br />
This method returns the nomination mapping for the discussion item
if it exists.  The nomination mapping is of the format:<br>
<pre>
([
   name : ({ nomated_by, nominated_by, ... })
   ..
 ])
</pre><br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the mapping as described above
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_optional_data">
query_discussion_optional_data</a><pre class="autodocfuncdef">
mixed query_discussion_optional_data(string club_name,
                                     int id)
</pre><dd><br />
This method returns the optional data of the discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the optional data in the club
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_time_added">
query_discussion_time_added</a><pre class="autodocfuncdef">
int query_discussion_time_added(string club_name,
                                int id)
</pre><dd><br />
This method returns the timeout time of the current discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the time at which the dicussion item will finish
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_discussion_time_finish">
query_discussion_time_finish</a><pre class="autodocfuncdef">
int query_discussion_time_finish(string club_name,
                                 int id)
</pre><dd><br />
This method returns the timeout time of the current discussion item.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
<br />
<dd><b>Returns:</b>
<br />the time at which the dicussion item will finish
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="setup_by_election">
setup_by_election</a><pre class="autodocfuncdef">
int setup_by_election(string club,
                      string position,
                      string info)
</pre><dd><br />
This method setups up a by-election for the specified position in the
club.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club - the club to make a byelection in<br />
position - the position the byelection is for<br />
info - the information about the vote<br />
<br />
<dd><b>Returns:</b>
<br />1 on success, 0 on failure
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="vote_for_discussion_item">
vote_for_discussion_item</a><pre class="autodocfuncdef">
int vote_for_discussion_item(string club_name,
                             int id,
                             string person,
                             string choice)
</pre><dd><br />
This method sets up the discussion item as being voted by the
person specified.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
person - the person doing the voting<br />
choice - the choices there are to vote on<br />
<br />
<dd><b>See also:</b>
<br /><a href="#add_discussion_item">add_discussion_item()
</a><br /><br /><br /></dl>

<dt class="autodocfuncname"><a name="withdraw_discussion_item">
withdraw_discussion_item</a><pre class="autodocfuncdef">
int withdraw_discussion_item(string club_name,
                             int id,
                             string withdraw)
</pre><dd><br />
This message does the withdraw thing for those discussion items
which accept nominations.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
id - the id of the discussion item<br />
withdraw - the person being withdrawn
<br />
<br />
<br /></dl>

</dl>
<h2>Protected Functions</h2>
These are functions that only objects inheriting the class can access.<p>
<dl>
<dt class="autodocfuncname"><a name="archive_discussion_item">
archive_discussion_item</a><pre class="autodocfuncdef">
int archive_discussion_item(string club_name,
                            string subject,
                            string item)
</pre><dd><br />
This method is called when a discussion item is finished.  It then
archives it or whatever else it wishes to do with the item<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
item - the text string of the finished item
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="broadcast_discuss_message">
broadcast_discuss_message</a><pre class="autodocfuncdef">
void broadcast_discuss_message(string club_name,
                               int message,
                               string arg1,
                               string arg2)
</pre><dd><br />
This method sends a message to all the discussion items in the club
and then marks the club as changed if any of them return a non-zero
value.  This is used for events like a member being removed of a
position being changed in name.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
message - the message number<br />
arg1 - the first arguement<br />
arg2 - the second arguement
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="remove_discussion_item">
remove_discussion_item</a><pre class="autodocfuncdef">
int remove_discussion_item(string club_name,
                           class discussion_idea item)
</pre><dd><br />
This method removes a discussion item from the club.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club to remove the discussion item<br />
item - the discusion item to remove<br />
<br />
<dd><b>Returns:</b>
<br />1 on success, 0 on failure
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="send_discuss_message">
send_discuss_message</a><pre class="autodocfuncdef">
mixed send_discuss_message(string club_name,
                           int message,
                           class discussion_idea item,
                           string arg1,
                           string arg2)
</pre><dd><br />
This method sends a message to all the discussion items in the club
and then marks the club as changed if any of them return a non-zero
value.  This is used for events like a member being removed of a
position being changed in name.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
club_name - the name of the club<br />
message - the message number<br />
arg1 - the first arguement<br />
arg2 - the second arguement
<br />
<br />
<br /></dl>

</dl>
[an error occurred while processing this directive]

