mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
PHPDoc fixes.
This commit is contained in:
parent
7aaf09a6d2
commit
a7d047498e
@ -1875,7 +1875,7 @@ class e_admin_controller
|
||||
*
|
||||
* @param string $title if boolean true - current menu caption will be used
|
||||
* @param boolean $meta add to meta as well
|
||||
* @return e_admin_controller
|
||||
* @return object e_admin_controller
|
||||
*/
|
||||
public function addTitle($title = true, $meta = true)
|
||||
{
|
||||
@ -1932,6 +1932,7 @@ class e_admin_controller
|
||||
// print_a($title);
|
||||
$this->getResponse()->appendTitle($title);
|
||||
if($meta) $this->addMetaTitle($title);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -3072,6 +3073,10 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
$orderField = $this->getSortField();
|
||||
|
||||
$arr = array();
|
||||
/**
|
||||
* @var $id
|
||||
* @var e_tree_model $model
|
||||
*/
|
||||
foreach ($tree->getTree() as $id => $model)
|
||||
{
|
||||
$parent = $model->get($parentField);
|
||||
@ -3461,7 +3466,10 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
unset($classes[$id],$msg);
|
||||
}
|
||||
}
|
||||
$this->handleCommaBatch($selected, $field, array_keys($classes), $trigger[0] === 'ucdelall' ? 'clearAll' : 'addAll');
|
||||
if(method_exists($this, 'handleCommaBatch'))
|
||||
{
|
||||
$this->handleCommaBatch($selected, $field, array_keys($classes), $trigger[0] === 'ucdelall' ? 'clearAll' : 'addAll');
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -4042,7 +4050,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
$searchQuery = $this->fixSearchWildcards($tp->toDB($request->getQuery('searchquery', '')));
|
||||
$searchFilter = $this->_parseFilterRequest($request->getQuery('filter_options', ''));
|
||||
|
||||
var_dump($searchFilter);
|
||||
if(E107_DEBUG_LEVEL == E107_DBG_SQLQUERIES)
|
||||
{
|
||||
e107::getMessage()->addDebug('searchQuery: <b>'.$searchQuery.'</b>');
|
||||
@ -4173,7 +4181,7 @@ class e_admin_controller_ui extends e_admin_controller
|
||||
|
||||
if($var['type'] === 'ip')
|
||||
{
|
||||
$ipSearch = e107::getIpHandler()->ipEncode($searchQuery);
|
||||
$ipSearch = e107::getIPHandler()->ipEncode($searchQuery);
|
||||
if(!empty($ipSearch))
|
||||
{
|
||||
$filter[] = $var['__tableField']." LIKE '%".$ipSearch."%'";
|
||||
@ -5237,7 +5245,7 @@ class e_admin_ui extends e_admin_controller_ui
|
||||
{
|
||||
$tree = $this->getTreeModel();
|
||||
$cnt = $rcnt = 0;
|
||||
$value = e107::getParser()->toDb($value);
|
||||
$value = e107::getParser()->toDB($value);
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
@ -5297,7 +5305,7 @@ class e_admin_ui extends e_admin_controller_ui
|
||||
else
|
||||
{
|
||||
$this->getTreeModel()->addMessageWarning(LAN_UPDATED_FAILED)->setMessages();//"Comma list is empty, aborting."
|
||||
$this->getTreeModel()->addDebug(LAN_UPDATED_FAILED.": Comma list is empty, aborting.")->setMessages();
|
||||
$this->getTreeModel()->addMessageDebug(LAN_UPDATED_FAILED.": Comma list is empty, aborting.")->setMessages();
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -64,7 +64,7 @@ class e_object
|
||||
* @see getId()
|
||||
*
|
||||
* @param string $name
|
||||
* @return e_object
|
||||
* @return object e_object
|
||||
*/
|
||||
public function setFieldIdName($name)
|
||||
{
|
||||
@ -238,7 +238,7 @@ class e_object
|
||||
/**
|
||||
* Update parameter array
|
||||
* @param array $params
|
||||
* @return e_object
|
||||
* @return object e_object
|
||||
*/
|
||||
public function updateParams(array $params)
|
||||
{
|
||||
@ -265,7 +265,7 @@ class e_object
|
||||
*
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @return e_object
|
||||
* @return e_tree_model
|
||||
*/
|
||||
public function setParam($key, $value)
|
||||
{
|
||||
@ -747,7 +747,7 @@ class e_model extends e_object
|
||||
|
||||
/**
|
||||
* Set Predefined data fields in format key => type
|
||||
* @return e_model
|
||||
* @return object e_model
|
||||
*/
|
||||
public function setDataFields($data_fields)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user