/** * Constructor * * @param string $module */ function __construct($module) { parent::__construct($module); // Call parent $this->photo = new suxPhoto($module); $this->user = new suxUser(); }
/** * Constructor * * @param string $module */ function __construct($module) { parent::__construct($module); // Call parent $this->nb = new suxUserNaiveBayesian(); $this->link = new suxLink(); }
/** * Constructor * * @param string $module */ function __construct($module) { parent::__construct($module); // Call parent }
/** * Highlight wrapper * * @param array $params smarty {insert} parameters * @return string html */ function insert_highlight($params) { if (!isset($params['html'])) { return false; } $html = $params['html']; $search = null; if (isset($params['search'])) { $search = $params['search']; } return suxRenderer::highlight($html, $search); }