public function renderHint(array $params) { $hint = new HINT_CMP_UserHint($params['userId']); return array('body' => $hint->render(), 'topCorner' => $hint->renderTopCover(), 'rightCorner' => $hint->renderRightCover(), 'bottomCorner' => $hint->renderBottomCover()); }
public function __construct($entityType, $params = array()) { $this->entityType = $entityType; $this->params = $params; parent::__construct(0); }