This file contains hidden or 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 getUsersDataTable(scope, $state, $stateParams, DTOptionsBuilder, DTColumnBuilder, DTColumnDefBuilder, $compile, $filter) | |
{ | |
scope.searchQuery = ''; | |
scope.dtInstanceCallback = function (dtInstance) { | |
var datatableObj = dtInstance.DataTable; | |
scope.tableInstance = datatableObj; | |
}; | |
scope.searchTable = function () { |
This file contains hidden or 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
// Filename: property-detail.component.ts | |
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app-property-detail', | |
templateUrl: './property-detail.component.html' | |
}) | |
export class PropertyDetailComponent { | |
constructor() { |
This file contains hidden or 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
/** | |
* Returns short synopsis | |
* @param $bodyString Body string | |
* @return string|null | |
*/ | |
public function getSynopsis($bodyString): ?string | |
{ | |
if (null === $bodyString) { | |
return null; | |
} |
This file contains hidden or 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
##Run the below one line string from you project root location iva your terminal. | |
alias cda="composer dump-autoload"; alias ci="composer install"; alias cu="composer update"; alias bi="bower install"; alias bu="bower update"; alias gi="gulp install"; alias ni="npm install"; alias pa="php artisan"; alias pam="php artisan migrate"; alias pamr="php artisan migrate:rollback"; alias pads="php artisan db:seed"; alias pades="php artisan db-exporter:seed"; alias pamm="php artisan make:migration"; alias pamc="php artisan make:controller"; alias pammd="php artisan make:model"; alias t="phpunit"; alias dat="php artisan app:droptables"; alias ga="git add"; alias gaa="git add ."; alias gc="git commit -m"; alias gp="git push"; alias gs="git status"; alias gl="git log" | |
## Above string in Details | |
#Composer Commands | |
alias cda="composer dump-autoload" | |
alias ci="composer install" | |
alias cu="composer update" |