ZennoLab Assemblies Documentation
PhpHelper Class
Members  Example 
ZennoLab.CommandCenter Namespace : PhpHelper Class
The special class for synchronization in php code.
Syntax
public static class PhpHelper 
Remarks
This class possible to use for synchronization your code in multithreading mode.
Example
The following example uses the PhpHelper for synchronization working with list of projects.
// get the list from project
$list = $project->Lists->get_Item("List1");
// lock the lists
ZennoLab\CommandCenter\PhpHelper::LockListSyncer();
try 
{
    // get the item from list
    $tmp = $list->get_Item(0);
    // remove this item
    $list->RemoveAt(0);
}
catch (Exception $e) {}
// unlock the lists
ZennoLab\CommandCenter\PhpHelper::UnLockListSyncer();
Inheritance Hierarchy

System.Object
   ZennoLab.CommandCenter.PhpHelper

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

PhpHelper Members
ZennoLab.CommandCenter Namespace
LockInputSyncer Method
LockListSyncer Method
LockTableSyncer Method
UnLockInputSyncer Method
UnLockListSyncer Method
UnLockTableSyncer Method