An Inx_Api_List_ListContext corresponds to a list in Inxmail, like a mailing list or the system list.
An Inx_Api_List_ListContext corresponds to a list in Inxmail, like a mailing list or the system list. The Inx_Api_List_ListContextManager is used to access and manipulate these lists. There are four different types of lists:
The following snippet creates a new standard mailing list:
$oListContextManager = $session->getListContextManager(); $oStandardListContext = $oListContextManager->createStandardList(); $oStandardListContext->updateName( "New List" ); $oStandardListContext->commitUpdate();Special lists, like the system or administration list, can be retrieved using the findByName($sName) method. Both, Inx_Api_List_SystemListContext and Inx_Api_List_AdminListContext provide a constant with their predefined, immutable name which can be used to retrieve the list context. The following snippet illustrates this:
$oListContextManager = $oSession->getListContextManager(); $systemListContext = $oListContextManager->findByName( Inx_Api_List_SystemListContext::NAME ); $adminListContext = $oListContextManager->findByName( Inx_Api_List_AdminListContext::NAME );
For more information on lists, see the Inx_Api_List_ListContext documentation.
Located in /Api/List/ListContextManager.php (line 47)
Inx_Api_BOManager | --Inx_Api_List_ListContextManager
Creates an Inx_Api_List_FilterListContext object.
Creates an Inx_Api_List_FilterListContext object. The list will not be created on the server until commitUpdate() has been called.
Creates an Inx_Api_List_StandardListContext object.
Creates an Inx_Api_List_StandardListContext object. The list will not be created on the server until commitUpdate() has been called.
Returns the Inx_Api_List_ListContext with the specified list name.
Returns the Inx_Api_List_ListContext with the specified list name. The list name is case insensitive.
Inherited From Inx_Api_BOManager
Inx_Api_BOManager::get()
Inx_Api_BOManager::remove()
Inx_Api_BOManager::selectAll()
Documentation generated on Thu, 17 Sep 2015 14:27:26 +0200 by phpDocumentor 1.3.2