public function getActions() { $actions = array(); foreach ($this->attributes->actions as $action) { $actions[] = $action; } return $actions; }