config = $config; $this->phpbb_root_path = $phpbb_root_path; $this->php_ext = $php_ext; } /** * Get the avatar url and dimensions * * @param $ignore_config Whether $user or global avatar visibility settings * should be ignored * @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 $user or global avatar visibility settings * should be ignored * @return string HTML */ public function get_custom_html($user_row, $ignore_config = false) { return ''; } }