メモ

EC-CUBE ログイン時に前回ログイン時のカート情報を読み込む

※参考にしないで! とりあえずデバッグは下記コード。 data/logs/site.logに出力される。 GC_Utils_Ex::gfDebugLog('xxx'); 1)ユーザー情報(dtb_customer)にフィールド追加 dtb_customerカートセッション情報を追加できるフィールドを追加 session_cart …

【メモ】Cakephp FormHelper createにアンカーをつけたい

Cakephp FormHelper createにアンカーをつけたい echo $this->Form->create('Model', array('url'=>array($model['Model']['id'], '#'=>'anchor')));

【メモ】英文中に出てくるe.g.はfor example

英文中に出てくるe.g.はfor exampleの略らしい。

【メモ】ファイルの拡張しを一括変更するコマンド

for name in *.html do mv $name ${name%.html}.php; done forの使い方 for 変数 in 値リスト do 処理 done shellの変数展開 ${parameter%word} 最短後置パターンの削除 http://qiita.com/bsdhack/items/597eb7daee4a8b3276ba

【メモ】phpのクラス一覧、プロパティ一覧

get_class_methods($this); get_class_vars(get_class($this));