所有網頁 圖片 影片 地圖 新聞 網誌搜尋 Gmail 更多 »
最近造訪的群組 | 說明 | 登入
Google 網上論壇首頁
How to make available a feature implementation
目前本群組有太多主題設為優先顯示。要優先顯示這個主題,請將其他主題的這個選項取消。
在處理您的要求時發生錯誤。請再試一次。
標幟
  2 個訊息 - 全部摺疊  -  將全文翻譯為 已翻譯 (查看所有原文)
您要留言的群組是 Usenet 群組。在此群組留言,網際網路上的任何使用者將可以看到您的電郵地址。
您的回覆郵件尚未寄出。
您已成功留言
 
寄件人:
收件人:
副本:
後續追蹤對象:
新增副本 | 新增後續追蹤對象 | 編輯主旨
主旨:
驗證:
為了確認,請輸入您在以下圖片中看到的字元,或輸入您按下存取圖示時所聽到的號碼。 注意聽並輸入您聽到的號碼
 
Hugo Braga  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月6日, 上午2時59分
寄件人: Hugo Braga <hugobr...@gmail.com>
日期: Thu, 5 Nov 2009 10:59:46 -0800 (PST)
當地時間: 2009年11月6日(星期五) 上午2時59分
主旨: How to make available a feature implementation
In my project I needed to get the last violation constraint name
generated by database in order to show custom error messages in view
files. I search for this feature in CakePHP but I didn't find.
Actually, database files have a function called lastError but the
problem with it is sometimes the function returns null and sometimes
the message returned isn't the message with the violation constraint
information.
        I implement the feature mentioned above (I wrote a new function
called getLastViolationConstraint and altered other function) and
created a patch. Since we have a postgres database I just implemented
this feature for this database. Do CakePHP developers intend to
implement this feature or something similar ? If not, how could I make
this feature available ?

Thanks,

Hugo Braga.


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Hugo Braga  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 11月7日, 上午2時28分
寄件人: Hugo Braga <hugobr...@gmail.com>
日期: Fri, 6 Nov 2009 10:28:41 -0800 (PST)
當地時間: 2009年11月7日(星期六) 上午2時28分
主旨: Re: How to make available a feature implementation
I made a mistake. After first review we implemented a generic feature
(it's no more specific to postgres database).
Thanks,

Hugo Braga


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
無其他留言
« 返回討論主題 « 較新的主題     較舊的主題 »

建立群組 - Google 網上論壇 - Google 首頁 - 服務條款 - 隱私權政策
©2009 Google