Swat/SwatWidgetCellRenderer.php
public function getMessages($replicator_id = null)
    {
        $messages = array();

        if ($replicator_id !== null) {
            $messages = $this->getClonedWidget($replicator_id)->getMessages();
        } elseif ($this->replicator_id !== null) {
            $messages = $this->getClonedWidget(
                $this->replicator_id
            )->getMessages();
        }

        return $messages;
    }
public function getMessages($replicator_id = null)
    {
        $messages = array();

        if ($replicator_id !== null) {
            $messages = $this->getClonedWidget($replicator_id)->getMessages();
        } elseif ($this->replicator_id !== null) {
            $messages = $this->getClonedWidget(
                $this->replicator_id
            )->getMessages();
        }

        return $messages;
    }
public function getMessages ( $ replicator_id = null ) { $ messages = array ( ) ; if ( $ replicator_id !== null ) { $ messages = $ this -> getClonedWidget ( $ replicator_id ) -> getMessages ( ) ; } elseif ( $ this -> replicator_id !== null ) { $ messages = $ this -> getClonedWidget ( $ this -> replicator_id ) -> getMessages ( ) ; } return $ messages ; }
Gathers all messages from the widget of this cell renderer for the given
replicator id

@param mixed $replicator_id an optional replicator id of the row to
gather messages from. If no replicator id
is specified, the current replicator_id is
used.

@return array an array of {@link SwatMessage} objects.
Gathers all messages from the widget of this cell renderer for the given replicator id