This repository was archived by the owner on Nov 9, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-57
lines changed Expand file tree Collapse file tree 3 files changed +3
-57
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ Jobeet のゴールの1つはよりターゲットを絞った求人を見つけ
228228 // apps/frontend/config/routing.yml
229229 category:
230230 url: /category/:slug.:sf_format
231- class: sf<propel>Propel</propel><doctrine>Doctrine</doctrine>Route
231+ class: sfPropelRoute
232232 param: { module: category, action: show, sf_format: html }
233233 options: { model: JobeetCategory, type: object }
234234 requirements:
Original file line number Diff line number Diff line change @@ -857,61 +857,6 @@ Web サービスを提供する準備ができたので、アフィリエイト
857857
858858![ アフィリエイトのバックエンド] ( http://www.symfony-project.org/images/jobeet/1_2/16/backend.png )
859859
860- ~ Eメール~ を送信する
861- -------------------
862-
863- アフィリエイトのアカウントが管理者によってのみ変更されるとき、メールは購読を確認にトークンを渡すためにアフィリエイトに送信されます。
864-
865- PHP には [ Swift Mailer] ( http://www.swiftmailer.org/ ) 、[ Zend_Mail] ( http://framework.zend.com/ ) と [ ezcMail] ( http://ezcomponents.org/docs/tutorials/Mail ) のようなメールを送信するためのよいライブラリがたくさんあります。来たる日に他の ~ Zend Framework~ ライブラリを使うので、メールを送信するのに ~ ` Zend_Mail ` ~ を使いましょう。
866-
867- ### Zend Framework のインストールと設定
868-
869- Zend Mail ~ ライブラリ|サードパーティのライブラリ~ は Zend Framework の一部です。Zend Framework のすべては必要ないので symfony フレームワーク自身と並行して必要なパーツだけを ` lib/vendor/ ` ディレクトリにインストールします。
870-
871- 最初に、
872- [ Zend Framework] ( http://framework.zend.com/download/overview ) をダウンロードして ` lib/vendor/Zend/ ` ディレクトリがあるようにファイルを展開します。
873-
874- > ** NOTE**
875- > 次の説明内容は Zend Framework 1.8.0 でテストしました。
876-
877- 次のファイルとディレクトリ以外のすべてを削除してディレクトリをクリーンナップします:
878-
879- * ` Exception.php `
880- * ` Loader/ `
881- * ` Loader.php `
882- * ` Mail/ `
883- * ` Mail.php `
884- * ` Mime/ `
885- * ` Mime.php `
886- * ` Search/ `
887-
888- > ** NOTE**
889- > Eメール送信のために ` Search/ ` ディレクトリは必要ありませんが明日のチュートリアルで必要です。
890-
891- それから、Zend オートローダを登録するシンプルな方法を提供するために次のコードを ` ProjectConfiguration ` クラスに追加します:
892-
893- [php]
894- // config/ProjectConfiguration.class.php
895- class ProjectConfiguration extends sfProjectConfiguration
896- {
897- static protected $zendLoaded = false;
898-
899- static public function registerZend()
900- {
901- if (self::$zendLoaded)
902- {
903- return;
904- }
905-
906- set_include_path(sfConfig::get('sf_lib_dir').'/vendor'.PATH_SEPARATOR.get_include_path());
907- require_once sfConfig::get('sf_lib_dir').'/vendor/Zend/Loader.php';
908- Zend_Loader_Autoloader::getInstance();
909- self::$zendLoaded = true;
910- }
911-
912- // ...
913- }
914-
915860
916861また明日
917862--------
Original file line number Diff line number Diff line change @@ -241,12 +241,13 @@ Or via Subversion with the following command:
241241 $ svn co http://svn.symfony-project.org/plugins/sfFormExtraPlugin/branches/1.3/ plugins/sfFormExtraPlugin
242242
243243プラグインのクラスがロードされるようにするには、次のように ` config/ProjectConfiguration.class.php ` のなかで ` sfFormExtraPlugin ` を有効にしなければなりません。
244+
244245 [php]
245246 // config/ProjectConfiguration.class.php
246247 public function setup()
247248 {
248249 $this->enablePlugins(array(
249- 'sfDoctrinePlugin',
250+ 'sfDoctrinePlugin',
250251 'sfDoctrineGuardPlugin',
251252 'sfFormExtraPlugin'
252253 ));
You can’t perform that action at this time.
0 commit comments