Php/docs/class.yaf-registry

提供:Dev Guides
< Php
移動先:案内検索

(Yaf >=1.0.0)

はじめに

Yaf_Registry のすべてのメソッドは静的メソッドとして宣言されており、 どこからでもアクセスできます。これを使えば、コードのどこからでも必要に応じて 任意のデータを保存したり取得したりすることができます。


クラス概要


Yaf_Registry {

/* プロパティ */

static $_instance

protected $_entries

/* メソッド */

private __construct ( )

public static del ( string $name ) : void

public static get ( string $name ) : mixed

public static has ( string $name ) : bool

public static set ( string $name , string $value ) : bool

}

プロパティ

_instance
_entries


目次