config = $config; $this->phpbb_root_path = $phpbb_root_path; $this->phpEx = $phpEx; $this->cache = $cache; } /** * Get the avatar url and dimensions * * @param $ignore_config Whether this function should respect the users/board * configuration option, or should just render the avatar anyways. * Useful for the ACP. * @return array Avatar data */ public function get_data($user_row, $ignore_config = false) { return array( 'src' => '', 'width' => 0, 'height' => 0, ); } /** * Returns custom html for displaying this avatar. * Only called if $custom_html is true. * * @param $ignore_config Whether this function should respect the users/board * configuration option, or should just render the avatar anyways. * Useful for the ACP. * @return string HTML */ public function get_custom_html($user_row, $ignore_config = false) { return ''; } /** * @TODO **/ public function handle_form($template, $user_row, &$error, $submitted = false) { return false; } }