php man page for dotnet

Query: dotnet

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DOTNET(3)								 1								 DOTNET(3)

The DOTNET class

DESCRIPTION
The DOTNET class allows you to instantiate a class from a .Net assembly and call its methods and access its properties. $obj = new DOTNET("assembly", "classname")
METHODS
DOTNET::DOTNET (string $assembly_name, string $class_name, [int $codepage]) DOTNET class constructor. $assembly_name specifies which assembly should be loaded, and $class_name specifices which class in that assem- bly to instantiate. You may optionally specify a $codepage to use for unicode string transformations; see the "COM" class for more details on code pages. The returned object is an overloaded object, which means that PHP does not see any fixed methods as it does with regular classes; instead, any property or method accesses are passed through to COM and from there to DOTNET. In other words, the .Net object is mapped through the COM interoperability layer provided by the .Net runtime. Once you have created a DOTNET object, PHP treats it identically to any other COM object; all the same rules apply. Example #1 DOTNET example <?php $stack = new DOTNET("mscorlib", "System.Collections.Stack"); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); ?> Note You need to install the .Net runtime on your web server to take advantage of this feature. PHP Documentation Group DOTNET(3)
Related Man Pages
variant_int(3) - php
variant_cat(3) - php
variant_idiv(3) - php
variant_or(3) - php
variant_sub(3) - php
Similar Topics in the Unix Linux Community
DotNetNuke: USer Defined Table 3.5.1 Now Available
DotNetWikiBot Framework 2.51 (Default branch)
DotNetWikiBot Framework 2.52 (Default branch)
DotNetWikiBot Framework 2.6 (Default branch)
DotNetWikiBot: 2.6 released.