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
build_settings: | |
verbose: false | |
prefer_symlink: false | |
setup: | |
composer: | |
action: "install" | |
prefer_dist: false | |
test: |
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 safed\Traits; | |
Trait DataTablesTrait{ | |
/** | |
* receices the model collection with records and return a json needed for the datatable | |
* receives de name of the Controller to generate correct URLs | |
* receives the customfields (for relations) that you want to return with the json |
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\Controller; | |
use App\Controller\AppController; | |
use Cake\Network\Email\Email; | |
/** | |
* Users Controller | |
* | |
* @property \App\Model\Table\UsersTable $Users |
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
<select id="subject_id" name="subject_id" placeholder="Selecione um assunto..." > | |
<option value="">Selecione um assunto...</option> | |
@foreach ($subjects as $subject) | |
<option value="{{$subject->id}} "> | |
{{$subject->description}} | |
</option> | |
@endforeach | |
</select> |
NewerOlder