Changeset 631892
- Timestamp:
- 11/29/2012 05:36:39 PM (13 years ago)
- Location:
- integrator3/trunk
- Files:
-
- 6 edited
-
integrator.php (modified) (41 diffs)
-
integrator/api.php (modified) (18 diffs)
-
integrator/curl.php (modified) (28 diffs)
-
integrator/helper.php (modified) (7 diffs)
-
integrator/uri.php (modified) (34 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
integrator3/trunk/integrator.php
r624228 r631892 6 6 * @copyright 2009 - 2012 Go Higher Information Services. All rights reserved. 7 7 * @license ${p.PROJECT_LICENSE} 8 * @version 3.0. 6 ( $Id: integrator.php 119 2012-11-07 17:13:30Z steven_gohigher $ )8 * @version 3.0.7 ( $Id: integrator.php 142 2012-11-28 02:28:39Z steven_gohigher $ ) 9 9 * @author Go Higher Information Services 10 10 * @since 3.0.0 … … 19 19 Author: Go Higher Information Services 20 20 Author URI: https://www.gohigheris.com/ 21 Version: 3.0. 621 Version: 3.0.7 22 22 */ 23 23 24 define( 'INTEGRATOR_VERSION', "3.0. 6" );24 define( 'INTEGRATOR_VERSION', "3.0.7" ); 25 25 26 26 /** 27 27 * Integrator Class 28 * @version 3.0. 628 * @version 3.0.7 29 29 * 30 30 * @since 3.0.0 … … 41 41 * Constructor method 42 42 * @access public 43 * @version 3.0. 643 * @version 3.0.7 44 44 * 45 45 * @since 3.0.0 … … 82 82 add_action( 'admin_enqueue_scripts', array( &$this, 'admin_jscript' ) ); 83 83 84 // If we aren't active then don't try doing redirect / user functions 85 if (! $this->_is_active() ) return; 86 84 87 add_action( 'template_redirect', array( &$this, 'site_intlink_redirect' ), 0, 0 ); 85 88 add_action( 'set_logged_in_cookie', array( &$this, 'site_logged_in_cookie' ), 10, 1 ); … … 104 107 * Initializes in admin 105 108 * @access public 106 * @version 3.0. 6109 * @version 3.0.7 107 110 * 108 111 * @since 3.0.0 … … 118 121 * Create the meta box for the Integrated Link admin area 119 122 * @access public 120 * @version 3.0. 6123 * @version 3.0.7 121 124 * 122 125 * @since 3.0.0 … … 144 147 * Handles the Integrated Link field in admin area and sets it to meta data 145 148 * @access public 146 * @version 3.0. 6149 * @version 3.0.7 147 150 * @param integer - $post_id: the post id passed by admin area 148 151 * @param array - $post: contains description of the post … … 188 191 * Place holder for adding javascript to the admin header 189 192 * @access public 190 * @version 3.0. 6193 * @version 3.0.7 191 194 * 192 195 * @since 3.0.0 … … 201 204 * Generates the menu item 202 205 * @access public 203 * @version 3.0. 6206 * @version 3.0.7 204 207 * 205 208 * @since 3.0.0 … … 214 217 * Renders and handles the options page for the Integrator 215 218 * @access public 216 * @version 3.0. 6219 * @version 3.0.7 217 220 * 218 221 * @since 3.0.0 … … 261 264 * Method to grab the cnxn pages from the Integrator 262 265 * @access public 263 * @version 3.0. 6266 * @version 3.0.7 264 267 * 265 268 * @return array … … 289 292 * Method to get a route from the Integrator 290 293 * @access public 291 * @version 3.0. 6294 * @version 3.0.7 292 295 * 293 296 * @return result of API call … … 310 313 * Intercepts calls for the intlink post type and redirects 311 314 * @access public 312 * @version 3.0. 6315 * @version 3.0.7 313 316 * 314 317 * @since 3.0.0 … … 395 398 * Grabs the logged in cookies when passed through the set_logged_in_cookie action in WP 396 399 * @access public 397 * @version 3.0. 6400 * @version 3.0.7 398 401 * @param string - $cookie: the value of the set cookie 399 402 * … … 410 413 * Action handler for logging into the site 411 414 * @access public 412 * @version 3.0. 6415 * @version 3.0.7 413 416 * @param string - $redirect_to: the redirect url 414 417 * @param bool - $isset: if the $redirect has been sent back (login started) … … 459 462 * Action handler for logging out and redirecting to Integrator 460 463 * @access public 461 * @version 3.0. 6464 * @version 3.0.7 462 465 * 463 466 * @since 3.0.0s … … 523 526 * Perform actual deletion 524 527 * @access public 525 * @version 3.0. 6528 * @version 3.0.7 526 529 * @param integer - $user_id: the user id of the user we just deleted in WP 527 530 * … … 548 551 * Grab a copy of the user before we delete them 549 552 * @access public 550 * @version 3.0. 6553 * @version 3.0.7 551 554 * @param integer - $user_id: contains the user id of the user to delete 552 555 * … … 564 567 * Update user information on Integrator 565 568 * @access public 566 * @version 3.0. 6569 * @version 3.0.7 567 570 * @param integer - $user_id: id of user 568 571 * @param array - $post: the original data of user … … 592 595 * Validates user information prior to saving 593 596 * @access public 594 * @version 3.0. 6597 * @version 3.0.7 595 598 * @param object - $errors: (reference) WP_Error object 596 599 * @param boolean - $update: if this is an update then true … … 643 646 * Permits getting of variables 644 647 * @access public 645 * @version 3.0. 6648 * @version 3.0.7 646 649 * @param string - $var: the name of the variable to get 647 650 * @param mixed - $default: the default value if not set … … 659 662 * Permits setting of variables 660 663 * @access public 661 * @version 3.0. 6664 * @version 3.0.7 662 665 * @param string - $var: the name of the variable to set 663 666 * @param mixed - $value: the value to set … … 684 687 * Easy wrapper for pinging Integrator 685 688 * @access private 686 * @version 3.0. 6689 * @version 3.0.7 687 690 * @param boolean - $updated: if we are updating settings, set to true to grab from POST 688 691 * … … 699 702 * Convenient file includer 700 703 * @access private 701 * @version 3.0. 6704 * @version 3.0.7 702 705 * 703 706 * @since 3.0.0 … … 731 734 732 735 /** 736 * Method to check to see if we are active or not 737 * @access private 738 * @version 3.0.7 739 * 740 * @return boolean 741 * @since 3.0.7 742 */ 743 private function _is_active() 744 { 745 $check = array( 'url', 'apiusername', 'apipassword', 'apisecret', 'cnxnid' ); 746 $active = true; 747 748 foreach ( $check as $item ) { 749 $value = get_option( 'integrator_' . $item ); 750 if ( empty( $value ) ) { 751 $active = false; 752 break; 753 } 754 } 755 756 return (bool) $active; 757 } 758 759 760 /** 733 761 * Easy wrapper for updating settings on the Integrator 734 762 * @access private 735 * @version 3.0. 6763 * @version 3.0.7 736 764 * @param boolean - $updated: if we are updating settings, set to true to grab from POST 737 765 * … … 750 778 } 751 779 752 update_option( 'integrator_cnxnid', $data['cnxnid'] );780 if ( $data['cnxnid'] ) update_option( 'integrator_cnxnid', $data['cnxnid'] ); 753 781 754 782 return ( $updated ? $data['cnxnid'] : true ); … … 760 788 /** 761 789 * Integrator XMLRPC Handler 762 * @version 3.0. 6790 * @version 3.0.7 763 791 * 764 792 * @since 3.0.0 … … 771 799 * Takes a set of credentials and authenticates them against WP 772 800 * @access public 773 * @version 3.0. 6801 * @version 3.0.7 774 802 * @param array - $args: the arguments passed via XMLRPC Server 775 803 * … … 802 830 * Returns this version of the Integrator 803 831 * @access public 804 * @version 3.0. 6832 * @version 3.0.7 805 833 * @param array - $args: the arguments passed via XMLRPC Server 806 834 * … … 817 845 * Gets the Wordpress menu tree 818 846 * @access public 819 * @version 3.0. 6847 * @version 3.0.7 820 848 * @param array of arguments passed via XML-RPC 821 849 * … … 866 894 * Gets missing credentials for user 867 895 * @access public 868 * @version 3.0. 6896 * @version 3.0.7 869 897 * @param array of arguments passed via XML-RPC 870 898 * … … 895 923 * Log a user in first 896 924 * @access public 897 * @version 3.0. 6925 * @version 3.0.7 898 926 * @param array - $args: the arguments passed via XMLRPC Server 899 927 * … … 933 961 * Ping interface 934 962 * @access public 935 * @version 3.0. 6963 * @version 3.0.7 936 964 * @param array - $args: the arguments passed via XMLRPC Server 937 965 * … … 961 989 * Create a new user in WP 962 990 * @access public 963 * @version 3.0. 6991 * @version 3.0.7 964 992 * @param array - $args: the arguments passed via XMLRPC Server 965 993 * … … 989 1017 * Find a user in WP 990 1018 * @access public 991 * @version 3.0. 61019 * @version 3.0.7 992 1020 * @param array - $args: the arguments passed via XMLRPC Server 993 1021 * … … 1013 1041 * Method to remove a user from WP 1014 1042 * @access public 1015 * @version 3.0. 61043 * @version 3.0.7 1016 1044 * @param array - $args: the arguments passed via XMLRPC Server 1017 1045 * … … 1046 1074 * Method to search for a user 1047 1075 * @access public 1048 * @version 3.0. 61076 * @version 3.0.7 1049 1077 * @param array - $args: the arguments passed via XMLRPC Server 1050 1078 * … … 1068 1096 * Updates a user in WP 1069 1097 * @access public 1070 * @version 3.0. 61098 * @version 3.0.7 1071 1099 * @param array - $args: the arguments passed via XMLRPC Server 1072 1100 * … … 1115 1143 * Provides for new user validation 1116 1144 * @access public 1117 * @version 3.0. 61145 * @version 3.0.7 1118 1146 * @param array - $args: the arguments passed via XMLRPC Server 1119 1147 * … … 1145 1173 * Provides for existing user validation on changes 1146 1174 * @access public 1147 * @version 3.0. 61175 * @version 3.0.7 1148 1176 * @param array - $args: the arguments passed via XMLRPC Server 1149 1177 * … … 1273 1301 * Integrator initilization 1274 1302 * @access public 1275 * @version 3.0. 61303 * @version 3.0.7 1276 1304 * 1277 1305 * @since 3.0.0 -
integrator3/trunk/integrator/api.php
r624228 r631892 6 6 * @copyright 2009 - 2012 Go Higher Information Services. All rights reserved. 7 7 * @license ${p.PROJECT_LICENSE} 8 * @version 3.0. 6 ( $Id: api.php 74 2012-10-01 15:55:25Z steven_gohigher $ )8 * @version 3.0.7 ( $Id: api.php 142 2012-11-28 02:28:39Z steven_gohigher $ ) 9 9 * @author Go Higher Information Services 10 10 * @since 3.0.0 … … 25 25 /** 26 26 * IntApi class object 27 * @version 3.0. 627 * @version 3.0.7 28 28 * 29 29 * @since 3.0.0 … … 99 99 * Constructor method 100 100 * @access public 101 * @version 3.0. 6101 * @version 3.0.7 102 102 * 103 103 * @since 3.0.0 … … 143 143 * Getter method 144 144 * @access public 145 * @version 3.0. 6145 * @version 3.0.7 146 146 * @param string - $name: the name of the property trying to be gotten 147 147 * … … 158 158 * Setter method 159 159 * @access public 160 * @version 3.0. 6160 * @version 3.0.7 161 161 * @param string - $name: the name of the property to set 162 162 * @param mixed - $value: the value to set the property to … … 173 173 * Retrieves all the pages for all the connections 174 174 * @access public 175 * @version 3.0. 6175 * @version 3.0.7 176 176 * 177 177 * @return result of api call … … 192 192 * Retrieves the correct route for a selected connection / page combination 193 193 * @access public 194 * @version 3.0. 6194 * @version 3.0.7 195 195 * @param array - $post: contains the cnxn_id and page being requested 196 196 * … … 216 216 * Retrieves connections requiring wrapping 217 217 * @access public 218 * @version 3.0. 6218 * @version 3.0.7 219 219 * 220 220 * @return result of api call … … 235 235 * Pings the Integrator to ensure connection 236 236 * @access public 237 * @version 3.0. 6237 * @version 3.0.7 238 238 * @param boolean - $updated: if true we should pull values from $_POST 239 239 * … … 274 274 * Updates the settings in the Integrator with the settings established in the component 275 275 * @access public 276 * @version 3.0. 6276 * @version 3.0.7 277 277 * @param boolean - $updated: if true we should pull values from $_POST 278 278 * … … 292 292 if ( in_array( $p, array( "index.php", "administrator" ) ) ) unset( $path[$k] ); 293 293 } 294 295 $path = array_reverse( $path ); 294 296 295 297 $uri->setPath( "/" . implode( "/", $path ) ); … … 314 316 * Create a new user throughout the Integrator 315 317 * @access public 316 * @version 3.0. 6318 * @version 3.0.7 317 319 * @param array - $post: the user array to send 318 320 * … … 337 339 * Calls the Integrator to remove a user 338 340 * @access public 339 * @version 3.0. 6341 * @version 3.0.7 340 342 * @param string - $email: the email address of the user being deleted 341 343 * … … 361 363 * Updates user information across the various Integrator connections 362 364 * @access public 363 * @version 3.0. 6365 * @version 3.0.7 364 366 * @param array - $post: the user array to send 365 367 * … … 384 386 * Validate user information prior to creation 385 387 * @access public 386 * @version 3.0. 6388 * @version 3.0.7 387 389 * @param array - $post: the user array to send 388 390 * … … 410 412 * Validates user information across the various Integrator connections 411 413 * @access public 412 * @version 3.0. 6414 * @version 3.0.7 413 415 * @param array - $post: the user array to send 414 416 * … … 436 438 * Wrapper for calling up the API interface 437 439 * @access private 438 * @version 3.0. 6440 * @version 3.0.7 439 441 * @param string - $url: the url to connect to 440 442 * @param array - $post: any additional post variables to send … … 480 482 * Uniform method to set the api url 481 483 * @access private 482 * @version 3.0. 6484 * @version 3.0.7 483 485 * @param string - $url: the setting for the api url to use 484 486 * -
integrator3/trunk/integrator/curl.php
r624228 r631892 7 7 * @copyright 2009 - 2012 Go Higher Information Services. All rights reserved. 8 8 * @license ${p.PROJECT_LICENSE} 9 * @version 3.0. 6 ( $Id: curl.php 3 2012-04-19 14:16:13Z steven_gohigher $ )9 * @version 3.0.7 ( $Id: curl.php 144 2012-11-29 17:19:42Z steven_gohigher $ ) 10 10 * @author Go Higher Information Services 11 11 * @since 3.0.0 … … 21 21 /** 22 22 * IntCurl class object 23 * @version 3.0. 623 * @version 3.0.7 24 24 * 25 25 * @since 3.0.0 … … 120 120 * Constructor 121 121 * @access public 122 * @version 3.0. 6122 * @version 3.0.7 123 123 * @param string - $url: if set contains a URL to create the CURL instance with 124 124 * … … 138 138 * Call constructor - when a method is called 139 139 * @access public 140 * @version 3.0. 6140 * @version 3.0.7 141 141 * @param string - $method: the name of the method being called 142 142 * @param array - $arguments: the arguments passed to the method … … 168 168 * Simple call method 169 169 * @access public 170 * @version 3.0. 6170 * @version 3.0.7 171 171 * @param string - $method: the call method to perform 172 172 * @param string - $url: the url to call with curl … … 197 197 * Simple FTP get 198 198 * @access public 199 * @version 3.0. 6199 * @version 3.0.7 200 200 * @param string - $url: the url to call for 201 201 * @param string - $file_path: the remote file path to get … … 246 246 * Sets the required items for a post using curl 247 247 * @access public 248 * @version 3.0. 6248 * @version 3.0.7 249 249 * @param varies - $params: the parameters to post 250 250 * @param array - $options: the options to use for curl handler … … 273 273 * Sets the required items for a put using curl 274 274 * @access public 275 * @version 3.0. 6275 * @version 3.0.7 276 276 * @param varies - $params: the parameters to put 277 277 * @param array - $options: the options to use for curl handler … … 299 299 * Performs a delete through the curl handler 300 300 * @access public 301 * @version 3.0. 6301 * @version 3.0.7 302 302 * @param varies - $params: the parameters to use for execution 303 303 * @param array - $options: the options for the curl handler … … 322 322 * Sets the cookeis for the curl handler 323 323 * @access public 324 * @version 3.0. 6324 * @version 3.0.7 325 325 * @param varies - $params: the cookie parameters to use 326 326 * … … 342 342 * Tests to see if there are errors 343 343 * @access public 344 * @version 3.0. 6344 * @version 3.0.7 345 345 * 346 346 * @return string of error message or false on no error … … 356 356 * Sets an http header 357 357 * @access public 358 * @version 3.0. 6358 * @version 3.0.7 359 359 * @param string - $header: the header type to use 360 360 * @param string - $content: the content to set the header to … … 371 371 * Sets the http method 372 372 * @access public 373 * @version 3.0. 6373 * @version 3.0.7 374 374 * @param string - $method: the setting to use 375 375 * … … 387 387 * Create http login option fields 388 388 * @access public 389 * @version 3.0. 6389 * @version 3.0.7 390 390 * @param string - $username: the username to use 391 391 * @param string - $password: the password to use … … 406 406 * Sets proxy options for the curl handler 407 407 * @access public 408 * @version 3.0. 6408 * @version 3.0.7 409 409 * @param string - $url: the url to use as the proxy server 410 410 * @param integer - $port: the port on the proxy server to connect through … … 424 424 * Sets the login for a proxy server for the curl handler 425 425 * @access public 426 * @version 3.0. 6426 * @version 3.0.7 427 427 * @param string - $username: the username to use 428 428 * @param string - $password: the password to use … … 441 441 * Sets the required items for an ssl connection 442 442 * @access public 443 * @version 3.0. 6443 * @version 3.0.7 444 444 * @param boolean - $verify_peer: true to verify peer 445 445 * @param integer - $verify_host: the verify host integer setting for the curl handler … … 467 467 * Sets an array of options to the curl handler options 468 468 * @access public 469 * @version 3.0. 6469 * @version 3.0.7 470 470 * @param array - $options: array to set 471 471 * … … 480 480 } 481 481 482 // Catch null / invalid sessions 483 if ( $this->session == null ) return $this; 484 482 485 // Set all options provided 483 486 curl_setopt_array($this->session, $this->options); … … 490 493 * Sets an individual option code and value 491 494 * @access public 492 * @version 3.0. 6495 * @version 3.0.7 493 496 * @param string - $code: the curl option to set 494 497 * @param varies - $value: the value to set the code to … … 511 514 * Creates a new curl handler session and resets common items 512 515 * @access public 513 * @version 3.0. 6516 * @version 3.0.7 514 517 * @param string - $url: the url to use for the curl handler 515 518 * … … 532 535 $this->session = curl_init($this->url); 533 536 537 // If we are using an SSL URL - set the appropriate options 538 if ( preg_match( '!^https://! i', $url ) ) { 539 $this->ssl(); 540 } 541 534 542 return $this; 535 543 } … … 539 547 * Executes the actual curl request 540 548 * @access public 541 * @version 3.0. 6549 * @version 3.0.7 542 550 * 543 551 * @return response or false on error … … 566 574 if ( ! empty($this->headers)) { 567 575 $this->options(CURLOPT_HTTPHEADER, $this->headers); 576 } 577 578 // Null session - can't execute these 579 if ( $this->session == null ) { 580 $this->error_code = "0"; 581 $this->error_string = "The curl handler was invalid and could not be used to execute a request."; 582 $this->set_defaults(); 583 return false; 568 584 } 569 585 … … 604 620 * Checks to see if curl is actually enabled 605 621 * @access public 606 * @version 3.0. 6622 * @version 3.0.7 607 623 * 608 624 * @return boolean true if curl is enabled … … 618 634 * Outputs the debugging screen 619 635 * @access public 620 * @version 3.0. 6636 * @version 3.0.7 621 637 * 622 638 * @return string containing debug information … … 659 675 * Assembles an array of request options for debugging 660 676 * @access public 661 * @version 3.0. 6677 * @version 3.0.7 662 678 * 663 679 * @return array … … 673 689 * Sets the default values when new sessions are created 674 690 * @access private 675 * @version 3.0. 6691 * @version 3.0.7 676 692 * 677 693 * @since 3.0.0 -
integrator3/trunk/integrator/helper.php
r624228 r631892 6 6 * @copyright 2009 - 2012 Go Higher Information Services. All rights reserved. 7 7 * @license ${p.PROJECT_LICENSE} 8 * @version 3.0. 6( $Id: helper.php 74 2012-10-01 15:55:25Z steven_gohigher $ )8 * @version 3.0.7 ( $Id: helper.php 74 2012-10-01 15:55:25Z steven_gohigher $ ) 9 9 * @author Go Higher Information Services 10 10 * @since 3.0.0 … … 25 25 /** 26 26 * IntHelper class object 27 * @version 3.0. 627 * @version 3.0.7 28 28 * 29 29 * @since 3.0.0 … … 35 35 * Finds a user and returns a single array 36 36 * @access public 37 * @version 3.0. 637 * @version 3.0.7 38 38 * @param string - $find: either an email or username 39 39 * … … 67 67 * Creates a quick form redirection to send back to the Integrator securely 68 68 * @access public 69 * @version 3.0. 669 * @version 3.0.7 70 70 * @param string - $url: the form action to send to 71 71 * @param array - $fields: hidden fields to send … … 98 98 * Checks a username to see if it is actually an email address 99 99 * @access public 100 * @version 3.0. 6100 * @version 3.0.7 101 101 * @param string - $username: the suspect username 102 102 * … … 116 116 * Builds a recursive tree from an array of menu items 117 117 * @access public 118 * @version 3.0. 6118 * @version 3.0.7 119 119 * @param integer - $id: the parent to start from 120 120 * @param string - $indent: any indent value passed on … … 150 150 * Searches for a user and returns all matches 151 151 * @access public 152 * @version 3.0. 6152 * @version 3.0.7 153 153 * @param string - $search 154 154 * -
integrator3/trunk/integrator/uri.php
r624228 r631892 7 7 * @copyright 2009 - 2012 Go Higher Information Services. All rights reserved. 8 8 * @license ${p.PROJECT_LICENSE} 9 * @version 3.0. 6( $Id: uri.php 3 2012-04-19 14:16:13Z steven_gohigher $ )9 * @version 3.0.7 ( $Id: uri.php 3 2012-04-19 14:16:13Z steven_gohigher $ ) 10 10 * @author Go Higher Information Services 11 11 * @since 3.0.0 … … 21 21 /** 22 22 * URI class for managing Uniform Resource Identifiers 23 * @version 3.0. 623 * @version 3.0.7 24 24 * 25 25 * @since 3.0.0 … … 112 112 * Constructor method 113 113 * @access public 114 * @version 3.0. 6114 * @version 3.0.7 115 115 * @param string - $uri: contains the URI to generate object from 116 116 * … … 128 128 * Gets an object for the given URI, creating it if it doesn't exist 129 129 * @access public 130 * @version 3.0. 6130 * @version 3.0.7 131 131 * @param string - $uri: contains the URI to retrieve 132 132 * @param boolean - $force: if set will force a new object to be created … … 180 180 * Gets the base portion of the URI object 181 181 * @access public 182 * @version 3.0. 6182 * @version 3.0.7 183 183 * @param boolean - $pathonly: if set will only return the base of the URI 184 184 * … … 210 210 * Gets the root of the URI object only 211 211 * @access public 212 * @version 3.0. 6212 * @version 3.0.7 213 213 * @param boolean - $pathonly: if set will send back only the path 214 214 * @param string - $path: if set will return the root with the provided path instead … … 239 239 * Gets the current URI of the server regardless of the current object 240 240 * @access public 241 * @version 3.0. 6241 * @version 3.0.7 242 242 * 243 243 * @return string of the current URI … … 259 259 * Takes a URI string and assigns it to the various parts of the object 260 260 * @access public 261 * @version 3.0. 6261 * @version 3.0.7 262 262 * @param string - $uri: containing the URI to parse 263 263 * … … 295 295 * Converts the object to a string 296 296 * @access public 297 * @version 3.0. 6297 * @version 3.0.7 298 298 * @param array - $parts: if set contains an array of URI parts to assemble and return 299 299 * … … 323 323 * Sets a variable to the query array 324 324 * @access public 325 * @version 3.0. 6325 * @version 3.0.7 326 326 * @param string - $name: contains the name of the variable to set 327 327 * @param varies - $value: contains the value of the variable to set … … 342 342 * Gets a variable from the query array 343 343 * @access public 344 * @version 3.0. 6344 * @version 3.0.7 345 345 * @param string - $name: contains the variable to get the value of 346 346 * @param varies - $default: contains the default value to return if no variable found … … 361 361 * Deletes a variable from the query array 362 362 * @access public 363 * @version 3.0. 6363 * @version 3.0.7 364 364 * @param string - $name: contains the variable to delete 365 365 * … … 378 378 * Sets the query to the query array 379 379 * @access public 380 * @version 3.0. 6380 * @version 3.0.7 381 381 * @param string - $query: contains the query of the URI to parse into the variable array 382 382 * … … 404 404 * Gets the query from the query string 405 405 * @access public 406 * @version 3.0. 6406 * @version 3.0.7 407 407 * @param boolean - $toArray: if set will return an array rather than string 408 408 * … … 429 429 * Builds a query from an array 430 430 * @access public 431 * @version 3.0. 6431 * @version 3.0.7 432 432 * @param array - $params: array containing query variables 433 433 * @param string - $akey: If set sets an array string key[akey] … … 468 468 * Gets the scheme of the current URI 469 469 * @access public 470 * @version 3.0. 6470 * @version 3.0.7 471 471 * 472 472 * @return string containing scheme … … 482 482 * Sets the scheme of the current URI object 483 483 * @access public 484 * @version 3.0. 6484 * @version 3.0.7 485 485 * @param string - $scheme: contains the scheme to set 486 486 * … … 496 496 * Gets the username of the current URI object 497 497 * @access public 498 * @version 3.0. 6498 * @version 3.0.7 499 499 * 500 500 * @return string containing the username … … 510 510 * Sets the username of the current URI object 511 511 * @access public 512 * @version 3.0. 6512 * @version 3.0.7 513 513 * @param string - $user: containing the username to set 514 514 * … … 524 524 * Gets the password of the current URI object 525 525 * @access public 526 * @version 3.0. 6526 * @version 3.0.7 527 527 * 528 528 * @return string containing the password … … 538 538 * Sets the password of the current URI object 539 539 * @access public 540 * @version 3.0. 6540 * @version 3.0.7 541 541 * @param string - $pass: contains the password to set 542 542 * … … 552 552 * Gets the hostname of the current URI object 553 553 * @access public 554 * @version 3.0. 6554 * @version 3.0.7 555 555 * 556 556 * @return string containing the hostname … … 566 566 * Sets the hostname of the current URI object 567 567 * @access public 568 * @version 3.0. 6568 * @version 3.0.7 569 569 * @param string - $host: Containing the hostname to set 570 570 * … … 580 580 * Gets the port number of the current URI object 581 581 * @access public 582 * @version 3.0. 6582 * @version 3.0.7 583 583 * 584 584 * @return string containing the port number or null if not set … … 594 594 * Sets the port number of the current URI object 595 595 * @access public 596 * @version 3.0. 6596 * @version 3.0.7 597 597 * @param string - $port: Contains the port number to set 598 598 * … … 608 608 * Gets the path of the current URI object 609 609 * @access public 610 * @version 3.0. 6610 * @version 3.0.7 611 611 * 612 612 * @return string containing the path … … 622 622 * Sets the path of the current URI object 623 623 * @access public 624 * @version 3.0. 6624 * @version 3.0.7 625 625 * @param string - $path: contains the path to set 626 626 * … … 636 636 * Gets the fragment of the current URI object 637 637 * @access public 638 * @version 3.0. 6638 * @version 3.0.7 639 639 * 640 640 * @return string containing the fragment … … 650 650 * Sets the fragment of the current URI object 651 651 * @access public 652 * @version 3.0. 6652 * @version 3.0.7 653 653 * @param string - $anchor: Containing the fragment value to set 654 654 * … … 664 664 * Checks to see if the URI object is a fragment 665 665 * @access public 666 * @version 3.0. 6666 * @version 3.0.7 667 667 * 668 668 * @return boolean … … 685 685 * Checks to see if the URI object is set to SSL 686 686 * @access public 687 * @version 3.0. 6687 * @version 3.0.7 688 688 * 689 689 * @return boolean … … 699 699 * Checks to see if the URI is actually an internal url 700 700 * @access public 701 * @version 3.0. 6701 * @version 3.0.7 702 702 * @param string - $url: contains the URL to check 703 703 * … … 720 720 * Cleans the path of any undesirable values 721 721 * @access private 722 * @version 3.0. 6722 * @version 3.0.7 723 723 * @param string - $path: contains the path to clean 724 724 * … … 757 757 * Parses the uri provided 758 758 * @access private 759 * @version 3.0. 6759 * @version 3.0.7 760 760 * @param string $uri: Contains the URI to parse 761 761 * -
integrator3/trunk/readme.txt
r627973 r631892 5 5 Requires at least: 3.2 6 6 Tested up to: 3.4 7 Stable tag: 3.0. 67 Stable tag: 3.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.