phpDocumentor openbiz.bin.service
[ class tree: openbiz.bin.service ] [ index: openbiz.bin.service ] [ all elements ]

Class: accessService

Source Location: /service/accessService.php

Class accessService

Class Overview

accessService class is the plug-in service of handling role based view access control

Located in /service/accessService.php [line 43]



		
				Author(s):
		
  • Rocky Swen
API Tags:
Access:  public

Information Tags:
Copyright:  Copyright (c) 2005-2009, Rocky Swen

Methods

[ Top ]
Method Summary
void   __construct()   Initialize accessService with xml array metadata
boolean   AllowViewAccess()   Allow view access
EasyView|null   GetMatchView()   Get match view
void   ReadMetadata()   Read array meta data, and store to meta object

[ Top ]
Methods
Constructor __construct  [line 68]

  void __construct( array &$xmlArr  )

Initialize accessService with xml array metadata

Parameters:
array   $xmlArr: 


[ Top ]
AllowViewAccess  [line 92]

  boolean AllowViewAccess( string $viewName, [ $role = null]  )

Allow view access

Parameters:
string   $viewName: 
   $role: 

API Tags:
Access:  public


[ Top ]
GetMatchView  [line 116]

  EasyView|null GetMatchView( string $viewName  )

Get match view

Parameters:
string   $viewName: 

API Tags:
Access:  protected


[ Top ]
ReadMetadata  [line 79]

  void ReadMetadata( array &$xmlArr  )

Read array meta data, and store to meta object

Parameters:
array   $xmlArr: 

API Tags:
Access:  protected


[ Top ]

Documentation generated on Tue, 22 Dec 2009 03:02:29 -0800 by phpDocumentor 1.3.0RC3