Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
Ajax Class Reference
Inheritance diagram for Ajax:
baseModule_RELEX_TARIQANG BaseModuleWithAuthenticationAndLanguages BaseModuleWithAuthentication BaseModule mModule

Public Member Functions

 __construct ($config)
 setMultiAjaxCall ($user_id, $db, $urls, $delimiter= '###')
 onExecute ()
 getDefaultTemplateFile ()
 getHeaders ()
 canProcessRequest ()

Protected Member Functions

 multiAjax ()
 searchCountry ()
 searchTags ()
 getSectionId ()
 removeFilter ()
 setFilter ()
 deleteTab ()
 changeSource ()
 saveSearchC ($just_return_params=false)
 briefcaseMoveToFolder ()
 briefcaseMoveFolder ()
 briefcaseArchiveFolder ()
 briefcaseUnArchiveFolder ()
 searchFeed ()
 shareSearchC ()
 shareSearch ()
 addBriefcaseFolder ()
 deleteBriefcaseFolder ()
 briefcaseRenameContent ()
 renameBriefcaseFolder ()
 briefcaseSaveArticles ()
 briefcaseDeleteContent ()
 emptyBriefcaseFolder ()
 moveItem ()
 deleteItem ()
 uploaderCreateFolder ()
 doAjaxFileUpload ()
 briefcaseSaveSearch ()
 themeSaveText ()
 topicAddTab ()
 changeChannel ()
 browseLexisNexisSources ()
 searchCountriesByContinent ()
 checkAnalysisStatus ()
 saveRSS ()
 showRSSLink ()
 shareBriefcaseSearches ()
 briefcaseOpenURLS ()
 sendTextToBriefcase ()
 saveTemplate ()
 briefcaseApplyTemplate ()
 activateJanes ()
 createEntry ()
 updateEntry ()
 removeEntry ()
 cancelPlaylist ()
 saveEntry ()
 searchLexisSource ()
 flowplayerSetCookie ()
 publishGetTemplate ()
 doPublish ()
 checkUserText ($param_name)
 setUserPick ()
 getUserText ()
 saveUserText ()

Constructor & Destructor Documentation

__construct ( config)

Construct the Module object

Parameters:
array$configThe multidimentionnal array containing the application's configuration

Reimplemented from mModule.


Member Function Documentation

activateJanes ( ) [protected]

Applies a template protected

Returns:
string
addBriefcaseFolder ( ) [protected]

Adds a folder to the briefcase protected

Returns:
string
briefcaseApplyTemplate ( ) [protected]

Applies a template protected

Returns:
string
briefcaseArchiveFolder ( ) [protected]

Archives a briefcase folder protected

Returns:
string
briefcaseDeleteContent ( ) [protected]

Deletes an item from the briefcase protected

Returns:
string
briefcaseMoveFolder ( ) [protected]

Moves a folder to another folder protected

Returns:
string
briefcaseMoveToFolder ( ) [protected]

Moves an item to a folder (for the briefcase) protected

Returns:
string
briefcaseOpenURLS ( ) [protected]

Generates the url's for the js_open function for the briefcase_elements protected

Returns:
string
briefcaseRenameContent ( ) [protected]

Renames an item from the briefcase protected

Returns:
string
briefcaseSaveArticles ( ) [protected]

Sets an user to insert articles into the briefcase protected

Returns:
string
briefcaseSaveSearch ( ) [protected]

Saves a search to the briefcase

Parameters:
param_type$param_nameparam_desc protected
Returns:
string
briefcaseUnArchiveFolder ( ) [protected]

Un-archives a briefcase folder protected

Returns:
string
browseLexisNexisSources ( ) [protected]

Retrieves the LexisNexis sources for a given folder protected

Returns:
string
cancelPlaylist ( ) [protected]

Resets the current multimedia newsletter playlist protected

Returns:
string

Process the request that have the page set to ajax

Reimplemented from mModule.

changeChannel ( ) [protected]

Saves the new prefered channel protected

Returns:
string
changeSource ( ) [protected]

Changes the current source protected

Returns:
string
checkAnalysisStatus ( ) [protected]

Checks the status of a running news analysis for the special page analysis protected

Returns:
string
checkUserText ( param_name) [protected]

Checks if an article item is in fact an user custom text protected

Returns:
string
createEntry ( ) [protected]

