PureMVC Framework for haXe: API Documentation
Back | Index
interface org.puremvc.haxe.interfaces.IModel

The interface definition for a PureMVC Model.

In PureMVC, IModel implementors provide access to IProxy objects by named lookup.

An IModel assumes these responsibilities:

function hasProxy(proxyName : String) : Bool
Check if a Proxy is registered
function registerProxy(proxy : IProxy) : Void
Register an IProxy instance with the Model.
function removeProxy(proxyName : String) : IProxy
Remove an IProxy instance from the Model.
function retrieveProxy(proxyName : String) : IProxy
Retrieve an IProxy instance from the Model.
Back | Index