mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-09-28 04:59:04 +00:00
53 lines
1.3 KiB
PHP
53 lines
1.3 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* @package Joomla.Administrator
|
||
|
* @subpackage com_weblinks
|
||
|
*
|
||
|
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
|
||
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
defined('_JEXEC') or die;
|
||
|
|
||
|
/**
|
||
|
* Weblinks list controller class.
|
||
|
*
|
||
|
* @package Joomla.Administrator
|
||
|
* @subpackage com_weblinks
|
||
|
* @since 1.6
|
||
|
*/
|
||
|
class WeblinksControllerWeblinks extends JControllerAdmin
|
||
|
{
|
||
|
/**
|
||
|
* Proxy for getModel
|
||
|
*
|
||
|
* @param string $name The model name. Optional.
|
||
|
* @param string $prefix The class prefix. Optional.
|
||
|
* @param array $config The array of possible config values. Optional.
|
||
|
*
|
||
|
* @return object The model.
|
||
|
*
|
||
|
* @since 1.6
|
||
|
*/
|
||
|
public function getModel($name = 'Weblink', $prefix = 'WeblinksModel', $config = array('ignore_request' => true))
|
||
|
{
|
||
|
$model = parent::getModel($name, $prefix, $config);
|
||
|
|
||
|
return $model;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Method to provide child classes the opportunity to process after the delete task.
|
||
|
*
|
||
|
* @param JModelLegacy $model The model for the component
|
||
|
* @param mixed $ids array of ids deleted.
|
||
|
*
|
||
|
* @return void
|
||
|
*
|
||
|
* @since 3.1
|
||
|
*/
|
||
|
protected function postDeleteHook(JModelLegacy $model, $ids = null)
|
||
|
{
|
||
|
}
|
||
|
}
|