Class mosComponentAdminManager

Description

Component base controller for admin side

Since 4.6 version a new way to develop components based in MVC pattern was included, this requires that each component should to create a instance from mosComponentAdminManager to admin(backend) side.

  • access: public

Located in /includes/cmtclasses.php (line 356)

mosComponentManager
   |
   --mosComponentAdminManager
Variable Summary
 string $act
 mixed $cfid
 int $currid
 int $limit
 array $order
 string $task
Method Summary
 void check_selection (string $text)
 string getAction ()
 mixed newHTMLClassCheck (string $name, object reference &$controller, int $total_items, int $clist)
Variables
string $act = '' (line 358)
  • var: action executed
mixed $cfid = 0 (line 366)
  • var: id or id's of selected objects in admin list
int $currid = 0 (line 370)
  • var: first element of cfid
int $limit = 0 (line 364)
  • var: quantity of elements to show in list
int $limitstart = 0 (line 362)
  • var: init offset to admin list
array $order = 0 (line 368)
  • var: order positions for all items
string $task = '' (line 360)
  • var: task executed

Inherited Variables

Inherited from mosComponentManager

mosComponentManager::$magic_quotes_restore
mosComponentManager::$magic_quotes_value
mosComponentManager::$option
mosComponentManager::$plugin_name
mosComponentManager::$plugin_version
Methods
check_selection (line 414)

Checks that at least one item selected

  • access: public
void check_selection (string $text)
  • string $text: alert message
getAction (line 427)

returns the class name from the current action

  • return: class name from the current action
  • access: public
string getAction ()
newHTMLClassCheck (line 444)

Loads and returns a class for render HTML (view Object)

This function load a class for view html an associated controller is passed

  • return: a instance to the HTML class, FALSE if the class is not founded
  • access: public
mixed newHTMLClassCheck (string $name, object reference &$controller, int $total_items, int $clist)
  • string $name: HTML view class name
  • object reference &$controller: to controller object
  • int $total_items
  • int $clist: list of items to show

Inherited Methods

Inherited From mosComponentManager

 mosComponentManager::checkCallable()

Documentation generated on Mon, 05 May 2008 16:17:58 +0400 by phpDocumentor 1.4.0