Yaf_Action_Abstract クラス

(Yaf >=1.0.0)

はじめに

アクションは、Yaf の個別のファイルで定義します (Yaf_Controller_Abstract を参照ください)。 アクションメソッドには Yaf_Action_Abstract クラスも使えます。

Yaf から呼び出すためのエントリポイントが必要なので、 抽象メソッド Yaf_Action_Abstract::execute() をアクションクラスで実装する必要があります。

クラス概要

Yaf_Action_Abstract extends Yaf_Controller_Abstract {
/* プロパティ */
protected $_controller;
/* メソッド */
abstract publicexecute(mixed ...$args): mixed
public getControllerName(): string
/* 継承したメソッド */
protected Yaf_Controller_Abstract::display(string $tpl, array $parameters = ?): bool
public Yaf_Controller_Abstract::forward(string $action, array $paramters = ?): bool
public Yaf_Controller_Abstract::getInvokeArg(string $name): void
public Yaf_Controller_Abstract::initView(array $options = ?): void
public Yaf_Controller_Abstract::redirect(string $url): bool
protected Yaf_Controller_Abstract::render(string $tpl, array $parameters = ?): string
public Yaf_Controller_Abstract::setViewpath(string $view_directory): void
}

プロパティ

_module

_name

_request

_response

_invoke_args

_view

_controller

目次

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top