Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Database
Select.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Database
;
4
8
class
Select
extends
QueryBuilder
{
9
13
public
static
function
fromTable
(
$table
, $alias = null) {
14
$connection =
_elgg_services
()->db->getConnection(
'read'
);
15
16
$qb
=
new
static
($connection);
17
$qb
->from(
$table
, $alias);
18
19
return
$qb
;
20
}
21
}
Elgg\Database\QueryBuilder
Database abstraction query builder.
Definition:
QueryBuilder.php:18
Elgg\Database\Select\fromTable
static fromTable($table, $alias=null)
{}
Definition:
Select.php:13
_elgg_services
_elgg_services()
Get the global service provider.
Definition:
elgglib.php:346
Elgg\Database
Definition:
AccessCollections.php:3
$qb
$qb
Definition:
queue.php:11
Elgg\Database\Select
Query builder for fetching data from the database.
Definition:
Select.php:8
$table
$table
Definition:
cron.php:64
Generated on Sat Sep 23 2023 00:02:26 for Elgg by
1.8.11