You are here

interface RecommenderInterface in Recommender API 7.6

Hierarchy

Expanded class hierarchy of RecommenderInterface

All classes that implement RecommenderInterface

File

classes/Recommender.php, line 17

View source
interface RecommenderInterface {

  /**
   * Initialize the recommender settings from $params. No complexity should be introduced here.
   * @param $params
   * @return null
   */
  public function initialize($params);

  /**
   * Do all computation here.
   * @return null
   */
  public function execute();

  /**
   * Save data to database, etc.
   * @return mixed any data that should be returned.
   */
  public function finalize();

}

Members

Namesort descending Modifiers Type Description Overrides
RecommenderInterface::execute public function Do all computation here. 1
RecommenderInterface::finalize public function Save data to database, etc. 1
RecommenderInterface::initialize public function Initialize the recommender settings from $params. No complexity should be introduced here. 1