Creates a new multimedia newsletter playlist entry protected

Returns:
string
deleteBriefcaseFolder ( ) [protected]

Deletes a folder from the briefcase protected

Returns:
string
deleteItem ( ) [protected]

Removes an file or a folder (used by the upload control protected

Returns:
string
deleteTab ( ) [protected]

Deletes a tab protected

Returns:
string
doAjaxFileUpload ( ) [protected]

Does an AJAX file upload protected

Returns:
void
doPublish ( ) [protected]

Publish a folder protected

Returns:
string
emptyBriefcaseFolder ( ) [protected]

Empty a folder from the briefcase protected

Returns:
string
flowplayerSetCookie ( ) [protected]

Sets the cookie for a flow player (displaying captions or subtitles) protected

Returns:
string

Gets the default template file public

Returns:
string|null

Reimplemented from mModule.

Gets the applications headers set by the module public

Returns:
array

Reimplemented from mModule.

getSectionId ( ) [protected]

Gets the id and the user preferences section for a filter update in the news section protected

Returns:
array
getUserText ( ) [protected]

Gets a user text from the briefcase protected

Returns:
string
moveItem ( ) [protected]

Moves a file or a folder from a source to a destination protected

Returns:
string
multiAjax ( ) [protected]

Processes a list of urls in a multithreading fashion protected

Returns:
string
onExecute ( )

Render the module

Returns:
string

Reimplemented from mModule.

publishGetTemplate ( ) [protected]

Gets a publishing template protected

Returns:
string
removeEntry ( ) [protected]

Removes an entry from a multimedia newsletter playlist protected

Returns:
string
removeFilter ( ) [protected]

Removes a filter for a given query protected

Returns:
string
renameBriefcaseFolder ( ) [protected]

Renames a briefcase folder protected

Returns:
string
saveEntry ( ) [protected]

Saves a newly created entry protected

Returns:
string
saveRSS ( ) [protected]

Creates an rss feed protected

Returns:
string
saveSearchC ( just_return_params = false) [protected]

Saves a country page or thematic page search to the briefcase

Parameters:
boolean$just_return_paramsIf set to true, does not execute the saving, but just returns the post data and get data [OPTIONAL] protected
Returns:
string
saveTemplate ( ) [protected]

Saves a briefcase template protected

Returns:
string
saveUserText ( ) [protected]

Saves a user text in the briefcase protected

Returns:
string
searchCountriesByContinent ( ) [protected]

Searches a country for the countries list page protected

Returns:
string
searchCountry ( ) [protected]

Performs a country search protected

Returns:
string
searchFeed ( ) [protected]

Search for an RSS or LatestNews aggregated feed protected

Returns:
string
searchLexisSource ( ) [protected]

Search for a Lexis Nexis source protected

Returns:
string
searchTags ( ) [protected]

Performs a tags search protected

Returns:
string
sendTextToBriefcase ( ) [protected]

Saves an user defined text into the briefcase protected

Returns:
string
setFilter ( ) [protected]

Sets a filter for a given query and a given flavour on a country page protected

Returns:
string
setMultiAjaxCall ( user_id,
db,
urls,
delimiter = '###' 
)

Sets a list of urls to be fetched through multi ajax mechanism

Parameters:
string$user_idThe user identifier
mMysql$dbThe database connection
string[]$urls The list of urls
string$delimiterThe delimiter used in the list of urls [OPTIONAL] private
Returns:
string
setUserPick ( ) [protected]

Sets the user picks for a list of given ids protected

Returns:
string
shareBriefcaseSearches ( ) [protected]

Shares briefcase searches protected

Returns:
string
shareSearch ( ) [protected]

Shares a search from a user search protected

Returns:
string
shareSearchC ( ) [protected]

Shares a search from a country page or a thematic page protected

Returns:
string
showRSSLink ( ) [protected]

Show an rss link for a search protected

Returns:
string
themeSaveText ( ) [protected]

Saves the short text and the long text in a thematic page protected

Returns:
string
topicAddTab ( ) [protected]

Adds a tab on a thematic page needed to display a topic query protected

Returns:
string
updateEntry ( ) [protected]

Updates a multimedia newsletter playlist entry protected

Returns:
string
uploaderCreateFolder ( ) [protected]

Creates a new folder (used by the upload control) protected

Returns:
string

The documentation for this class was generated from the following file: