intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Tạo mạng xã hội với PHP - part 20

Chia sẻ: 123 321 | Ngày: | Loại File: PDF | Số trang:10

51
lượt xem
6
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Profiles and Statuses public function addTemplateBit( $tag, $bit, $replacements=array() ) { if( strpos( $bit, 'views/' ) === false ) { $bit = 'views/' . $this-registry-getSetting('view') . '/ templates/' . $bit; } $this-page-addTemplateBit( $tag, $bit, $replacements ); } As mentioned above, we need to take this parameter in the method in the page object; this method also needs to be changed to assign both the template bit and the replacements array with the template tag, and not just assign the template bit with the template tag, as it previously did. This can be achieved by putting the template bit and replacements array...

Chủ đề:
Lưu

Nội dung Text: Tạo mạng xã hội với PHP - part 20

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2