Plugin Directory

Changeset 631892


Ignore:
Timestamp:
11/29/2012 05:36:39 PM (13 years ago)
Author:
steven.gohigher
Message:

Committing file changes for 3.0.7

Location:
integrator3/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • integrator3/trunk/integrator.php

    r624228 r631892  
    66 * @copyright  2009 - 2012 Go Higher Information Services.  All rights reserved.
    77 * @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 $ )
    99 * @author     Go Higher Information Services
    1010 * @since      3.0.0
     
    1919Author: Go Higher Information Services
    2020Author URI: https://www.gohigheris.com/
    21 Version: 3.0.6
     21Version: 3.0.7
    2222*/
    2323
    24 define( 'INTEGRATOR_VERSION', "3.0.6" );
     24define( 'INTEGRATOR_VERSION', "3.0.7" );
    2525
    2626/**
    2727 * Integrator Class
    28  * @version     3.0.6
     28 * @version     3.0.7
    2929 * 
    3030 * @since       3.0.0
     
    4141     * Constructor method
    4242     * @access      public
    43      * @version     3.0.6
     43     * @version     3.0.7
    4444     *
    4545     * @since       3.0.0
     
    8282        add_action( 'admin_enqueue_scripts', array( &$this, 'admin_jscript' ) );
    8383       
     84        // If we aren't active then don't try doing redirect / user functions
     85        if (! $this->_is_active() ) return;
     86       
    8487        add_action( 'template_redirect', array( &$this, 'site_intlink_redirect' ), 0, 0 );
    8588        add_action( 'set_logged_in_cookie', array( &$this, 'site_logged_in_cookie' ), 10, 1 );
     
    104107     * Initializes in admin
    105108     * @access      public
    106      * @version     3.0.6
     109     * @version     3.0.7
    107110     *
    108111     * @since       3.0.0
     
    118121     * Create the meta box for the Integrated Link admin area
    119122     * @access      public
    120      * @version     3.0.6
     123     * @version     3.0.7
    121124     *
    122125     * @since       3.0.0
     
    144147     * Handles the Integrated Link field in admin area and sets it to meta data
    145148     * @access      public
    146      * @version     3.0.6
     149     * @version     3.0.7
    147150     * @param       integer     - $post_id: the post id passed by admin area
    148151     * @param       array       - $post: contains description of the post
     
    188191     * Place holder for adding javascript to the admin header
    189192     * @access      public
    190      * @version     3.0.6
     193     * @version     3.0.7
    191194     *
    192195     * @since       3.0.0
     
    201204     * Generates the menu item
    202205     * @access      public
    203      * @version     3.0.6
     206     * @version     3.0.7
    204207     *
    205208     * @since       3.0.0
     
    214217     * Renders and handles the options page for the Integrator
    215218     * @access      public
    216      * @version     3.0.6
     219     * @version     3.0.7
    217220     *
    218221     * @since       3.0.0
     
    261264     * Method to grab the cnxn pages from the Integrator
    262265     * @access      public
    263      * @version     3.0.6
     266     * @version     3.0.7
    264267     *
    265268     * @return      array
     
    289292     * Method to get a route from the Integrator
    290293     * @access      public
    291      * @version     3.0.6
     294     * @version     3.0.7
    292295     *
    293296     * @return      result of API call
     
    310313     * Intercepts calls for the intlink post type and redirects
    311314     * @access      public
    312      * @version     3.0.6
     315     * @version     3.0.7
    313316     *
    314317     * @since       3.0.0
     
    395398     * Grabs the logged in cookies when passed through the set_logged_in_cookie action in WP
    396399     * @access      public
    397      * @version     3.0.6
     400     * @version     3.0.7
    398401     * @param       string      - $cookie: the value of the set cookie
    399402     *
     
    410413     * Action handler for logging into the site
    411414     * @access      public
    412      * @version     3.0.6
     415     * @version     3.0.7
    413416     * @param       string      - $redirect_to: the redirect url
    414417     * @param       bool        - $isset: if the $redirect has been sent back (login started)
     
    459462     * Action handler for logging out and redirecting to Integrator
    460463     * @access      public
    461      * @version     3.0.6
     464     * @version     3.0.7
    462465     *
    463466     * @since       3.0.0s
     
    523526     * Perform actual deletion
    524527     * @access      public
    525      * @version     3.0.6
     528     * @version     3.0.7
    526529     * @param       integer     - $user_id: the user id of the user we just deleted in WP
    527530     *
     
    548551     * Grab a copy of the user before we delete them
    549552     * @access      public
    550      * @version     3.0.6
     553     * @version     3.0.7
    551554     * @param       integer     - $user_id: contains the user id of the user to delete
    552555     *
     
    564567     * Update user information on Integrator
    565568     * @access      public
    566      * @version     3.0.6
     569     * @version     3.0.7
    567570     * @param       integer     - $user_id: id of user
    568571     * @param       array       - $post: the original data of user
     
    592595     * Validates user information prior to saving
    593596     * @access      public
    594      * @version     3.0.6
     597     * @version     3.0.7
    595598     * @param       object      - $errors: (reference) WP_Error object
    596599     * @param       boolean     - $update: if this is an update then true
     
    643646     * Permits getting of variables
    644647     * @access      public
    645      * @version     3.0.6
     648     * @version     3.0.7
    646649     * @param       string      - $var: the name of the variable to get
    647650     * @param       mixed       - $default: the default value if not set
     
    659662     * Permits setting of variables
    660663     * @access      public
    661      * @version     3.0.6
     664     * @version     3.0.7
    662665     * @param       string      - $var: the name of the variable to set
    663666     * @param       mixed       - $value: the value to set
     
    684687     * Easy wrapper for pinging Integrator
    685688     * @access      private
    686      * @version     3.0.6
     689     * @version     3.0.7
    687690     * @param       boolean     - $updated: if we are updating settings, set to true to grab from POST
    688691     *
     
    699702     * Convenient file includer
    700703     * @access      private
    701      * @version     3.0.6
     704     * @version     3.0.7
    702705     *
    703706     * @since       3.0.0
     
    731734   
    732735    /**
     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    /**
    733761     * Easy wrapper for updating settings on the Integrator
    734762     * @access      private
    735      * @version     3.0.6
     763     * @version     3.0.7
    736764     * @param       boolean     - $updated: if we are updating settings, set to true to grab from POST
    737765     *
     
    750778        }
    751779       
    752         update_option( 'integrator_cnxnid', $data['cnxnid'] );
     780        if ( $data['cnxnid'] ) update_option( 'integrator_cnxnid', $data['cnxnid'] );
    753781       
    754782        return ( $updated ? $data['cnxnid'] : true );
     
    760788/**
    761789 * Integrator XMLRPC Handler
    762  * @version     3.0.6
     790 * @version     3.0.7
    763791 *
    764792 * @since       3.0.0
     
    771799     * Takes a set of credentials and authenticates them against WP
    772800     * @access      public
    773      * @version     3.0.6
     801     * @version     3.0.7
    774802     * @param       array       - $args: the arguments passed via XMLRPC Server
    775803     *
     
    802830     * Returns this version of the Integrator
    803831     * @access      public
    804      * @version     3.0.6
     832     * @version     3.0.7
    805833     * @param       array       - $args: the arguments passed via XMLRPC Server
    806834     *
     
    817845     * Gets the Wordpress menu tree
    818846     * @access      public
    819      * @version     3.0.6
     847     * @version     3.0.7
    820848     * @param       array of arguments passed via XML-RPC
    821849     *
     
    866894     * Gets missing credentials for user
    867895     * @access      public
    868      * @version     3.0.6
     896     * @version     3.0.7
    869897     * @param       array of arguments passed via XML-RPC
    870898     *
     
    895923     * Log a user in first
    896924     * @access      public
    897      * @version     3.0.6
     925     * @version     3.0.7
    898926     * @param       array       - $args: the arguments passed via XMLRPC Server
    899927     *
     
    933961     * Ping interface
    934962     * @access      public
    935      * @version     3.0.6
     963     * @version     3.0.7
    936964     * @param       array       - $args: the arguments passed via XMLRPC Server
    937965     *
     
    961989     * Create a new user in WP
    962990     * @access      public
    963      * @version     3.0.6
     991     * @version     3.0.7
    964992     * @param       array       - $args: the arguments passed via XMLRPC Server
    965993     *
     
    9891017     * Find a user in WP
    9901018     * @access      public
    991      * @version     3.0.6
     1019     * @version     3.0.7
    9921020     * @param       array       - $args: the arguments passed via XMLRPC Server
    9931021     *
     
    10131041     * Method to remove a user from WP
    10141042     * @access      public
    1015      * @version     3.0.6
     1043     * @version     3.0.7
    10161044     * @param       array       - $args: the arguments passed via XMLRPC Server
    10171045     *
     
    10461074     * Method to search for a user
    10471075     * @access      public
    1048      * @version     3.0.6
     1076     * @version     3.0.7
    10491077     * @param       array       - $args: the arguments passed via XMLRPC Server
    10501078     *
     
    10681096     * Updates a user in WP
    10691097     * @access      public
    1070      * @version     3.0.6
     1098     * @version     3.0.7
    10711099     * @param       array       - $args: the arguments passed via XMLRPC Server
    10721100     *
     
    11151143     * Provides for new user validation
    11161144     * @access      public
    1117      * @version     3.0.6
     1145     * @version     3.0.7
    11181146     * @param       array       - $args: the arguments passed via XMLRPC Server
    11191147     *
     
    11451173     * Provides for existing user validation on changes
    11461174     * @access      public
    1147      * @version     3.0.6
     1175     * @version     3.0.7
    11481176     * @param       array       - $args: the arguments passed via XMLRPC Server
    11491177     *
     
    12731301 * Integrator initilization
    12741302 * @access      public
    1275  * @version     3.0.6
     1303 * @version     3.0.7
    12761304 *
    12771305 * @since       3.0.0
  • integrator3/trunk/integrator/api.php

    r624228 r631892  
    66 * @copyright  2009 - 2012 Go Higher Information Services.  All rights reserved.
    77 * @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 $ )
    99 * @author     Go Higher Information Services
    1010 * @since      3.0.0
     
    2525/**
    2626 * IntApi class object
    27  * @version     3.0.6
     27 * @version     3.0.7
    2828 *
    2929 * @since       3.0.0
     
    9999     * Constructor method
    100100     * @access      public
    101      * @version     3.0.6
     101     * @version     3.0.7
    102102     *
    103103     * @since       3.0.0
     
    143143     * Getter method
    144144     * @access      public
    145      * @version     3.0.6
     145     * @version     3.0.7
    146146     * @param       string      - $name: the name of the property trying to be gotten
    147147     *
     
    158158     * Setter method
    159159     * @access      public
    160      * @version     3.0.6
     160     * @version     3.0.7
    161161     * @param       string      - $name: the name of the property to set
    162162     * @param       mixed       - $value: the value to set the property to
     
    173173     * Retrieves all the pages for all the connections
    174174     * @access      public
    175      * @version     3.0.6
     175     * @version     3.0.7
    176176     *
    177177     * @return      result of api call
     
    192192     * Retrieves the correct route for a selected connection / page combination
    193193     * @access      public
    194      * @version     3.0.6
     194     * @version     3.0.7
    195195     * @param       array       - $post: contains the cnxn_id and page being requested
    196196     *
     
    216216     * Retrieves connections requiring wrapping
    217217     * @access      public
    218      * @version     3.0.6
     218     * @version     3.0.7
    219219     *
    220220     * @return      result of api call
     
    235235     * Pings the Integrator to ensure connection
    236236     * @access      public
    237      * @version     3.0.6
     237     * @version     3.0.7
    238238     * @param       boolean     - $updated: if true we should pull values from $_POST
    239239     *
     
    274274     * Updates the settings in the Integrator with the settings established in the component
    275275     * @access      public
    276      * @version     3.0.6
     276     * @version     3.0.7
    277277     * @param       boolean     - $updated: if true we should pull values from $_POST
    278278     *
     
    292292            if ( in_array( $p, array( "index.php", "administrator" ) ) ) unset( $path[$k] );
    293293        }
     294       
     295        $path   = array_reverse( $path );
    294296       
    295297        $uri->setPath( "/" . implode( "/", $path ) );
     
    314316     * Create a new user throughout the Integrator
    315317     * @access      public
    316      * @version     3.0.6
     318     * @version     3.0.7
    317319     * @param       array       - $post: the user array to send
    318320     *
     
    337339     * Calls the Integrator to remove a user
    338340     * @access      public
    339      * @version     3.0.6
     341     * @version     3.0.7
    340342     * @param       string      - $email: the email address of the user being deleted
    341343     *
     
    361363     * Updates user information across the various Integrator connections
    362364     * @access      public
    363      * @version     3.0.6
     365     * @version     3.0.7
    364366     * @param       array       - $post: the user array to send
    365367     *
     
    384386     * Validate user information prior to creation
    385387     * @access      public
    386      * @version     3.0.6
     388     * @version     3.0.7
    387389     * @param       array       - $post: the user array to send
    388390     *
     
    410412     * Validates user information across the various Integrator connections
    411413     * @access      public
    412      * @version     3.0.6
     414     * @version     3.0.7
    413415     * @param       array       - $post: the user array to send
    414416     *
     
    436438     * Wrapper for calling up the API interface
    437439     * @access      private
    438      * @version     3.0.6
     440     * @version     3.0.7
    439441     * @param       string      - $url: the url to connect to
    440442     * @param       array       - $post: any additional post variables to send
     
    480482     * Uniform method to set the api url
    481483     * @access      private
    482      * @version     3.0.6
     484     * @version     3.0.7
    483485     * @param       string      - $url: the setting for the api url to use
    484486     *
  • integrator3/trunk/integrator/curl.php

    r624228 r631892  
    77 * @copyright  2009 - 2012 Go Higher Information Services.  All rights reserved.
    88 * @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 $ )
    1010 * @author     Go Higher Information Services
    1111 * @since      3.0.0
     
    2121/**
    2222 * IntCurl class object
    23  * @version     3.0.6
     23 * @version     3.0.7
    2424 *
    2525 * @since       3.0.0
     
    120120     * Constructor
    121121     * @access      public
    122      * @version     3.0.6
     122     * @version     3.0.7
    123123     * @param       string      - $url: if set contains a URL to create the CURL instance with
    124124     *
     
    138138     * Call constructor - when a method is called
    139139     * @access      public
    140      * @version     3.0.6
     140     * @version     3.0.7
    141141     * @param       string      - $method: the name of the method being called
    142142     * @param       array       - $arguments: the arguments passed to the method
     
    168168     * Simple call method
    169169     * @access      public
    170      * @version     3.0.6
     170     * @version     3.0.7
    171171     * @param       string      - $method: the call method to perform
    172172     * @param       string      - $url: the url to call with curl
     
    197197     * Simple FTP get
    198198     * @access      public
    199      * @version     3.0.6
     199     * @version     3.0.7
    200200     * @param       string      - $url: the url to call for
    201201     * @param       string      - $file_path: the remote file path to get
     
    246246     * Sets the required items for a post using curl
    247247     * @access      public
    248      * @version     3.0.6
     248     * @version     3.0.7
    249249     * @param       varies      - $params: the parameters to post
    250250     * @param       array       - $options: the options to use for curl handler
     
    273273     * Sets the required items for a put using curl
    274274     * @access      public
    275      * @version     3.0.6
     275     * @version     3.0.7
    276276     * @param       varies      - $params: the parameters to put
    277277     * @param       array       - $options: the options to use for curl handler
     
    299299     * Performs a delete through the curl handler
    300300     * @access      public
    301      * @version     3.0.6
     301     * @version     3.0.7
    302302     * @param       varies      - $params: the parameters to use for execution
    303303     * @param       array       - $options: the options for the curl handler
     
    322322     * Sets the cookeis for the curl handler
    323323     * @access      public
    324      * @version     3.0.6
     324     * @version     3.0.7
    325325     * @param       varies      - $params: the cookie parameters to use
    326326     *
     
    342342     * Tests to see if there are errors
    343343     * @access      public
    344      * @version     3.0.6
     344     * @version     3.0.7
    345345     *
    346346     * @return      string of error message or false on no error
     
    356356     * Sets an http header
    357357     * @access      public
    358      * @version     3.0.6
     358     * @version     3.0.7
    359359     * @param       string      - $header: the header type to use
    360360     * @param       string      - $content: the content to set the header to
     
    371371     * Sets the http method
    372372     * @access      public
    373      * @version     3.0.6
     373     * @version     3.0.7
    374374     * @param       string      - $method: the setting to use
    375375     *
     
    387387     * Create http login option fields
    388388     * @access      public
    389      * @version     3.0.6
     389     * @version     3.0.7
    390390     * @param       string      - $username: the username to use
    391391     * @param       string      - $password: the password to use
     
    406406     * Sets proxy options for the curl handler
    407407     * @access      public
    408      * @version     3.0.6
     408     * @version     3.0.7
    409409     * @param       string      - $url: the url to use as the proxy server
    410410     * @param       integer     - $port: the port on the proxy server to connect through
     
    424424     * Sets the login for a proxy server for the curl handler
    425425     * @access      public
    426      * @version     3.0.6
     426     * @version     3.0.7
    427427     * @param       string      - $username: the username to use
    428428     * @param       string      - $password: the password to use
     
    441441     * Sets the required items for an ssl connection
    442442     * @access      public
    443      * @version     3.0.6
     443     * @version     3.0.7
    444444     * @param       boolean     - $verify_peer: true to verify peer
    445445     * @param       integer     - $verify_host: the verify host integer setting for the curl handler
     
    467467     * Sets an array of options to the curl handler options
    468468     * @access      public
    469      * @version     3.0.6
     469     * @version     3.0.7
    470470     * @param       array       - $options: array to set
    471471     *
     
    480480        }
    481481       
     482        // Catch null / invalid sessions
     483        if ( $this->session == null ) return $this;
     484       
    482485        // Set all options provided
    483486        curl_setopt_array($this->session, $this->options);
     
    490493     * Sets an individual option code and value
    491494     * @access      public
    492      * @version     3.0.6
     495     * @version     3.0.7
    493496     * @param       string      - $code: the curl option to set
    494497     * @param       varies      - $value: the value to set the code to
     
    511514     * Creates a new curl handler session and resets common items
    512515     * @access      public
    513      * @version     3.0.6
     516     * @version     3.0.7
    514517     * @param       string      - $url: the url to use for the curl handler
    515518     *
     
    532535        $this->session          = curl_init($this->url);
    533536       
     537        // If we are using an SSL URL - set the appropriate options
     538        if ( preg_match( '!^https://! i', $url ) ) {
     539            $this->ssl();
     540        }
     541       
    534542        return $this;
    535543    }
     
    539547     * Executes the actual curl request
    540548     * @access      public
    541      * @version     3.0.6
     549     * @version     3.0.7
    542550     *
    543551     * @return      response or false on error
     
    566574        if ( ! empty($this->headers)) {
    567575            $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;
    568584        }
    569585       
     
    604620     * Checks to see if curl is actually enabled
    605621     * @access      public
    606      * @version     3.0.6
     622     * @version     3.0.7
    607623     *
    608624     * @return      boolean true if curl is enabled
     
    618634     * Outputs the debugging screen
    619635     * @access      public
    620      * @version     3.0.6
     636     * @version     3.0.7
    621637     *
    622638     * @return      string containing debug information
     
    659675     * Assembles an array of request options for debugging
    660676     * @access      public
    661      * @version     3.0.6
     677     * @version     3.0.7
    662678     *
    663679     * @return      array
     
    673689     * Sets the default values when new sessions are created
    674690     * @access      private
    675      * @version     3.0.6
     691     * @version     3.0.7
    676692     *
    677693     * @since       3.0.0
  • integrator3/trunk/integrator/helper.php

    r624228 r631892  
    66 * @copyright  2009 - 2012 Go Higher Information Services.  All rights reserved.
    77 * @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 $ )
    99 * @author     Go Higher Information Services
    1010 * @since      3.0.0
     
    2525/**
    2626 * IntHelper class object
    27  * @version     3.0.6
     27 * @version     3.0.7
    2828 *
    2929 * @since       3.0.0
     
    3535     * Finds a user and returns a single array
    3636     * @access      public
    37      * @version     3.0.6
     37     * @version     3.0.7
    3838     * @param       string      - $find: either an email or username
    3939     *
     
    6767     * Creates a quick form redirection to send back to the Integrator securely
    6868     * @access      public
    69      * @version     3.0.6
     69     * @version     3.0.7
    7070     * @param       string      - $url: the form action to send to
    7171     * @param       array       - $fields: hidden fields to send
     
    9898     * Checks a username to see if it is actually an email address
    9999     * @access      public
    100      * @version     3.0.6
     100     * @version     3.0.7
    101101     * @param       string      - $username: the suspect username
    102102     *
     
    116116     * Builds a recursive tree from an array of menu items
    117117     * @access      public
    118      * @version     3.0.6
     118     * @version     3.0.7
    119119     * @param       integer     - $id: the parent to start from
    120120     * @param       string      - $indent: any indent value passed on
     
    150150     * Searches for a user and returns all matches
    151151     * @access      public
    152      * @version     3.0.6
     152     * @version     3.0.7
    153153     * @param       string      - $search
    154154     *
  • integrator3/trunk/integrator/uri.php

    r624228 r631892  
    77 * @copyright  2009 - 2012 Go Higher Information Services.  All rights reserved.
    88 * @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 $ )
    1010 * @author     Go Higher Information Services
    1111 * @since      3.0.0
     
    2121/**
    2222 * URI class for managing Uniform Resource Identifiers
    23  * @version     3.0.6
     23 * @version     3.0.7
    2424 *
    2525 * @since       3.0.0
     
    112112     * Constructor method
    113113     * @access      public
    114      * @version     3.0.6
     114     * @version     3.0.7
    115115     * @param       string      - $uri: contains the URI to generate object from
    116116     *
     
    128128     * Gets an object for the given URI, creating it if it doesn't exist
    129129     * @access      public
    130      * @version     3.0.6
     130     * @version     3.0.7
    131131     * @param       string      - $uri: contains the URI to retrieve
    132132     * @param       boolean     - $force: if set will force a new object to be created
     
    180180     * Gets the base portion of the URI object
    181181     * @access      public
    182      * @version     3.0.6
     182     * @version     3.0.7
    183183     * @param       boolean     - $pathonly: if set will only return the base of the URI
    184184     *
     
    210210     * Gets the root of the URI object only
    211211     * @access      public
    212      * @version     3.0.6
     212     * @version     3.0.7
    213213     * @param       boolean     - $pathonly: if set will send back only the path
    214214     * @param       string      - $path: if set will return the root with the provided path instead
     
    239239     * Gets the current URI of the server regardless of the current object
    240240     * @access      public
    241      * @version     3.0.6
     241     * @version     3.0.7
    242242     *
    243243     * @return      string of the current URI
     
    259259     * Takes a URI string and assigns it to the various parts of the object
    260260     * @access      public
    261      * @version     3.0.6
     261     * @version     3.0.7
    262262     * @param       string      - $uri: containing the URI to parse
    263263     *
     
    295295     * Converts the object to a string
    296296     * @access      public
    297      * @version     3.0.6
     297     * @version     3.0.7
    298298     * @param       array       - $parts: if set contains an array of URI parts to assemble and return
    299299     *
     
    323323     * Sets a variable to the query array
    324324     * @access      public
    325      * @version     3.0.6
     325     * @version     3.0.7
    326326     * @param       string      - $name: contains the name of the variable to set
    327327     * @param       varies      - $value: contains the value of the variable to set
     
    342342     * Gets a variable from the query array
    343343     * @access      public
    344      * @version     3.0.6
     344     * @version     3.0.7
    345345     * @param       string      - $name: contains the variable to get the value of
    346346     * @param       varies      - $default: contains the default value to return if no variable found
     
    361361     * Deletes a variable from the query array
    362362     * @access      public
    363      * @version     3.0.6
     363     * @version     3.0.7
    364364     * @param       string      - $name: contains the variable to delete
    365365     *
     
    378378     * Sets the query to the query array
    379379     * @access      public
    380      * @version     3.0.6
     380     * @version     3.0.7
    381381     * @param       string      - $query: contains the query of the URI to parse into the variable array
    382382     *
     
    404404     * Gets the query from the query string
    405405     * @access      public
    406      * @version     3.0.6
     406     * @version     3.0.7
    407407     * @param       boolean     - $toArray: if set will return an array rather than string
    408408     *
     
    429429     * Builds a query from an array
    430430     * @access      public
    431      * @version     3.0.6
     431     * @version     3.0.7
    432432     * @param       array       - $params: array containing query variables
    433433     * @param       string      - $akey: If set sets an array string key[akey]
     
    468468     * Gets the scheme of the current URI
    469469     * @access      public
    470      * @version     3.0.6
     470     * @version     3.0.7
    471471     *
    472472     * @return      string containing scheme
     
    482482     * Sets the scheme of the current URI object
    483483     * @access      public
    484      * @version     3.0.6
     484     * @version     3.0.7
    485485     * @param       string      - $scheme: contains the scheme to set
    486486     *
     
    496496     * Gets the username of the current URI object
    497497     * @access      public
    498      * @version     3.0.6
     498     * @version     3.0.7
    499499     *
    500500     * @return      string containing the username
     
    510510     * Sets the username of the current URI object
    511511     * @access      public
    512      * @version     3.0.6
     512     * @version     3.0.7
    513513     * @param       string      - $user: containing the username to set
    514514     *
     
    524524     * Gets the password of the current URI object
    525525     * @access      public
    526      * @version     3.0.6
     526     * @version     3.0.7
    527527     *
    528528     * @return      string containing the password
     
    538538     * Sets the password of the current URI object
    539539     * @access      public
    540      * @version     3.0.6
     540     * @version     3.0.7
    541541     * @param       string      - $pass: contains the password to set
    542542     *
     
    552552     * Gets the hostname of the current URI object
    553553     * @access      public
    554      * @version     3.0.6
     554     * @version     3.0.7
    555555     *
    556556     * @return      string containing the hostname
     
    566566     * Sets the hostname of the current URI object
    567567     * @access      public
    568      * @version     3.0.6
     568     * @version     3.0.7
    569569     * @param       string      - $host: Containing the hostname to set
    570570     *
     
    580580     * Gets the port number of the current URI object
    581581     * @access      public
    582      * @version     3.0.6
     582     * @version     3.0.7
    583583     *
    584584     * @return      string containing the port number or null if not set
     
    594594     * Sets the port number of the current URI object
    595595     * @access      public
    596      * @version     3.0.6
     596     * @version     3.0.7
    597597     * @param       string      - $port: Contains the port number to set
    598598     *
     
    608608     * Gets the path of the current URI object
    609609     * @access      public
    610      * @version     3.0.6
     610     * @version     3.0.7
    611611     *
    612612     * @return      string containing the path
     
    622622     * Sets the path of the current URI object
    623623     * @access      public
    624      * @version     3.0.6
     624     * @version     3.0.7
    625625     * @param       string      - $path: contains the path to set
    626626     *
     
    636636     * Gets the fragment of the current URI object
    637637     * @access      public
    638      * @version     3.0.6
     638     * @version     3.0.7
    639639     *
    640640     * @return      string containing the fragment
     
    650650     * Sets the fragment of the current URI object
    651651     * @access      public
    652      * @version     3.0.6
     652     * @version     3.0.7
    653653     * @param       string      - $anchor: Containing the fragment value to set
    654654     *
     
    664664     * Checks to see if the URI object is a fragment
    665665     * @access      public
    666      * @version     3.0.6
     666     * @version     3.0.7
    667667     *
    668668     * @return      boolean
     
    685685     * Checks to see if the URI object is set to SSL
    686686     * @access      public
    687      * @version     3.0.6
     687     * @version     3.0.7
    688688     *
    689689     * @return      boolean
     
    699699     * Checks to see if the URI is actually an internal url
    700700     * @access      public
    701      * @version     3.0.6
     701     * @version     3.0.7
    702702     * @param       string      - $url: contains the URL to check
    703703     *
     
    720720     * Cleans the path of any undesirable values
    721721     * @access      private
    722      * @version     3.0.6
     722     * @version     3.0.7
    723723     * @param       string      - $path: contains the path to clean
    724724     *
     
    757757     * Parses the uri provided
    758758     * @access      private
    759      * @version     3.0.6
     759     * @version     3.0.7
    760760     * @param       string      $uri: Contains the URI to parse
    761761     *
  • integrator3/trunk/readme.txt

    r627973 r631892  
    55Requires at least: 3.2
    66Tested up to: 3.4
    7 Stable tag: 3.0.6
     7Stable tag: 3.0.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.