Changeset 708 for branches/1.1dev/lib


Ignore:
Timestamp:
Nov 15, 2019 6:15:50 PM (4 years ago)
Author:
anonymous
Message:

Update class constructor method names to construct

Location:
branches/1.1dev/lib
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/lib/AuthFile.inc.php

    r1 r708  
    2222     * @param optional array $params  A hash containing parameters.
    2323     */
    24     function AuthFile($params = array())
     24    function __construct($params = array())
    2525    {
    2626        $this->_params = $params;
  • branches/1.1dev/lib/AuthSQL.inc.php

    r608 r708  
    2020     * @param optional array $params  A hash containing parameters.
    2121     */
    22     function AuthSQL($params = array())
     22    function __construct($params = array())
    2323    {
    2424        global $CFG;
  • branches/1.1dev/lib/AuthorizeNet.inc.php

    r250 r708  
    105105     * @param optional array $_params  A hash containing parameters.
    106106     */
    107     function AuthorizeNet($params = array())
     107    function __construct($params = array())
    108108    {
    109109        if (!function_exists('curl_init')) {
  • branches/1.1dev/lib/CSS.inc.php

    r1 r708  
    2323     * Constructor.
    2424     */
    25     function CSS()
     25    function __construct()
    2626    {
    2727        $this->_params['character_set'] = isset($CFG->character_set) ? $CFG->character_set : $this->_params['character_set'];
  • branches/1.1dev/lib/Captcha.inc.php

    r112 r708  
    118118     * @since   20 Jan 2006 13:08:22
    119119     */
    120     function Captcha()
     120    function __construct()
    121121    {
    122122        global $CFG;
  • branches/1.1dev/lib/Cart.inc.php

    r1 r708  
    3838    // $this->shiprate["French_Postal"][2][1]["cost"]       = 2.06;
    3939   
    40     function Cart()
     40    function __construct()
    4141    {
    4242        $this->init();
  • branches/1.1dev/lib/Email.inc.php

    r567 r708  
    6666     * @since   28 Nov 2005 12:59:41
    6767     */
    68     function Email($params=null)
     68    function __construct($params=null)
    6969    {
    7070        // The regex used in validEmail(). Set here instead of in the default _params above so we can use the concatination . dot.
  • branches/1.1dev/lib/Hierarchy.inc.php

    r109 r708  
    6767     *                          configuration or connection parameters.
    6868     */
    69     function Hierarchy($params=array())
     69    function __construct($params=array())
    7070    {
    7171        $this->params = $params;
  • branches/1.1dev/lib/ImageThumb.inc.php

    r397 r708  
    4848     *
    4949     */
    50     function ImageThumb()
     50    function __construct()
    5151    {
    5252//         if (!file_exists($this->anytopnm_binary)) {
  • branches/1.1dev/lib/MCVE.inc.php

    r134 r708  
    2020    var $ca_bundle = '/usr/share/ssl/certs/ca-bundle.crt';
    2121   
    22     function MCVE($username, $password)
     22    function __construct($username, $password)
    2323    {
    2424        // Ensure PHP was compiled with the MCVE functions.
  • branches/1.1dev/lib/Nav.inc.php

    r688 r708  
    2626     * Constructor. Set default features to apply to all added pages.
    2727     */
    28     function Nav($default_features=null)
     28    function __construct($default_features=null)
    2929    {
    3030        if (isset($default_features) && is_array($default_features)) {
  • branches/1.1dev/lib/PEdit.inc.php

    r185 r708  
    6464     * @param optional array $params  A hash containing connection parameters.
    6565     */
    66     function PEdit($authorized=false)
     66    function __construct($authorized=false)
    6767    {
    6868        if ($authorized === true) {
  • branches/1.1dev/lib/PageNumbers.inc.php

    r571 r708  
    5454     * PageNumbers constructor. All arguments are depreciated. Use set* functions instead.
    5555     */
    56     function PageNumbers()
     56    function __construct()
    5757    {
    5858        // Default options for the quantity per page links.
  • branches/1.1dev/lib/PageSequence.inc.php

    r1 r708  
    3030     * @access public
    3131     */
    32     function PageSequence($params)
     32    function __construct($params)
    3333    {
    3434        $this->sequence_title = isset($params['sequence_title']) ? $params['sequence_title'] : 'no_title';
  • branches/1.1dev/lib/PayPal.inc.php

    r1 r708  
    2929     * @param   bool    $test_mode  Use PayPal sandbox for testing.
    3030     */
    31     function PayPal($test_mode=false)
     31    function __construct($test_mode=false)
    3232    {
    3333        if ($test_mode) {
  • branches/1.1dev/lib/Prefs.inc.php

    r1 r708  
    3535     * Prefs constructor.
    3636     */
    37     function Prefs($dbh=false, $params=array())
     37    function __construct($dbh=false, $params=array())
    3838    {
    3939        $this->params = $params;
  • branches/1.1dev/lib/RecordLock.inc.php

    r82 r708  
    2222     * @param string $title       A title to apply to the lock, for display purposes.
    2323     */
    24     function RecordLock($auth_object=null)
     24    function __construct($auth_object=null)
    2525    {
    2626        // Expire old locks.
  • branches/1.1dev/lib/SOAP_Google.inc.php

    r1 r708  
    6161    * @access public
    6262    */
    63     function SOAP_Google($licenseKey)
     63    function __construct($licenseKey)
    6464    {
    6565        $this->_licenseKey = $licenseKey;
  • branches/1.1dev/lib/SortOrder.inc.php

    r82 r708  
    3939     *                               current order.
    4040     */
    41     function SortOrder($default_sort = '', $default_order = '')
     41    function __construct($default_sort = '', $default_order = '')
    4242    {
    4343        global $CFG;
  • branches/1.1dev/lib/SpellCheck.inc.php

    r586 r708  
    3131     * @param  array    $params     Array of parameters (key => val pairs).
    3232     */
    33     function SpellCheck($params)
     33    function __construct($params)
    3434    {
    3535        if (!is_array($params) || empty($params)) {
Note: See TracChangeset for help on using the changeset viewer.