"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/views/src/Plugin/views/join/JoinPluginInterface.php" (26 Nov 2020, 667 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "JoinPluginInterface.php" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 9.0.8_vs_9.1.0-rc1.

    1 <?php
    2 
    3 namespace Drupal\views\Plugin\views\join;
    4 
    5 /**
    6  * Represents a join and creates the SQL necessary to implement the join.
    7  *
    8  * Extensions of this class can be used to create more interesting joins.
    9  */
   10 interface JoinPluginInterface {
   11 
   12   /**
   13    * Builds the SQL for the join this object represents.
   14    *
   15    * When possible, try to use table alias instead of table names.
   16    *
   17    * @param $select_query
   18    *   An select query object.
   19    * @param $table
   20    *   The base table to join.
   21    * @param \Drupal\views\Plugin\views\query\QueryPluginBase $view_query
   22    *   The source views query.
   23    */
   24   public function buildJoin($select_query, $table, $view_query);
   25 
   26 }