19 declare(strict_types=1);
28 private const _AS =
'as';
36 public function __construct(
private string $table_name,
private string $field_name, ?
string $alias =
null)
38 $this->converted_table_name = $table_name;
39 $this->original_table_name = $table_name;
41 if (
null !== $alias) {
42 $this->converted_table_name = $table_name .
' ' . self::_AS .
' ' . $alias;
43 $this->table_name = $alias;
44 $this->original_table_name = $table_name;
55 return $this->table_name . self::COMBINE_TABLE_AND_FIELD . $this->field_name;
60 return $this->field_name;
string $original_table_name
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
string $converted_table_name
const COMBINE_TABLE_AND_FIELD
__construct(private string $table_name, private string $field_name, ?string $alias=null)