|
dbXapp 2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
|
Go to the source code of this file.
Functions | |
| if(! $logo) | c ($img, int $r, int $g, int $b, int $a=0) |
| roundedRect ($img, int $x, int $y, int $w, int $h, int $r, int $color) | |
| gradientBackground ($img) | |
| addLogo ($img, $logo, int $x, int $y, int $w, int $h) | |
| addTitle ($img, string $title, string $subtitle='') | |
| drawShine ($img, int $x, int $y, int $w, int $h) | |
| drawMug ($img, $logo, string $bodyColor) | |
| drawShirt ($img, $logo, string $kind) | |
| drawFlatProduct ($img, $logo, string $type) | |
| drawAccessory ($img, $logo, string $type) | |
| createMockup ($logo, string $type, string $title, string $file) | |
Variables | |
| $root = dirname(__DIR__, 4) | |
| $logoFile = $root . '/dbXapp-Logo.jpeg' | |
| $outDir = $root . '/files/shop/img' | |
| if(!extension_loaded('gd')) if(!is_file( $logoFile)) if(!is_dir($outDir)) | $logo = imagecreatefromjpeg($logoFile) |
| $specs | |
| $repo = dbx()->get_include_obj('dbxShopRepository', 'dbxShop') | |
| $count = 0 | |
| addLogo | ( | $img, | |
| $logo, | |||
| int | $x, | ||
| int | $y, | ||
| int | $w, | ||
| int | $h ) |
Definition at line 55 of file generate_dbxapp_merch_mockups.php.
References $logo.
Referenced by drawAccessory(), and drawFlatProduct().
| addTitle | ( | $img, | |
| string | $title, | ||
| string | $subtitle = '' ) |
Definition at line 61 of file generate_dbxapp_merch_mockups.php.
References c().
| if(! $logo) c | ( | $img, | |
| int | $r, | ||
| int | $g, | ||
| int | $b, | ||
| int | $a = 0 ) |
Definition at line 27 of file generate_dbxapp_merch_mockups.php.
Referenced by addTitle(), drawAccessory(), drawFlatProduct(), drawMug(), drawShine(), and drawShirt().
| createMockup | ( | $logo, | |
| string | $type, | ||
| string | $title, | ||
| string | $file ) |
Definition at line 219 of file generate_dbxapp_merch_mockups.php.
References $logo.
| drawAccessory | ( | $img, | |
| $logo, | |||
| string | $type ) |
Definition at line 138 of file generate_dbxapp_merch_mockups.php.
References $logo, addLogo(), c(), drawShine(), and roundedRect().
| drawFlatProduct | ( | $img, | |
| $logo, | |||
| string | $type ) |
Definition at line 115 of file generate_dbxapp_merch_mockups.php.
References $logo, addLogo(), c(), if, and roundedRect().
| drawMug | ( | $img, | |
| $logo, | |||
| string | $bodyColor ) |
Definition at line 75 of file generate_dbxapp_merch_mockups.php.
| drawShine | ( | $img, | |
| int | $x, | ||
| int | $y, | ||
| int | $w, | ||
| int | $h ) |
Definition at line 70 of file generate_dbxapp_merch_mockups.php.
References c().
Referenced by drawAccessory().
| drawShirt | ( | $img, | |
| $logo, | |||
| string | $kind ) |
Definition at line 90 of file generate_dbxapp_merch_mockups.php.
| gradientBackground | ( | $img | ) |
Definition at line 40 of file generate_dbxapp_merch_mockups.php.
| roundedRect | ( | $img, | |
| int | $x, | ||
| int | $y, | ||
| int | $w, | ||
| int | $h, | ||
| int | $r, | ||
| int | $color ) |
Definition at line 31 of file generate_dbxapp_merch_mockups.php.
Referenced by drawAccessory(), and drawFlatProduct().
| $count = 0 |
Definition at line 270 of file generate_dbxapp_merch_mockups.php.
Referenced by dbxForm\add_flds(), dbxDD\backup(), dbxFileWalker\clear(), dbxDB\count(), dbxFileWalker\create_que(), dbxReport\del_selected(), dbxDB\delete(), dbxDB\delete_query(), dbxReport\fast_response_rows_json(), dbxFileWalker\filewalker(), dbxReport\get_count_selects(), dbxDB\get_db_tables(), dbxDD\get_dd_tables(), dbx\dbxKi\dbxKiWritingStyles\parseFormRows(), dbxProcess\process(), dbxReport\render_table_header_action_block(), dbxReport\render_table_header_data_columns(), dbxInterpreter\run(), dbxReport\run(), dbxReport\run(), dbxReport\split_tpl(), and dbxDB\update().
| if(!extension_loaded( 'gd')) if(!is_file($logoFile)) if (!is_dir( $outDir)) $logo = imagecreatefromjpeg($logoFile) |
Definition at line 21 of file generate_dbxapp_merch_mockups.php.
Referenced by addLogo(), createMockup(), drawAccessory(), drawFlatProduct(), drawMug(), and drawShirt().
| $logoFile = $root . '/dbXapp-Logo.jpeg' |
Definition at line 5 of file generate_dbxapp_merch_mockups.php.
| $outDir = $root . '/files/shop/img' |
Definition at line 6 of file generate_dbxapp_merch_mockups.php.
| $repo = dbx()->get_include_obj('dbxShopRepository', 'dbxShop') |
Definition at line 268 of file generate_dbxapp_merch_mockups.php.
| $root = dirname(__DIR__, 4) |
Definition at line 4 of file generate_dbxapp_merch_mockups.php.
Referenced by dbx_serve_content_media_request(), dbx\dbxContent\dbxContentPageCache\invalidateMenu(), dbx\dbxContent\dbxContentPageCache\menuPath(), dbx\dbxContent\dbxContentPageCache\readMenu(), dbx\dbxMenu\dbxContent_menu\render_flat_marker(), dbx\dbxMenu\dbxContent_menu\render_placeholder(), dbx\dbxMenu\dbxContent_menu\run(), dbxWebApp\run(), and dbx\dbxContent\dbxContentPageCache\writeMenu().
| $specs |
Definition at line 242 of file generate_dbxapp_merch_mockups.php.
Referenced by mod_specs_for_module().