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

Class: Model

Source Location: /model/Model.class.php

Class Overview

MojaviObject
   |
   --Model

Model provides a convention for separating business logic from application logic. When using a model you're providing a globally accessible API for other modules to access, which will boost interoperability among modules in your web application.


Author(s):

  • Sean Kerr (skerr@mojavi.org)

Version:

  • $Id: Model.class.php 449 2004-11-24 17:57:22Z seank $

Copyright:

Methods


Inherited Methods

Class: MojaviObject

MojaviObject::toString()
Retrieve a string representation of this object.

Class Details

[line 26]
Model provides a convention for separating business logic from application logic. When using a model you're providing a globally accessible API for other modules to access, which will boost interoperability among modules in your web application.



Tags:

abstract:  
version:  $Id: Model.class.php 449 2004-11-24 17:57:22Z seank $
since:  3.0.0
copyright:  (c) Sean Kerr, http://www.mojavi.org
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]


Class Methods


method getContext [line 47]

Context getContext( )

Retrieve the current application context.



Tags:

return:  The current Context instance.
access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]

method initialize [line 67]

bool initialize( Context $context)

Initialize this model.



Tags:

return:  true, if initialization completes successfully, otherwise false.
access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

Context   $context   The current application context.

[ Top ]


Documentation generated on Tue, 21 Feb 2006 01:45:21 +0900 by phpDocumentor 1.3.0RC5