-
$_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.
-
$_controller
-
The DM2 controller instance we use to operate the forms.
-
$_controller
-
The DM controller used for editing operations.
-
$_data
-
The array with the data we're working on.
-
$_datamanager
-
The datamanager encaspulating the current resultset.
-
$_datamanager
-
The datamanager encaspulating the current resultset.
-
$_datamanager
-
The datamanager encaspulating the current resultset.
-
$_datamanager
-
The DM instance used for displaying the data.
-
$_entries
-
The matching entries for self mode.
-
$_entries
-
The matching entries for self mode.
-
$_entries
-
The matching entries for self mode.
-
$_entry
-
The entry which is currently being operated on.
-
$_entry
-
Used only on the thankyou page, this variable contains the newly created entry.
-
$_mode
-
One of 'offer' or 'application'.
-
$_mode
-
The mode in use for self mode (offers or applications)
-
$_mode
-
One of 'offer' or 'application'.
-
$_mode
-
The mode in use for self mode (offers or applications)
-
$_mode
-
The mode in use for self mode (offers or applications)
-
$_mode
-
The information we should list, one of 'sector' or 'location'.
-
$_page
-
The page currently displayed, this is a one-based index.
-
$_page
-
The page currently displayed, this is a one-based index.
-
$_search_data
-
The search form data, made transient using sessioning, stays null in case of first calls to the system
-
$_search_data
-
The search form data, made transient using sessioning, stays null in case of first calls to the system
-
$_top_applications
-
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.
-
$_top_offers
-
The newest offers applicable for the current configuration. This is used to quickly present the newest offers 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.
-
$_total_count
-
The total number of entries matching the current mode and access restrictions.
-
$_total_count
-
The total number of entries matching the current mode and access restrictions.
-
$_total_pages
-
The total number of pages.
-
$_total_pages
-
The total number of pages.
-
$_type
-
The name of the type we have to create.
-
$_type
-
The name of the type we have to create.
-
$_type
-
The type we're currently limited to. This is left to null if there is no type limit induced by the URL of the request.
-
$_type_config
-
A shortcut to $_type_list[$_type].
-
$_type_config
-
A shortcut to $_type_list[$_type].
-
$_type_list
-
This is an array holding the computed type list.
-
$_type_list
-
This is an array holding the type list.
-
$_type_list
-
This is an array holding the computed type list.
-
$_type_list
-
This is an array holding the computed type list.
-
$_type_list
-
This is an array holding the computed type list.
-
_add_search_request_data
-
This is an helper interfacing with the search session. It will make a few URLs available like back to search result set, next/previous entry etc.
-
_can_handle_search
-
Validates the ticker arguments.
-
_can_handle_self
-
Validates the self arguments.
-
_can_handle_step1
-
Validates the step1 handle arguments.
-
_can_handle_ticker
-
Validates the ticker arguments.
-
_can_handle_welcome
-
Validates the step1 handle arguments.
-
_compute_type_list
-
Little internal helper, populates the _type_list member and computes a few URLs for it.
-
_create_entry
-
This function will create a new job entry based on the data currently read in by the DM instance. Errors will trigger generate_error, success will redirect, putting 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).
-
_get_defaults_from_account
-
Internal helper, computes the defaults for new job entries based on the settings in the configuration.
-
_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.
-
_handler_delete
-
Loads everything needed to display an entry, no dark magic here.
-
_handler_edit
-
Loads everything needed to display an entry, no dark magic here.
-
_handler_result
-
Prepares the search result for displaying. Submitted form data takes priority over HTTP session information. Search results are available as long as the session lasts therefore.
-
_handler_search
-
This code prepares a search form for viewing. It does not pick up any leftover
-
_handler_self
-
Queries the own entries, distinguished by offers and applications ian args[0].
-
_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.
-
_handler_thankyou
-
Displays the everything's happy message.
-
_handler_ticker
-
Starts up the job ticker, bound to either the offers or the applications sections. Visibility of the resultset is limited according to the components' configuration. Full result listings are not directly supported, the component will always page the job ticker, to avoid huge listings.
-
_handler_view
-
Loads everything needed to display an entry, no dark magic here.
-
_handler_welcome
-
The welcome handler loades the newest offers / applications according to the configuration settings and prepares the type listings.
-
_handler_welcome
-
Simple submission welcome page handler, computes the type list to display a welcome page.
-
_load_account_remote
-
Internal helper, populates the account remoting interface accordingly.
-
_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).
-
_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).
-
_load_total_count
-
Loads the total result count applicable in the active mode. This query bypasses ACL restrictions to keep the speed up.
-
_load_total_count
-
Loads the total result count applicable in the active mode. This query bypasses ACL restrictions to keep the speed up.
-
_on_check_document_permissions
-
Checks the index documents' permission using the unindexed _anonymous_read field accociated with the document.
-
_on_execute
-
-
_on_initialize
-
-
_on_initialize
-
-
_on_initialize
-
-
_on_reindex
-
Iterate over all entries and create an index record using the datamanger2 indexer method. We reuse the same DM2 instance. We use the set branchen to limit the number of objects we look at simultaneously.
-
_on_resolve_permalink
-
Resolves entry guids into view URLs.
-
_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.
-
_prepare_controller
-
Little helper, populates the $_controller member accordingly.
-
_prepare_datamanager
-
Little helper, populates the $_datamanager member accordingly.
-
_prepare_datamanager
-
Internal helper function: prepares a nullstorage controller instance and populates its defaults from the current account using the _get_defaults_from_account helper.
-
_prepare_request_data
-
Simple helper which references all important members to the request data listing for usage within the style listing.
-
_prepare_request_data
-
Simple helper which references all important members to the request data listing for usage within the style listing.
-
_prepare_request_data
-
Simple helper which references all important members to the request data listing for usage within the style listing.
-
_prepare_request_data
-
Simple helper which references all important members to the request data listing for usage within the style listing.
-
_prepare_request_data
-
Simple helper which references all important members to the request data listing for usage within the style listing.
-
_prepare_result_qb
-
Internal helper function, prepares a query builder which lists all results applicable in the current authentication state and display mode. Further constraints like ordering and offset/count limits must be applied by the callee.
-
_prepare_result_qb
-
Internal helper function, prepares a query builder which lists all results applicable in the current authentication state and display mode. Further constraints like ordering and offset/count limits must be applied by the callee.
-
_prepare_result_qb
-
Internal helper function, prepares a query builder which lists all search results applicable in the current authentication state and display mode. Further constraints like ordering and offset/count limits must be applied by the callee.
-
_process_controller
-
Processes the datamanager, and redirects to the view on save/cancel events.
-
_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.
-
_process_form
-
Processes a search form submission. Tries to be as lax as possible when evaluating the request data, only missing required information such as 'mode' lead to critical errors. All information is fully revalidated, to prevent request tampering.
-
_process_session
-
This function loads all data from the search_data session driven storage and updates the local instance accordingly. Only rudimentary checks are done here.
-
_show_delete
-
Displays an entry.
-
_show_edit
-
Displays an entry edit form.
-
_show_result
-
Displays search result.
-
_show_search
-
Displays the search form. Accomodates the logic required to dynamically activate parts of the form. The form is constructed manually, without QuickForm.
-
_show_self
-
Displays the own items in a standard display loop.
-
_show_step1
-
Calls a simple style element which shows the form.
-
_show_thankyou
-
Displays the everything's happy message.
-
_show_ticker
-
Jobticker display loop.
-
_show_view
-
Displays an entry.
-
_show_welcome
-
Displays a welcome page with all types available for submission linked accordingly.
-
_show_welcome
-
Shows the welcome page.
-
_update_breadcrumb_line
-
Helper, updates the context so that we get a complete breadcrum line towards the current location.