This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the VayesIMS package. | |
* | |
* (c) Yahya ERTURAN <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="files" id="previews"> | |
<div id="template" class="vayes-file-row"> | |
<div class="col-xs-6 col-sm-1 col-md-1"> | |
<div class="vayes-vac-wrapper"> | |
<div class="vayes-vac-element"> | |
<div class="preview"> | |
<img class="img-responsive img-circle" data-dz-thumbnail /> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Form; | |
use App\Entity\Business; | |
use App\Entity\User; | |
use Doctrine\ORM\EntityRepository; | |
use Symfony\Bridge\Doctrine\Form\Type\EntityType; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\Extension\Core\Type\BirthdayType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helper; | |
use Symfony\Component\HttpFoundation\JsonResponse; | |
use Symfony\Component\Translation\TranslatorInterface; | |
class XhrResponse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. composer require server --dev | |
symfony/process (v4.1.6) | |
symfony/web-server-bundle (v4.1.6) | |
Symfony operations: 1 recipe (418553c035c1340534830260d374a8d2) | |
- Configuring symfony/web-server-bundle (>=3.3): | |
2. composer require make --dev | |
Using version ^1.8 for symfony/maker-bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function get_page_data($lang,$id_page,$result_type = 'row') | |
function get_page($arguments=array(),$lang='tr',$id_page=0,$media_type='ibs',$media_limit=0) | |
function get_page_media($arguments=array(),$id_page='1',$media_type='isl',$limit=0) | |
function get_article_media($arguments=array(),$id_article='',$media_type='isl',$limit=0) | |
function get_sub_pages($arguments=array(),$lang='tr',$id_page='0',$media_type='',$limit = '0',$result_type='result') | |
function get_navigation($arguments=array(),$lang='tr',$id_menu=1,$type='list',$online_only=true,$max_depth='0',$sub_nav='0',$ul_class='',$active_class='', $active_segment=2,$use_span=false) | |
function get_articles($arguments=array(),$lang='tr',$id_page='',$id_article='',$media_type='',$limit='0',$order_by='a.logical_date',$asc_desc='desc',$result_type='result') | |
function get_articles_by_category($arguments=array(),$lang='tr',$id_page = 0, $id_category='',$media_type='',$limit='0',$order_by='a.logical_date',$asc_desc='desc',$result_type='result') | |
function get |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Creates an array first with given numbers | |
# Dumps it to db with 250 records/insert intervals | |
# You may need to adjust your php settings: | |
# ini_set('memory_limit', '1024M'); | |
# ini_set('max_execution_time', 300); //300 seconds = 5 minutes | |
/** | |
* Users Seeds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Added by Yahya ERTURAN | |
export PATH=$PATH:$HOME/bin | |
# Added by Yahya ERTURAN for NodeJS & NPM | |
export PATH=$HOME/.npm-global/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"auto_find_in_selection": true, | |
"color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme", | |
"default_line_ending": "unix", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "Monaco", | |
"font_size": 12, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="tr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Vayes Web Yazılım</title> | |
<meta name="description" content="Vayes Web Yazılım - Web Tasarım"> | |
<meta name="author" content="Vayes"> | |