\CountryPrice_DistributorManagementTool
Controller that allows checking of all information.
- Author: Nicolaas @ sunnysideup .co .nz
Synopsis
class CountryPrice_DistributorManagementTool
extends Controller
{
- // members
- private static array $allowed_actions = ;
- private $distributor = NULL;
- private array $countryArray = ;
- private static array $flag_cache = ;
- // methods
- public void DistributorLabel()
- public void init()
- public void index()
- public void setcountryprice()
- public void setobjectfield()
- public String DistributorTitle()
- public string DistributorFilterList()
- public String Distributors()
- public String AllowSalesTo()
- public String Products()
- public String Currencies()
- private String createTreeNode()
- private String closeTreeNode()
- private String createEditNode()
- private String codeToFlag()
- private Boolean canEditThisObject()
Hierarchy
Extends
- Controller
Members
private
- $allowed_actions
- $countryArray
—
List of Countries that the current member is allowed to see. - $distributor
—
Holds the current distributor, if any - $flag_cache
Methods
private
- canEditThisObject() — turn code into image flag
- closeTreeNode() — returns the opening of a list (<li>Title<ul>)
- codeToFlag() — turn code into image flag
- createEditNode() — returns the opening of a list (<li>Title<ul>)
- createTreeNode() — returns the opening of a list (<li>Title<ul>)
public
- AllowSalesTo() — returns list of Country Fields
- Currencies() — returns list of Currencies with info
- DistributorFilterList()
- DistributorLabel()
- DistributorTitle() — Title for page
- Distributors() — returns list of Distributor Fields
- Products() — returns list of Product Fields
- index()
- init() — determine level of access
- setcountryprice() — NOT CURRENTLY IN USE!!!
- setobjectfield() — update field