{"id":1574,"date":"2016-09-05T11:44:11","date_gmt":"2016-09-05T03:44:11","guid":{"rendered":"http:\/\/www.youthtribe.com\/?page_id=1574"},"modified":"2019-01-19T22:25:49","modified_gmt":"2019-01-19T14:25:49","slug":"phalcon%e7%9b%b8%e5%85%b3%e9%a1%b5%e9%9d%a2%e6%b1%87%e6%80%bb","status":"publish","type":"page","link":"http:\/\/www.youthtribe.com\/phalcon%e7%9b%b8%e5%85%b3%e9%a1%b5%e9%9d%a2%e6%b1%87%e6%80%bb","title":{"rendered":"phalcon\u76f8\u5173\u9875\u9762\u6c47\u603b"},"content":{"rendered":"

Phalcon Developer Tools \u4f7f\u7528\u8bf4\u660e<\/p>\n

https:\/\/docs.phalconphp.com\/en\/3.4\/devtools-usage<\/a><\/p>\n

phalcon\u4e2d\u6587\u6587\u6863\u5730\u5740\uff1a<\/p>\n

https:\/\/docs.phalconphp.com\/en\/3.4<\/a><\/p>\n

Volt\u6a21\u677f\u5f15\u64ce<\/strong><\/p>\n

https:\/\/docs.phalconphp.com\/zh\/3.4\/volt<\/a><\/p>\n

\u6a21\u578b\u67e5\u627e<\/p>\n

https:\/\/docs.phalconphp.com\/zh\/3.2\/db-models#finding-records<\/a><\/p>\n

composer<\/p>\n

\u521b\u5efa\u4e00\u4e2a\u5de5\u7a0b
\nphalcon project xx.youthtribe.com<\/p>\n

\u521b\u5efa\u4e00\u4e2a\u63a7\u5236\u5668
\nphalcon controller\u00a0User
\n{% extends “\/layouts\/user\/user.volt” %}<\/p>\n

\u751f\u6210\u6240\u6709\u6570\u636e\u8868\u6a21\u578b<\/p>\n

phalcon all-models<\/p>\n


\n

\u5982\u4f55\u8f93\u51famodel\u7684save\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n

 $pay_order = new PayOrders();\n \n $pay_order->body = BODY;\n $pay_order->subject = SUBJECT;\n $r = $pay_order->save();\n if(!$r){\n $msgs = $pay_order->getMessages();\n foreach ($msgs as $msg ){\n echo $msg .\"<br>\";\n }\n die();\n }<\/pre>\n","protected":false},"excerpt":{"rendered":"

Phalcon Developer Tools \u4f7f\u7528\u8bf4\u660e https:\/\/docs.phalconphp.com\/en\/3.4\/devtools-usage phalcon\u4e2d\u6587\u6587\u6863\u5730\u5740\uff1a https:\/\/docs.phalconphp.com\/en\/3.4 Volt\u6a21\u677f\u5f15\u64ce https:\/\/docs.phalconphp.com\/zh\/3.4\/volt \u6a21\u578b\u67e5\u627e https:\/\/docs.phalconphp.com\/zh\/3.2\/db-models#finding-records composer \u521b\u5efa\u4e00\u4e2a\u5de5\u7a0b phalcon project xx.youthtribe.com \u521b\u5efa\u4e00\u4e2a\u63a7\u5236<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/pages\/1574"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1574"}],"version-history":[{"count":13,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/pages\/1574\/revisions"}],"predecessor-version":[{"id":1814,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/pages\/1574\/revisions\/1814"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}