- Logo
- Title
- favicon.ico
- Images
- Keywords
- Description
- Icons
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 | |
// src/Model/Entity/Record.php | |
namespace App\Model\Entity; | |
use Cake\ORM\Entity; | |
/** | |
* Record Entity. | |
*/ | |
class Record extends Entity { |
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
<?=$this->element('business_actions')?> | |
<div class="businesses form large-10 medium-9 columns"> | |
<?= $this->Form->create($entity) ?> | |
<fieldset> | |
<legend><?= __('Add Business') ?></legend> | |
<?php | |
echo $this->Form->input('name'); | |
echo $this->Form->input('url'); | |
echo $this->Form->input('description'); | |
echo $this->Form->input('businesses.0.businesstype_id', ['options' => $businesstypes]); |
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
/src/Controller/RecordsController.php (line 73) | |
object(App\Model\Entity\Record) { | |
'new' => false, | |
'accessible' => [ | |
'name' => true, | |
'url' => true, | |
'description' => true, | |
'user_id' => true, | |
'user' => true, |
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
/* CSS - Cascading Style Sheet */ | |
/* Palette color codes */ | |
/* Palette URL: http://paletton.com/#uid=33k0u0krEtvhbBXmbv9uanOyPiP */ | |
/* Feel free to copy&paste color codes to your application */ | |
/* As hex codes */ | |
.color-primary-0 { color: #15858F } /* Main Primary color */ |
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
public static function main() | |
{ | |
var appView:AppView = new AppView(); | |
var todos:Todos = getTodos(); | |
var todosView:TodosView = new TodosView(); | |
appView.addToSection(todosView); | |
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
<html> | |
<head> | |
<title>Yazı yollama ekranı</title> | |
</head> | |
<body> | |
<form action="<?php echo $_SERVER [ 'PHP_SELF' ];?>" method="post"> | |
Kullanıcı Adı: <input type="text" name="username"><br> | |
Şifre: <input type="password" name="password"><br> | |
Başlık: <input type="text" name="title"><br> | |
<textarea name="body" rows="4" cols="50" >Bu alan yazı gir |
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 Authake. | |
Author: Jérôme Combaz (jakecake/velay.greta.fr) | |
Contributors: | |
Authake is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by |
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\Model\Table; | |
use App\Model\Entity\Media; | |
use Cake\ORM\Query; | |
use Cake\ORM\RulesChecker; | |
use Cake\ORM\Table; | |
use Cake\Validation\Validator; | |
use Cake\Routing\Router; |
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 | |
class Test extends PHPUnit_Framework_TestCase | |
{ | |
// https://www.reddit.com/r/ruby/comments/l2y8m/rubyists_already_use_monadic_patterns/c2pjlt8 | |
public function testPHPImplementation(){ | |
$a ?? $a = 5; | |
$this->assertTrue($a == 5); | |
$a ?? $a = 9; |
OlderNewer