public function addAction(array $action)
    {
        $actions = $this->getAction();

        $actions[] = $action;

        return $this->setAction($actions);
    }
public function addAction(array $action)
    {
        $actions = $this->getAction();

        $actions[] = $action;

        return $this->setAction($actions);
    }
public function addAction ( array $ action ) { $ actions = $ this -> getAction ( ) ; $ actions [ ] = $ action ; return $ this -> setAction ( $ actions ) ; }
Set an array in the action array.

@param array $action

@return self
Set an array in the action array .