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

Class: GliffyAccount

Source Location: /GliffyAccount.php

Class Overview


Represents information about a Gliffy accont.


Variables

Methods



Class Details

[line 7]
Represents information about a Gliffy accont.



[ Top ]


Class Variables

$expiration_date =

[line 37]

Expiration date of the account, as a UNIX timestamp



Tags:

access:  public

Type:   integer


[ Top ]

$id =

[line 28]

The id of the account, not guaranteed to be stable



Tags:

access:  public

Type:   integer


[ Top ]

$max_users =

[line 31]

The maximum number of users allowed in this account



Tags:

access:  public

Type:   integer


[ Top ]

$may_create_private_diagrams =

[line 17]

Answers the question: Can this account create private diagrams?

Basic accounts are only allowed to create public diagrams. It's important to check for this value before you start creating diagrms because you should notify your users if they are creating a public diagrams. See the best practices document for more infromation: http://www.gliffy.com/developer/best-practices.shtml




Tags:

access:  public

Type:   mixed


[ Top ]

$name =

[line 22]

The name of the account



Tags:

access:  public

Type:   string


[ Top ]

$terms =

[line 34]

True if the account has agreed to the terms of service



Tags:

access:  public

Type:   boolean


[ Top ]

$type =

[line 25]

The type of the account. XSD has possible values



Tags:

access:  public

Type:   string


[ Top ]

$users =

[line 40]

The list of users in the account as @link GliffyUser objects (this may be null if the request didn't ask for them)



Tags:

access:  public

Type:   array


[ Top ]



Class Methods


static method from_response_xml [line 44]

static void from_response_xml( $response)



Tags:

access:  public


Parameters:

   $response  

[ Top ]

constructor __construct [line 63]

GliffyAccount __construct( $name, $type, $id, $max_users, $terms, $expiration_date, $users)



Parameters:

   $name  
   $type  
   $id  
   $max_users  
   $terms  
   $expiration_date  
   $users  

[ Top ]


Documentation generated on Wed, 01 Apr 2009 18:11:08 -0700 by phpDocumentor 1.4.1