class クラス名(){ function __construct(変数, 変数, ...){ // コンストラクタ内で行いたい処理 } }. メソッド名の部分を"__construct"とすると、それが ...
確定! 回上一頁