ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilADTInternalLinkSearchBridgeSingle.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
12 {
13  const SQL_STRICT = 1;
14  const SQL_LIKE = 2;
15  const SQL_LIKE_END = 3;
16  const SQL_LIKE_START = 4;
17 
18  private $title_query = '';
19 
25  protected function isValidADTDefinition(\ilADTDefinition $a_adt_def)
26  {
27  return $a_adt_def instanceof ilADTInternalLinkDefinition;
28  }
29 
30 
31  /*
32  * Add search property to form
33  */
34  public function addToForm()
35  {
36  $title = new ilTextInputGUI($this->getTitle(), $this->getElementId());
37  $title->setSize(255);
38  $this->addToParentElement($title);
39  }
40 
41  public function setTitleQuery(string $query) : void
42  {
43  $this->title_query = $query;
44  }
45 
46  public function getTitleQuery() : string
47  {
48  return $this->title_query;
49  }
50 
57 
70 
99 
147 
$query
isValidADTDefinition(\ilADTDefinition $a_adt_def)
Is valid type.
ADT definition base class.
getElementId()
Get element id.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.