TriggerPreviewCommand::render

public TriggerPreviewCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/views/src/Ajax/TriggerPreviewCommand.php, line 17 Class TriggerPreviewCommand Provides an AJAX command for triggering the views live preview. Namespace Drupal\views\Ajax Code public function render() { return array( 'command' => 'viewsTriggerPreview', ); }

Truncate

General class for an abstracted TRUNCATE operation. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Truncate File core/lib/Drupal/Core/Database/Query/Truncate.php, line 12 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description Query::$comments protected property An array of comments that can be prepended to a query. Query::$connection protected property The connection object

Truncate

MySQL implementation of \Drupal\Core\Database\Query\Truncate. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Truncateclass \Drupal\Core\Database\Driver\mysql\Truncate File core/lib/Drupal/Core/Database/Driver/mysql/Truncate.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description Query::$comments protected property An array of comments that can be prepended to a

Truncate

SQLite implementation of \Drupal\Core\Database\Query\Truncate. SQLite doesn't support TRUNCATE, but a DELETE query with no condition has exactly the effect (it is implemented by DROPing the table). Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Truncateclass \Drupal\Core\Database\Driver\sqlite\Truncate File core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php, line 13 Namespace Drupal\Core\Database\Driver\sqlite

Truncate

PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Truncateclass \Drupal\Core\Database\Driver\pgsql\Truncate File core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Query::$comments protected property An array of comments that can be prepended

Truncate::$table

The table to truncate. Type: string File core/lib/Drupal/Core/Database/Query/Truncate.php, line 19 Class Truncate General class for an abstracted TRUNCATE operation. Namespace Drupal\Core\Database\Query Code protected $table;

Truncate::compile

public Truncate::compile(Connection $connection, PlaceholderInterface $queryPlaceholder) File core/lib/Drupal/Core/Database/Query/Truncate.php, line 40 Class Truncate General class for an abstracted TRUNCATE operation. Namespace Drupal\Core\Database\Query Code public function compile(Connection $connection, PlaceholderInterface $queryPlaceholder) { return $this->condition->compile($connection, $queryPlaceholder); }

Truncate::compiled

public Truncate::compiled() File core/lib/Drupal/Core/Database/Query/Truncate.php, line 47 Class Truncate General class for an abstracted TRUNCATE operation. Namespace Drupal\Core\Database\Query Code public function compiled() { return $this->condition->compiled(); }

Truncate::execute

public Truncate::execute() Executes the TRUNCATE query. Return value Return value is dependent on the database type. Overrides Query::execute File core/lib/Drupal/Core/Database/Query/Truncate.php, line 57 Class Truncate General class for an abstracted TRUNCATE operation. Namespace Drupal\Core\Database\Query Code public function execute() { return $this->connection->query((string) $this, array(), $this->queryOptions); }

Truncate::execute

public Truncate::execute() Executes the TRUNCATE query. Return value Return value is dependent on the database type. Overrides Truncate::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php, line 15 Class Truncate PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { $this->connection->addSavepoint(); try { $result = parent::execute(); } catch (\Exception $e) {