| | |
| | | /** |
| | | * Returns supported font-family specifications |
| | | * |
| | | * @param string $font Font name |
| | | * @param string $font Font name |
| | | * |
| | | * @param string|array Font-family specification array or string (if $font is used) |
| | | */ |
| | |
| | | /** |
| | | * Create a human readable string for a number of bytes |
| | | * |
| | | * @param int Number of bytes |
| | | * @param string Size unit |
| | | * @param int $bytes Number of bytes |
| | | * @param string &$unit Size unit |
| | | * |
| | | * @return string Byte string |
| | | */ |
| | |
| | | /** |
| | | * Returns real size (calculated) of the message part |
| | | * |
| | | * @param rcube_message_part Message part |
| | | * @param rcube_message_part $part Message part |
| | | * |
| | | * @return string Part size (and unit) |
| | | */ |
| | |
| | | * Get resource file content (with assets_dir support) |
| | | * |
| | | * @param string $name File name |
| | | * |
| | | * @return string File content |
| | | */ |
| | | public function get_resource_content($name) |
| | | { |