[net.nehmer.buddylist] element index

Package indexes

All elements
a c d e g i k l n p r s v w _
_
top
Variable $_buddies
Your buddy list in the form of an username => midcom_core_user listing.
Variable $_buddies_meta
A listing of meta-information for the current buddylist, indexed by the username, you will have the following keys available:
Variable $_buddy_user
The user for which we add a buddylist entry.
Variable $_data
The array with the data we're working on.
Variable $_entry
The entry being processed, only valid for the process targets.
Variable $_pending
A list of pending buddylist requests, each entry is a map containing these elements:
Variable $_processing_msg
Processing message.
Variable $_processing_msg
Processing message, only valid for the process targets.
Variable $_processing_msg_raw
Untranslated processing message, only valid for the process targets.
Variable $_processing_msg_raw
Untranslated processing message.
Method _get_buddy_qb
Internal helper, prepares the QB instance required for the buddy retrieval functions.
Method _get_unapproved_qb
Internal helper, prepares the QB instance required for the unapproved retrieval functions.
Method _handler_delete
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _handler_list
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _handler_process
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _handler_request
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _handler_welcome
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _load_pending
Prepares the $_pending member.
Method _on_check_document_permissions
Checks the index documents' permission using the unindexed _anonymous_read field accociated with the document.
Method _on_created
Creation handler, grants owner permissions to the buddy user for this
Method _on_creating
The pre-creation hook sets the added field to the current timestamp if and only if it is unset.
Method _on_deleted
When a buddy is deleted, we use sudo to drop the isonline privilege from the buddy again (of course if and only if this record is approved).
Method _on_execute
Method _on_initialize
Method _on_initialize
Method _on_initialize
Method _on_resolve_permalink
Resolves entry guids into view URLs.
Method _on_watched_dba_delete
The delete handler will drop all entries accociated with any person record that has been deleted. We don't need to check for watched classes at this time, since we have no other watches defined.
Method _prepare_buddies_meta
Prepares the metadata for each buddy.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _process_approve
Processes buddy approval.
Method _process_approve_and_add
Processes buddy approval and opens a buddy request for the original account.
Method _process_reject
Processes buddy rejection.
Method _show_delete
Displays a simple success page.
Method _show_list
Shows the pending list page.
Method _show_process
Shows the processing result page.
Method _show_request
Shows the request page.
Method _show_welcome
Shows the welcome page.
a
top
Method approve
Approves the current record. This will flag the record as approved and will then drop the owner privileges of the current user. If the user does not have owner privileges for the record, an access denied error is triggered.
Page admin.php
admin.php in admin.php
c
top
Page categorylister.php
categorylister.php in categorylister.php
Page cleanup.php
cleanup.php in cleanup.php
d
top
Page delete.php
delete.php in delete.php
e
top
Page entry.php
entry.php in entry.php
g
top
Method get_account_user
Returns the user object accociated with the account field.
Method get_buddy_user
Returns the user object accociated with the buddy field.
Method get_class_magic_default_privileges
Hide entries for not authenticated users, allow creation for all authenticated users.
Method get_leaves
Method get_name_for_key
Method get_online_buddy_count
Returns the count of online buddies. This is built on get_online_buddies, to rely on its caching. See there for details.
Method get_unapproved_count
Gets the count of pending buddylist requests. This call will automatically work for the current user only. This call works unchecked, but this should not make a difference unless the DB is inconsistent.
i
top
Method is_on_buddy_list
This call checks wether the given user is already on our buddy list. This is used in the pending listing to hide the approve & add button appropriately. Note that even unapproved requests count here.
Page interfaces.php
interfaces.php in interfaces.php
k
top
Method key_exists
l
top
Method list_all
Method list_buddies
Lists all entries belonging to a given user.
Method list_online_buddies
Lists all buddies of the current user that are currently online.
Method list_unapproved
Lists all entries pending approval by a given user.
n
top
Page navigation.php
navigation.php in navigation.php
Class net_nehmer_buddylist_admin
Marketplace AIS interface class
Method net_nehmer_buddylist_admin
Method net_nehmer_buddylist_callbacks_categorylister
Initializes the class to the category listing in the configuration. It does the neccessary postprocessing to move the configuration syntax to the rendering one.
Class net_nehmer_buddylist_callbacks_categorylister
Marketplace Schema callback, post-processes the available categories and makes them accessible. This callback can only be used from within the marketplace component, since it relies on its component context ot be correctly initialized.
Class net_nehmer_buddylist_cron_cleanup
Cleanup Cronjob Handler
Method net_nehmer_buddylist_entry
Class net_nehmer_buddylist_entry
Marketplace entry class
Method net_nehmer_buddylist_handler_delete
Class net_nehmer_buddylist_handler_delete
Buddylist deletion handler
Method net_nehmer_buddylist_handler_pending
Class net_nehmer_buddylist_handler_pending
Pending requests handler
Method net_nehmer_buddylist_handler_request
Class net_nehmer_buddylist_handler_request
Buddylist request page handler
Class net_nehmer_buddylist_handler_welcome
Buddylist welcome page handler
Method net_nehmer_buddylist_handler_welcome
Method net_nehmer_buddylist_interface
Constructor.
Class net_nehmer_buddylist_interface
Marketplace component.
Method net_nehmer_buddylist_navigation
Simple constructor, calls base class.
Class net_nehmer_buddylist_navigation
Marketplace NAP interface class
Method net_nehmer_buddylist_viewer
Class net_nehmer_buddylist_viewer
Buddylist site interface class
p
top
Page pending.php
pending.php in pending.php
r
top
Page request.php
request.php in request.php
Method reject
Rejects approval of the current record. This will drop the record. If the user does not have owner privileges for the record, an access denied error is triggered.
s
top
Method set_type
Ignored.
v
top
Page viewer.php
viewer.php in viewer.php
w
top
Page welcome.php
welcome.php in welcome.php
a c d e g i k l n p r s v w _