CodeGen
[ class tree: CodeGen ] [ index: CodeGen ] [ all elements ]

Class: CodeGen_Tools_Platform

Source Location: /CodeGen-1.0.7/CodeGen/Tools/Platform.php

Class Overview


A helper class for platform management


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Hartmut Holzgraefe

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
A helper class for platform management


[ Top ]


Class Variables

$platforms = array()

[line 41]

The supported platforms are collected here
  • Var: the platform short names
  • Access: protected

Type:   array


[ Top ]



Method Detail

__construct (Constructor)   [line 49]

CodeGen_Tools_Platform __construct( string|array $names)

Constructor gets a list of names or "all"
  • Access: public

Parameters:

string|array   $names     names as comma separated string or array

[ Top ]

count   [line 117]

int count( )

Count the number of supported platforms
  • Return: platform count
  • Access: public

[ Top ]

test   [line 89]

bool test( string $name)

Test for a platform shortname
  • Return: true if supported else false
  • Access: public

Parameters:

string   $name     shortname

[ Top ]


Documentation generated on Mon, 27 Sep 2010 12:00:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.