Completed
Branch master (cc230e)
by Fernando
02:32
created
classes/class-accommodation.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -414,6 +414,7 @@  discard block
 block discarded – undo
414 414
 
415 415
 	/**
416 416
 	 * Does a multine search
417
+	 * @param string $haystack
417 418
 	 */	
418 419
 	public function multineedle_stripos($haystack, $needles, $offset=0) {
419 420
 		$found = false;
@@ -664,6 +665,7 @@  discard block
 block discarded – undo
664 665
 
665 666
 	/**
666 667
 	 * Set the team memberon each item.
668
+	 * @param boolean $team_members
667 669
 	 */
668 670
 	public function set_team_member($id,$team_members) {
669 671
 
@@ -675,6 +677,7 @@  discard block
 block discarded – undo
675 677
 
676 678
 	/**
677 679
 	 * Set the safari brand
680
+	 * @param boolean $safari_brands
678 681
 	 */
679 682
 	public function set_safari_brands($id,$safari_brands) {
680 683
 		foreach($safari_brands as $safari_brand){
@@ -1028,6 +1031,9 @@  discard block
 block discarded – undo
1028 1031
 		}
1029 1032
 	}
1030 1033
 
1034
+	/**
1035
+	 * @return boolean
1036
+	 */
1031 1037
 	function set_term($id=false,$name=false,$taxonomy=false,$parent=false){
1032 1038
 		if(!$term = term_exists($name, $taxonomy))
1033 1039
         {
@@ -1152,6 +1158,11 @@  discard block
 block discarded – undo
1152 1158
         }	
1153 1159
         return 	false;
1154 1160
 	}
1161
+
1162
+	/**
1163
+	 * @param string $url
1164
+	 * @param string $thumb
1165
+	 */
1155 1166
 	public function attach_external_image2( $url = null, $post_id = null, $thumb = null, $filename = null, $post_data = array() ) {
1156 1167
 	
1157 1168
 		if ( !$url || !$post_id ) { return new WP_Error('missing', "Need a valid URL and post ID..."); }
Please login to merge, or discard this patch.
classes/class-connect-accommodation.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -207,6 +207,7 @@
 block discarded – undo
207 207
 
208 208
 	/**
209 209
 	 * format the array
210
+	 * @param string $key
210 211
 	 */
211 212
 	public function format_array($array,$key){
212 213
 		$new_array = array();
Please login to merge, or discard this patch.
classes/class-destination.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -345,6 +345,7 @@  discard block
 block discarded – undo
345 345
 
346 346
 	/**
347 347
 	 * Does a multine search
348
+	 * @param string $haystack
348 349
 	 */	
349 350
 	public function multineedle_stripos($haystack, $needles, $offset=0) {
350 351
 		$found = false;
@@ -549,6 +550,7 @@  discard block
 block discarded – undo
549 550
 
550 551
 	/**
551 552
 	 * Set the team memberon each item.
553
+	 * @param boolean $team_members
552 554
 	 */
553 555
 	public function set_team_member($id,$team_members) {
554 556
 
@@ -616,6 +618,7 @@  discard block
 block discarded – undo
616 618
 
617 619
 	/**
618 620
 	 * Saves the room data
621
+	 * @param string $meta_key
619 622
 	 */
620 623
 	public function set_travel_info($data,$id,$meta_key) {
621 624
 
Please login to merge, or discard this patch.
classes/class-tours.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -552,6 +552,7 @@
 block discarded – undo
552 552
 
553 553
 	/**
554 554
 	 * A loop which runs through each leg on the tour.
555
+	 * @param boolean $importable_content
555 556
 	 */
556 557
 	public function process_itineraries($data,$id,$importable_content) {
557 558
 		$day_counter = 1;
Please login to merge, or discard this patch.
classes/lsx-banners-integration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -222,6 +222,9 @@
 block discarded – undo
222 222
 	  }
223 223
 	}	
224 224
 
225
+	/**
226
+	 * @param string $url
227
+	 */
225 228
 	public function attach_external_image2( $url = null, $post_data = array() ) {
226 229
 	
227 230
 		if ( !$url ) { return new WP_Error('missing', "Need a valid URL"); }
Please login to merge, or discard this patch.