public function listRefresh($definition = null)
    {
        if (!count($this->listWidgets)) {
            $this->makeLists();
        }

        if (!$definition || !isset($this->listDefinitions[$definition])) {
            $definition = $this->primaryDefinition;
        }

        return $this->listWidgets[$definition]->onRefresh();
    }
public function listRefresh($definition = null)
    {
        if (!count($this->listWidgets)) {
            $this->makeLists();
        }

        if (!$definition || !isset($this->listDefinitions[$definition])) {
            $definition = $this->primaryDefinition;
        }

        return $this->listWidgets[$definition]->onRefresh();
    }
public function listRefresh ( $ definition = null ) { if ( ! count ( $ this -> listWidgets ) ) { $ this -> makeLists ( ) ; } if ( ! $ definition || ! isset ( $ this -> listDefinitions [ $ definition ] ) ) { $ definition = $ this -> primaryDefinition ; } return $ this -> listWidgets [ $ definition ] -> onRefresh ( ) ; }
Refreshes the list container only, useful for returning in custom AJAX requests.
@param  string $definition Optional list definition.
@return array The list element selector as the key, and the list contents are the value.
Refreshes the list container only useful for returning in custom AJAX requests .