Changeset 3167:9b0e5988c0eb for inc/core/class.dc.postmedia.php
- Timestamp:
- 02/11/16 15:35:39 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.postmedia.php
r2566 r3167 78 78 $strReq .= $params['sql']; 79 79 } 80 //echo $strReq; exit; 80 81 81 $rs = $this->con->select($strReq); 82 82 … … 87 87 Attaches a media to a post. 88 88 89 @param post_id <b>integer</b> Post ID89 @param post_id <b>integer</b> Post ID 90 90 @param media_id <b>integer</b> Optionnal media ID 91 @param link_type <b>string</b> Optionnal link type (default: attachment) 91 92 */ 92 93 public function addPostMedia($post_id,$media_id,$link_type='attachment') … … 113 114 Detaches a media from a post. 114 115 115 @param post_id <b>integer</b> Post ID116 @param post_id <b>integer</b> Post ID 116 117 @param media_id <b>integer</b> Optionnal media ID 118 @param link_type <b>string</b> Optionnal link type 117 119 */ 118 120 public function removePostMedia($post_id,$media_id,$link_type=null)
Note: See TracChangeset
for help on using the changeset viewer.