Grido\Components\Actions\Action::render PHP Méthode

render() public méthode

public render ( mixed $row ) : void
$row mixed
Résultat void
    public function render($row)
    {
        if (!$row || $this->disable && call_user_func_array($this->disable, [$row])) {
            return;
        }
        $element = $this->getElement($row);
        if ($this->customRender) {
            echo call_user_func_array($this->customRender, [$row, $element]);
            return;
        }
        echo $element->render();
    }