Class Laika_Abstract_Model

Description

Implements interfaces:

Abstract Laika_Abstract_Model class.

  • abstract:
  • extends: Laika

Located in /library/core/abstract/Abstract_Model.php (line 23)

Laika
   |
   --Laika_Abstract_Model
Direct descendents
Class Description
Laika_User Laika_User class.
Variable Summary
mixed $accessibles
mixed $created
mixed $id
mixed $model
mixed $table
mixed $updated
Method Summary
static void accessible ()
static void add ()
static void ajax_pagination_link_helper ( $text,  $current,  $page,  $controller)
static void collection (mixed $array)
static void count ()
static void create ()
static void delete (mixed $object)
static void drop ()
static void find (mixed $param, mixed $value)
static void find_with_offset ( $params, mixed $offset, mixed $limit, mixed $param, mixed $value)
static void find_with_offset_order_by (mixed $params, mixed $offset, mixed $limit, mixed $ord)
static void first ()
static void get_map ()
static void last ()
static void link_to ()
static void load (mixed $id)
static void map_to_string (mixed $ignore_id)
static void offset (mixed $offset, mixed $limit)
static object paginate ()
static void pagination_link_helper ( $page,  $current,  $controller)
static void prep_conditions (mixed $params)
static void render_ajax_pagination (mixed $limit, mixed $params, mixed $controller)
static void render_pagination (mixed $limit,  $params,  $controller, mixed $param, mixed $value)
static void total_pages (mixed $limit, mixed $params)
static void update ()
void __construct ()
void created_to_date ()
void created_to_time ()
mixed dget (string $property)
void dset (string $property, mixed $value)
void exists (mixed $conditions)
void updated_to_date ()
void updated_to_time ()
Variables
mixed $accessibles = array() (line 32)
  • access: protected

Redefined in descendants as:
mixed $created (line 35)
  • access: protected

Redefined in descendants as:
mixed $id (line 34)
  • access: protected

Redefined in descendants as:
mixed $model (line 30)
  • todo: May be a good idea to make $table and $model static or class constants to avoid excessive object construction in static funcions...
  • access: protected

Redefined in descendants as:
mixed $table (line 31)
  • access: protected

Redefined in descendants as:
mixed $updated (line 36)
  • access: protected

Redefined in descendants as:
Methods
static method accessible (line 657)

accessible function.

  • access: public
static void accessible ()

Implementation of:
Laika_Interface_Model::accessible()
static method add (line 178)

add function.

  • access: public
static void add ()

Implementation of:
Laika_Interface_Model::add()
static method ajax_pagination_link_helper (line 606)
  • todo: Should this be in a helper utility class?
  • access: public
static void ajax_pagination_link_helper ( $text,  $current,  $page,  $controller)
  • $text
  • $current
  • $page
  • $controller
static method collection (line 639)

collection function.

  • access: public
static void collection (mixed $array)
  • mixed $array

Implementation of:
Laika_Interface_Model::collection()
static method count (line 223)

count function.

  • access: public
static void count ()

Implementation of:
Laika_Interface_Model::count()
static method create (line 196)
  • access: public
static void create ()
static method delete (line 191)

delete function.

  • access: public
static void delete (mixed $object)
  • mixed $object

Implementation of:
Laika_Interface_Model::delete()
static method drop (line 197)
  • access: public
static void drop ()
static method find (line 126)

find function.

  • access: public
static void find (mixed $param, mixed $value)
  • mixed $param
  • mixed $value

Implementation of:
Laika_Interface_Model::find()
static method find_with_offset (line 351)

find_with_offset function.

  • access: public
static void find_with_offset ( $params, mixed $offset, mixed $limit, mixed $param, mixed $value)
  • mixed $param
  • mixed $value
  • mixed $offset
  • mixed $limit
  • $params

Implementation of:
Laika_Interface_Model::find_with_offset()
static method find_with_offset_order_by (line 371)

find_with_offset_order_by function.

  • access: public
