joomla utf8 字串處理、非 local 引用其他元件 model

使用 utf8 相關字串處理:123jimport('phputf8.utf8'); utf8\_strlen($str):計算字數長度。 utf8\_substr($str, $offset, $length):截字 在 controller 以外的其他地方載入非屬於本 view 的 model:123$control = New JController();...

Posted on  | 0 Comments