Пример #1
0
 /**
  * Constructor
  *
  * @param string $module
  */
 function __construct($module)
 {
     parent::__construct($module);
     // Call parent
     $this->photo = new suxPhoto($module);
     $this->user = new suxUser();
 }
Пример #2
0
 /**
  * Constructor
  *
  * @param string $module
  */
 function __construct($module)
 {
     parent::__construct($module);
     // Call parent
     $this->nb = new suxUserNaiveBayesian();
     $this->link = new suxLink();
 }
Пример #3
0
 /**
  * Constructor
  *
  * @param string $module
  */
 function __construct($module)
 {
     parent::__construct($module);
     // Call parent
 }
Пример #4
0
/**
* 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);
}