[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/ -> AkBaseModel.php (summary)

(no description)

Author: Bermi Ferrer
Copyright: Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org
License: GNU Lesser General Public License
File Size: 184 lines (6 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 3 files
 AkObject.php
 Ak.php
 AkInflector.php

Defines 1 class

AkBaseModel:: (8 methods):
  getModelName()
  setModelName()
  _getModelName()
  getParentModelName()
  setParentModelName()
  t()
  _getIncludedModelNames()
  ak_show_sql_debug()


Class: AkBaseModel  - X-Ref

This is the base class for all sort of models (Mailers or Active records)
It handles the naming conventions for models, as in PHP4 all methods appear lowercased
we to work around to find the real case of the methos to apply conventions.

See also <AkActiveRecord> and <AkActionMailer> as those are the ones you will usually inherit from

getModelName()   X-Ref
Returns current model name


setModelName($model_name = null)   X-Ref
Sets current model name

Use this option if the model name can't be guessed by the Active Record

_getModelName($class_name)   X-Ref
This method will nicely handle model names even  on
PHP where class names are all lowercased


getParentModelName()   X-Ref
No description

setParentModelName($model_name = null)   X-Ref
No description

t($string, $array = null)   X-Ref
No description

_getIncludedModelNames()   X-Ref
No description

ak_show_sql_debug($message)   X-Ref
No description



Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6