\PopulateSearch

Ricrea la tabella di ricerca ad ogni esecuzione, e la popola con i dati prelevati dai DataObject

Synopsis

class PopulateSearch extends BuildTask {
  • // members
  • protected string $title = 'Populate Search';
  • protected string $description = 'Re-create the search table at each run, and populate it with the data from the DataObject.';
}

Hierarchy

Extends

  • BuildTask

Members

protected

  • $description — string
  • $title — string

Methods

private

public

  • insert() — Refactor the DataObject in order to match with SearchableDataObjects table and insert it into the database
  • insertPage() — Clean page's title and content and insert it into SearchableDataObjects
  • run() — Task run