Prado\Data\ActiveRecord\Scaffold\TScaffoldSearch::bubbleEvent PHP Метод

bubbleEvent() публичный Метод

Sets the SearchCondition of the TScaffoldListView as the search terms given by the text of the search text box.
public bubbleEvent ( $sender, $param )
    public function bubbleEvent($sender, $param)
    {
        if (strtolower($param->getCommandName()) === 'search') {
            if (($list = $this->getListView()) !== null) {
                $list->setSearchCondition($this->createSearchCondition());
                return false;
            }
        }
        $this->raiseBubbleEvent($this, $param);
        return true;
    }