首頁 > 問答 > 主體
為啥要傳入第二個參數$data?直接在getHireDateAttr()方法裡面用$this->data['name']不行嗎?
Imagine Breaker2018-09-06 19:49:49
這個函數呼叫時第二個參數就是$data啊,不然怎麼 取得name值