fixed documentation

This commit is contained in:
JT Smith 2009-02-06 04:50:46 +00:00
parent 6701a10491
commit 36eead4e9c

View file

@ -67,11 +67,11 @@ May be "unread", "pending", or "completed". Defaults to "pending".
You should set this to "pending" if the message requires an action which will later be completed.
WebGUI::Inbox->create( $session, { status => "pending"} )
WebGUI::Inbox::Message->create( $session, { status => "pending"} )
You should set this to "unread" if this is a message without an action, such as a notification.
WebGUI::Inbox->create( $session, { status => "unread" } );
WebGUI::Inbox::Message->create( $session, { status => "unread" } );
You should only set this to "completed" if this is an action that would normally be "pending" but for some reason
requries no further action. For instance, if the user submitting some content is also the approver you may choose