Back to ListModel class

Method getIsEmptyState

public bool
getIsEmptyState
()
Is this an empty state, I.e: no items of this type regardless of the searched for states.
Returns
  • bool
Since
  • 4.0.0
-
  • \Exception
Class: ListModel
Project: Joomla

Method getIsEmptyState - Source code

/**
 * Is this an empty state, I.e: no items of this type regardless of the searched for states.
 *
 * @return boolean
 *
 * @throws Exception
 *
 * @since 4.0.0
 */
public function getIsEmptyState() : bool
{
    return $this->_getListCount($this->getEmptyStateQuery()) === 0;
}