data/TWiki/ClassMethod.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/ClassMethod.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +head	1.1;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.1
    1.12 +date	2006.02.01.12.01.16;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	;
    1.15 +
    1.16 +
    1.17 +desc
    1.18 +@new-topic
    1.19 +@
    1.20 +
    1.21 +
    1.22 +1.1
    1.23 +log
    1.24 +@buildrelease
    1.25 +@
    1.26 +text
    1.27 +@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="1"}%
    1.28 +%META:TOPICPARENT{name="ObjectMethod"}%
    1.29 +A ClassMethod is a method that must be called relative to the containing class object. This normally only applies to the =new= method used to create new object instances. For example,
    1.30 +
    1.31 +---+ package Telecoms
    1.32 +---++ ClassMethod new()
    1.33 +
    1.34 +<verbatim>
    1.35 +my $mobile = new Telecoms();
    1.36 +</verbatim>
    1.37 +or
    1.38 +<verbatim>
    1.39 +my $mobile = Telecoms->new();
    1.40 +</verbatim>
    1.41 +
    1.42 +
    1.43 +__Related Topics:__ DeveloperDocumentationCategory, StaticMethod, ObjectMethod
    1.44 +@