Skip to content

icms_core_ObjectHandler

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_core_ObjectHandler

Abstract object handler class.

This class is an abstract class of handler classes that are responsible for providing data access mechanisms to the data source of its corresponsing data objects

  • Class name: icms_core_ObjectHandler
  • Namespace:
  • This is an abstract class

Properties

$db

public \icms_db_legacy_Database $db

holds referenced

  • Visibility: public

Methods

__construct

mixed icms_core_ObjectHandler::__construct(\icms_db_legacy_Database db)

called from child classes only

  • Visibility: public

Arguments

  • db icms_db_legacy_Database - <p>reference to db</p>

create

mixed icms_core_ObjectHandler::create()

creates a new object

  • Visibility: public
  • This method is abstract.

get

mixed icms_core_ObjectHandler::get(int int_id)

gets a value object

  • Visibility: public
  • This method is abstract.

Arguments

  • int_id int

insert

mixed icms_core_ObjectHandler::insert(object object)

insert/update object

  • Visibility: public
  • This method is abstract.

Arguments

  • object object

delete

mixed icms_core_ObjectHandler::delete(object object)

delete object from database

  • Visibility: public
  • This method is abstract.

Arguments

  • object object
Clone this wiki locally