helper->url->href('AvatarFile', 'image', array('user_id' => $user['id'], 'size' => $size)); $title = $this->helper->text->e($user['name'] ?: $user['username']); return '' . $title . ''; } /** * Determine if the provider is active * * @access public * @param array $user * @return boolean */ public function isActive(array $user) { return !empty($user['avatar_path']); } }