[net.nehmer.marketplace] element index

Package indexes

All elements
a c d e g i k l n s t v w _
_
top
Variable $_account_remote
Account remoting interface, will be loaded by _load_account_remote, which might fail to do so, in which case this variable stays null. The caller has to take care of this.
Variable $_category
The category key (!) we're currently limited to.
Variable $_category
The category key for which we create an entry.
Variable $_category_list
Full category listing. Be aware, that to the contrary of the category.php handler this list is not yet normalized towards display, as it is only required for the breadcrumb navigation. You need to str_replace('|', ': ', ...) yourself.
Variable $_category_list
Full category listing, with parsed names.
Variable $_category_lister
The category lister class instance.
Variable $_category_name
The clear text name of the category we're currently limited to.
Variable $_controller
The DM controller used for editing operations.
Variable $_controller
The DM2 controller instance we use to operate the forms.
Variable $_data
The array with the data we're working on.
Variable $_datamanager
The datamanager encaspulating the current resultset.
Variable $_datamanager
The datamanager encaspulating the currently displayed entry.
Variable $_datamanager
The DM instance used for displaying the data.
Variable $_entries
The matching entries for self mode.
Variable $_entries
The matching entries for self mode, this is already paged.
Variable $_entry
Used only on the thankyou page, this variable contains the newly created entry.
Variable $_entry
The entry which is currently being operated on.
Variable $_mapping
The field mpaaing list applicable to the current user account.
Variable $_mode
One of 'ask' or 'bid'.
Variable $_mode
The mode in use for self mode (ask or bid)
Variable $_mode
One of 'ask' or 'bid'.
Variable $_mode
Current display mode, one of ask, bid.
Variable $_page
The page currently displayed, this is a one-based index.
Variable $_top_asks
The newest applications applicable for the current configuration. This is used to quickly present the newest applications on the frontpage. The list is limited in numbers by the welcome_offer_count setting and the anonymous_read options in case we don't have an authenticated user.
Variable $_top_bids
The newest bids applicable for the current configuration. This is used to quickly present the newest bids on the frontpage. The list is limited in numbers by the welcome_offer_count setting and the anonymous_read options in case we don't have an authenticated user.
Variable $_total_count
The total number of entries matching the current mode and access restrictions.
Variable $_total_pages
The total number of pages.
Method _can_handle_browse
Validates the browsing arguments.
Method _can_handle_self
Validates the self arguments.
Method _can_handle_step1
Validates the step1 handle arguments.
Method _get_defaults_from_account
Internal helper, computes the defaults for new job entries based on the settings in the configuration.
Method _get_entry_qb
Returns an entry Query Builder for use on the welcome page to retrieve the top-5 queries, taking the current type configuration into account for anonymous accesses.
Method _handler_browse
This code loads the currently displayed data set based on the (already validated) argument list.
Method _handler_delete
Loads everything needed to display an entry, no dark magic here.
Method _handler_edit
Loads everything needed to display an entry, no dark magic here.
Method _handler_self
Queries the own entries, distinguished by offers and applications ian args[0].
Method _handler_step1
The step 1 handler displays and processes the new entry form. It will use a nullstorage controller until the form has been validated and the new object has been created.
Method _handler_thankyou
Displays the everything's happy message.
Method _handler_view
Loads everything needed to display an entry, no dark magic here.
Method _handler_welcome
Simple submission welcome page handler, computes the type list to display a welcome page.
Method _handler_welcome
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _handler_welcome_mode
The welcome handler loades the newest asks / bids according to the configuration settings and prepares the type listings.
Method _load_account_remote
Internal helper, populates the account remoting interface accordingly.
Method _load_results
Loads the results applicable to the current page, limited by the current page size setting. Be aware that the actual page size returned might be smaller then the one set if either a) the last page is displayed (obviously) or b) some market entries are ACL-hidden for any reason (shouldn't happen component-side).
Method _load_total_count
Loads the total result count applicable in the active mode. This query bypasses ACL restrictions to keep the speed up.
Method _on_check_document_permissions
Checks the index documents' permission using the unindexed _anonymous_read field accociated with the document.
Method _on_created
Temporary helper to create a last-modified timestamp.
Method _on_execute
Method _on_initialize
Method _on_initialize
Initialize the category listing.
Method _on_initialize
Initialize the category listing. Be aware, that to the contrary of the category.php handler this list is not yet normalized towards display, as it is only required for the breadcrumb navigation. You need to str_replace('|', ': ', ...) yourself.
Method _on_initialize
Method _on_initialize
Method _on_reindex
Reindex everything, try to conserve as much memory as possible.
Method _on_resolve_permalink
Resolves entry guids into view URLs.
Method _on_updated
Temporary helper to update a last-modified timestamp.
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_controller
Little helper, populates the $_controller member accordingly.
Method _prepare_datamanager
Internal helper function: prepares a create controller instance and populates its defaults from the current account using the _get_defaults_from_account helper.
Method _prepare_datamanager
Little helper, populates the $_datamanager member accordingly.
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 _prepare_request_data
Simple helper which references all important members to the request data listing for usage within the style listing.
Method _prepare_result_qb
Internal helper function, prepares a query builder which lists all results applicable in the current state. Further constraints like ordering and offset/count limits must be applied by the callee.
Method _process_controller
Processes the datamanager, and redirects to the view on save/cancel events.
Method _process_create_entry
This function will post-process a newly created marketplace entry. It will put the newly created record into a PHP session (URL args are not used here for security reasons, as sensitive information could be included in the thank you page).
Method _process_datamanager
This function processes the form. Cancellation redirect to the new entry page, while save creates the entry and relocates to the thanks-very-much page.
Method _show_browse
Displays the loaded results
Method _show_delete
Displays an entry.
Method _show_edit
Displays an entry edit form.
Method _show_self
Displays the own items in a standard display loop.
Method _show_step1
Calls a simple style element which shows the form.
Method _show_thankyou
Displays the everything's happy message.
Method _show_view
Displays an entry.
Method _show_welcome
Shows the welcome page.
Method _show_welcome
Displays a welcome page with all types available for submission linked accordingly.
Method _show_welcome_mode
Shows the mode specific welcome page.
Method _update_breadcrumb_line
Helper, updates the context so that we get a complete breadcrum line towards the current location.
Method _update_breadcrumb_line
Helper, updates the context so that we get a complete breadcrum line towards the current location.
a
top
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
Page category.php
category.php in category.php
d
top
Method dm2_create_callback
DM2 creation controller callback. Creates a new entry, initializes it. The reference is stored in the class and then returned to DM2.
e
top
Page entry.php
entry.php in entry.php
Page entry.php
entry.php in entry.php
g
top
Method get_class_magic_default_privileges
Allow creation for all authenticated users.
Method get_leaves
Method get_name_for_key
Method get_next
Returns the next result in the current category/mode combination.
Method get_previous
Returns the previous result in the current category/mode combination.
Method get_revised
Temporary helper to return a last-modified timestamp.
i
top
Method index
Indexes an entry. The generated document use component security and have the anonymous_read information from the type config present. This is used from the entry and reindex handlers.
Page interfaces.php
interfaces.php in interfaces.php
k
top
Method key_exists
l
top
Method list_all
Method list_by_user
Lists all entries belonging to a given user.
n
top
Page navigation.php
navigation.php in navigation.php
Class net_nehmer_marketplace_admin
Marketplace AIS interface class
Method net_nehmer_marketplace_admin
Method net_nehmer_marketplace_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_marketplace_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_marketplace_cron_cleanup
Cleanup Cronjob Handler
Class net_nehmer_marketplace_entry
Marketplace entry class
Method net_nehmer_marketplace_entry
Method net_nehmer_marketplace_handler_category
Class net_nehmer_marketplace_handler_category
Marketplace category listing code.
Method net_nehmer_marketplace_handler_entry
Class net_nehmer_marketplace_handler_entry
Marketplace entry management handler class.
Method net_nehmer_marketplace_handler_submit
Class net_nehmer_marketplace_handler_submit
Marketplace entry submission handler.
Method net_nehmer_marketplace_handler_welcome
Class net_nehmer_marketplace_handler_welcome
Marketplace welcome page handler
Method net_nehmer_marketplace_interface
Constructor.
Class net_nehmer_marketplace_interface
Marketplace component.
Class net_nehmer_marketplace_navigation
Marketplace NAP interface class
Method net_nehmer_marketplace_navigation
Simple constructor, calls base class.
Class net_nehmer_marketplace_viewer
Marketplace site interface class
Method net_nehmer_marketplace_viewer
s
top
Page submit.php
submit.php in submit.php
Method set_type
Ignored.
t
top
Method touch
Temporary helper to set a last-modified timestamp.
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 s t v w _