Class: Consumer

Source Location: /CORE/system/classes/consumer/Consumer.php

Class Consumer

Class Overview

This class is a wrapper that should not be instantiated! It is a simple container that is returned by the

.

Located in /CORE/system/classes/consumer/Consumer.php [line 41]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: Consumer.php,v 1.7 2008/09/21 14:46:47 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
Consumer   Consumer()  
array   getAlias()  
String   getDomainName()   Get the Domain for this Consumer.
int   getID()   Returns the ID for this Consumer.
string   getLanguage()   Returns th language for this community if configured, otherwise null.
String   getMaintenanceFilename()   Returns the Filename where this Consumer saves its Maintenance Message.
String   getMaintenanceHTML()   Get the HTML that should be displayed if the Consumer is deactivated.
void   getPath()   Return the base path of this consumer.
void   isActivated()   Return whether this Consumer is activated or not.

[ Top ]
Methods
Constructor Consumer  [line 56]

  Consumer Consumer( $domain, $values, $alias  )

Parameters:
   $domain: 
   $values: 
   $alias: 


[ Top ]
getAlias  [line 86]

  array getAlias( )


API Tags:
Return:  an Array with all Alias Names for this Consumer


[ Top ]
getDomainName  [line 79]

  String getDomainName( )

Get the Domain for this Consumer.


API Tags:
Return:  the Domain Name


[ Top ]
getID  [line 71]

  int getID( )

Returns the ID for this Consumer.


API Tags:
Return:  the Consumer ID


[ Top ]
getLanguage  [line 127]

  string getLanguage( )

Returns th language for this community if configured, otherwise null.


API Tags:
Return:  the locale or null


[ Top ]
getMaintenanceFilename  [line 101]

  String getMaintenanceFilename( )

Returns the Filename where this Consumer saves its Maintenance Message.


API Tags:
Return:  the Filename for the Maintenance HTML


[ Top ]
getMaintenanceHTML  [line 109]

  String getMaintenanceHTML( )

Get the HTML that should be displayed if the Consumer is deactivated.


API Tags:
Return:  the HTML Message


[ Top ]
getPath  [line 118]

  void getPath( )

Return the base path of this consumer.



[ Top ]
isActivated  [line 93]

  void isActivated( )

Return whether this Consumer is activated or not.



[ Top ]