| C# | |
|---|---|
public interface IZennoPosterProjectModel | |
The object of the IZennoPosterModel interface get access to major data of ZennoPoster's project.
The following example demonstrates using IZennoPosterModel interface. In this example local variable project is object of IZennoPosterModel interface. Variable "project" has access to data of current project.
| C# | Copy Code |
|---|---|
// get global variable by name "MyGlobalVariable" from namespace "MyNamespace" IGlobalVariable gv = project.GlobalVariables["MyNamespace", "MyGlobalVariable"]; // get local varible by name "MyLocalVariable" ILocalVariable lv = project.Variables["MyLocalVariable"]; // get list by name "MyList" ILists list = project.Lists["MyList"]; // get table by name "MyTable" ITables table = project.Tables["MyTable"]; // set new login to profile project.Profile.Login = "NewLogin1234"; // get nick from profile string nick = project.Profile.NickName; | |
| PHP | Copy Code |
|---|---|
// get global variable by name "MyGlobalVariable" from namespace "MyNamespace" $gv = $project->GlobalVariables->get_Item("MyNamespace", "MyGlobalVariable"); // get local varible by name "MyLocalVariable" $lv = $project->Variables->get_Item("MyLocalVariable"); // get list by name "MyList" $list = $project->Lists->get_Item("MyList"); // get table by name "MyTable" $table = $project->Tables->get_Item("MyTable"); // set new login to profile $project->Profile->Login = "NewLogin1234"; // get nick from profile $nick = $project->Profile->NickName; | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven
Reference
IZennoPosterProjectModel MembersZennoLab.InterfacesLibrary.ProjectModel Namespace
IGlobalVariable Interface
ILocalVariable Interface
IZennoTable Interface
IGlobalVariables Interface
ILists Interface
ILocalVariables Interface
IProfile Interface
ITables Interface
ProfileSex Enumeration
VariableGroupTypeV4 Enumeration