Fix Cs for weblinks backend (#232)

* Update weblinks.php

* Update weblink.php

* Update controller.php
This commit is contained in:
zero-24 2016-06-28 23:05:31 +02:00 committed by Chris Davenport
parent 258f337d59
commit 5270b206cc
3 changed files with 8 additions and 4 deletions

View File

@ -20,7 +20,8 @@ class WeblinksController extends JControllerLegacy
* Method to display a view.
*
* @param boolean $cacheable If true, the view output will be cached
* @param array $urlparams An array of safe url parameters and their variable types, for valid values see {@link JFilterInput::clean()}.
* @param array $urlparams An array of safe url parameters and their variable types,
* for valid values see {@link JFilterInput::clean()}.
*
* @return JControllerLegacy This object to support chaining.
*

View File

@ -19,7 +19,7 @@ class WeblinksModelWeblinks extends JModelList
/**
* Constructor.
*
* @param array An optional associative array of configuration settings.
* @param array $config An optional associative array of configuration settings.
*
* @see JControllerLegacy
* @since 1.6
@ -60,6 +60,9 @@ class WeblinksModelWeblinks extends JModelList
/**
* Method to auto-populate the model state.
*
* @param string $ordering An optional ordering field.
* @param string $direction An optional direction (asc|desc).
*
* @return void
*
* @note Calling getState in this method will result in recursion.

View File

@ -45,7 +45,7 @@ class WeblinksTableWeblink extends JTable
/**
* Overload the store method for the Weblinks table.
*
* @param boolean Toggle whether null values should be updated.
* @param boolean $updateNulls Toggle whether null values should be updated.
*
* @return boolean True on success, false on failure.
*
@ -122,7 +122,7 @@ class WeblinksTableWeblink extends JTable
return false;
}
// check for valid name
// Check for valid name
if (trim($this->title) == '')
{
$this->setError(JText::_('COM_WEBLINKS_ERR_TABLES_TITLE'));