PHP Classes
elePHPant
Icontem

File: src/JQuery/Dom/Call/Method.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Jaxon  >  src/JQuery/Dom/Call/Method.php  >  Download  
File: src/JQuery/Dom/Call/Method.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Jaxon
Call PHP classes from JavaScript using AJAX
Author: By
Last change: Apply fixes from StyleCI
Fixed some errors detected by Scrutinizer.
Date: 1 year ago
Size: 570 bytes
 

Contents

Class file image Download
<?php

namespace Jaxon\JQuery\Dom\Call;

use
Jaxon\Request\JsCall;

class
Method extends JsCall
{
   
/**
     * The constructor.
     *
     * @param string $sMethod The jQuery function
     * @param array $aArguments The arguments of the jQuery function
     */
   
public function __construct($sMethod, $aArguments)
    {
       
parent::__construct($sMethod);
       
// Always use single quotes
       
$this->useSingleQuotes();
       
// Add the arguments to the parameter list
       
$this->addParameters($aArguments);
    }
}