CakePHP Cookbook 2.x
) [1] => Array (... As you can see, the Comment arrays only contain the author field (plus the post_id which is needed by CakePHP to map the results). You can also filter the associated Comment You can run any code you wish inside handleException. The code above would simple print ‘Oh noes! ‘ plus the exception message. You can define exception handlers as any type of callback, even an anonymous0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
=> 1 ) ) ) [1] => Array (... As you can see, the Comment arrays only contain the author field (plus the post_id which is needed by CakePHP to map the results). You can also filter the associated Comment You can run any code you wish inside handleException. The code above would simple print ‘Oh noes! ‘ plus the exception message. You can define exception handlers as any type of callback, even an anonymous0 码力 | 820 页 | 2.52 MB | 1 年前3
共 2 条
- 1













