Prado\Web\UI\ActiveControls\TActiveTableCell::addAttributesToRender PHP Метод

addAttributesToRender() защищенный Метод

Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control if the event handler for the {@link onCellSelected OnCellSelected} event is set.
protected addAttributesToRender ( $writer )
    protected function addAttributesToRender($writer)
    {
        parent::addAttributesToRender($writer);
        $writer->addAttribute('id', $this->getClientID());
        if ($this->hasEventHandler('OnCellSelected')) {
            $this->getActiveControl()->registerCallbackClientScript($this->getClientClassName(), $this->getPostBackOptions());
        }
    }