Prado\Web\UI\WebControls\TDataList::createEmptyContent PHP Method

createEmptyContent() protected method

Creates empty datalist content.
protected createEmptyContent ( )
    protected function createEmptyContent()
    {
        if (($classPath = $this->getEmptyRenderer()) !== '') {
            $this->getControls()->add(Prado::createComponent($classPath));
        } else {
            if ($this->_emptyTemplate !== null) {
                $this->_emptyTemplate->instantiateIn($this);
            }
        }
    }
TDataList