static void find_with_offset_order_by (mixed $params, mixed $offset, mixed $limit, mixed $ord)
  • mixed $params
  • mixed $offset
  • mixed $limit
  • mixed $ord
static method first (line 285)

first function.

  • access: public
static void first ()

Implementation of:
Laika_Interface_Model::first()
static method get_map (line 158)

get_map function.

  • access: public
static void get_map ()

Implementation of:
Laika_Interface_Model::get_map()
static method last (line 244)

last function.

  • access: public
static void last ()

Implementation of:
Laika_Interface_Model::last()
static method link_to (line 627)

link_to function.

Outputs a HTML link inside a anchor tag. View Superclass Laika::link_to method for usage.

  • access: public
static void link_to ()

Redefinition of:
Laika::link_to()
link_to function.
static method load (line 101)

load function.

  • access: public
static void load (mixed $id)
  • mixed $id

Implementation of:
Laika_Interface_Model::load()
static method map_to_string (line 142)

map_to_string function.

  • access: public
static void map_to_string (mixed $ignore_id)
  • mixed $ignore_id

Implementation of:
Laika_Interface_Model::map_to_string()
static method offset (line 307)

offset function.

  • access: public
static void offset (mixed $offset, mixed $limit)
  • mixed $offset
  • mixed $limit

Implementation of:
Laika_Interface_Model::offset()
static method paginate (line 409)

paginate function.

  • access: public
static object paginate ()

Implementation of:
Laika_Interface_Model::paginate()
static method pagination_link_helper (line 613)
  • todo: Should this be in a helper utility class?
  • access: public
static void pagination_link_helper ( $page,  $current,  $controller)
  • $page
  • $current
  • $controller
static method prep_conditions (line 391)

prep_conditions function.

  • access: public
static void prep_conditions (mixed $params)
  • mixed $params
static method render_ajax_pagination (line 545)

render_ajax_pagination function.

  • access: public
static void render_ajax_pagination (mixed $limit, mixed $params, mixed $controller)
  • mixed $limit
  • mixed $params
  • mixed $controller
static method render_pagination (line 476)

render_pagination function.

  • access: public
static void render_pagination (mixed $limit,  $params,  $controller, mixed $param, mixed $value)
  • mixed $limit
  • mixed $param
  • mixed $value
  • $params
  • $controller
static method total_pages (line 460)

total_pages function.

  • access: public
static void total_pages (mixed $limit, mixed $params)
  • mixed $limit
  • mixed $params
static method update (line 206)

update function.

  • access: public
static void update ()
Constructor __construct (line 47)

__construct function.

  • access: public
void __construct ()

Redefinition of:
Laika::__construct()
__construct function.
created_to_date (line 669)
  • access: public
void created_to_date ()
created_to_datetime (line 675)
  • access: public
void created_to_datetime ()
created_to_shortdate (line 672)
  • access: public
void created_to_shortdate ()
created_to_time (line 678)
  • access: public
void created_to_time ()
dget (line 81)

dbget function.

  • access: public
mixed dget (string $property)
  • string $property

Implementation of:
Laika_Interface_Model::dget()
dset (line 67)

dbset function.

  • access: public
void dset (string $property, mixed $value)
  • string $property
  • mixed $value

Implementation of:
Laika_Interface_Model::dset()
exists (line 702)

exists function.

  • access: public
void exists (mixed $conditions)
  • mixed $conditions
updated_to_date (line 682)
  • access: public
void updated_to_date ()
updated_to_datetime (line 688)
  • access: public
void updated_to_datetime ()
updated_to_shortdate (line 685)
  • access: public
void updated_to_shortdate ()
updated_to_time (line 691)
  • access: public
void updated_to_time ()

Inherited Methods

Inherited From Laika

Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()
Class Constants

Inherited Constants

Inherited from Laika

Laika::LAIKA_RELEASE
Laika::LAIKA_VERSION

Documentation generated on Sat, 19 May 2012 02:16:53 -0400 by phpDocumentor 1.4.4