Protected Member Functions | |
getDefaultPicture () | |
Protected Member Functions inherited from Galette\Core\Logo | |
getCheckFileQuery () | |
Protected Member Functions inherited from Galette\Core\Picture | |
buildDestPath () | |
Protected Attributes | |
string int | $id = 'custom_print_logo' |
int | $db_id = 999999 |
Protected Attributes inherited from Galette\Core\Logo | |
string int | $id = 'custom_logo' |
int | $db_id = 0 |
bool | $custom = true |
Protected Attributes inherited from Galette\Core\Picture | |
store as | trait_store |
getMimeType as | trait_getMimeType |
string | $tbl_prefix = '' |
string int | $id |
int | $db_id |
int | $height |
int | $width |
int | $optimal_height |
int | $optimal_width |
string | $file_path |
string | $format |
string | $mime |
bool | $has_picture = false |
string | $store_path = GALETTE_PHOTOS_PATH |
int | $max_width = 200 |
int | $max_height = 200 |
Additional Inherited Members | |
Public Member Functions inherited from Galette\Core\Logo | |
__construct () | |
isCustom () | |
Public Member Functions inherited from Galette\Core\Picture | |
__construct (string|int|null $id_adh=null) | |
__wakeup () | |
getContents () | |
display (Response $response) | |
delete (bool $transaction=true) | |
store (array $file, bool $ajax=false, array $cropping=null) | |
writeOnDisk (string $tmpfile, bool $ajax) | |
getOptimalHeight () | |
getHeight () | |
getOptimalWidth () | |
getWidth () | |
getFormat () | |
hasPicture () | |
getPath () | |
getMime () | |
getErrorMessage (int $code) | |
Static Public Member Functions inherited from Galette\Core\Picture | |
static | getMimeType (string $file) |
Public Attributes inherited from Galette\Core\Picture | |
const | SQL_ERROR = -10 |
const | SQL_BLOB_ERROR = -11 |
const | TABLE = 'pictures' |
const | PK = Adherent::PK |
Public Attributes inherited from Galette\IO\FileInterface | |
const | INVALID_FILENAME = -1 |
const | INVALID_EXTENSION = -2 |
const | FILE_TOO_BIG = -3 |
const | IMAGE_TOO_SMALL = -4 |
const | MIME_NOT_ALLOWED = -5 |
const | NEW_FILE_EXISTS = -6 |
const | INVALID_FILE = -7 |
const | CANT_WRITE = -8 |
const | MAX_FILE_SIZE = 2048 |
const | MIN_CROP_SIZE = 267 |
This class stores a logo for printing that could be different from the default one. If no print logo is found, we take the default Logo instead.
|
protected |
Gets the default picture to show, anyway
Reimplemented from Galette\Core\Logo.