Overview

Packages

  • controller
  • models
  • None

Classes

  • Ajax
  • Cache
  • Employee
  • Setting
  • Overview
  • Package
  • Class

Class Ajax

The Ajax class is the controller used for ajax calls made by javascript.

CI_Controller
Extended by Ajax
Package: controller
Author: Rizwan Ali riz@bitspro.com
Version: 0.01
Since: 2014-04-03
Located at controllers/ajax.php
Methods summary
public string
# get_article( integer $data_id = 0 )

Returns data_id for the article which was selected in the popup for inserting link in to document

Returns data_id for the article which was selected in the popup for inserting link in to document

Parameters

$data_id

Returns

string

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public string
# get_reference( integer $data_id = 0, integer $row = 1 )

Returns refe_id for the reference which was selected in the popup for inserting link in to document

Returns refe_id for the reference which was selected in the popup for inserting link in to document

Parameters

$data_id
$row

Returns

string

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public
# delete_article( string $id = '' )

Mark article as delete in the database

Mark article as delete in the database

Parameters

$id

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public
# delete_index( string $id = '' )

Delete index from database

Delete index from database

Parameters

$id

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public index_id
# insert_index( string $name = '', string $parent = '' )

Insert a new index in to database for particular article

Insert a new index in to database for particular article

Parameters

$name
$parent

Returns

index_id

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public link_id
# insert_reference( )

Add link in the link table to connect reference with article

Add link in the link table to connect reference with article

Returns

link_id

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
public
# update_article_data( )

Updates orignal data field of article in database

Updates orignal data field of article in database

Author

Rizwan Ali riz@bitspro.com

Since

2014-04-03
API documentation generated by ApiGen