// Ascending order
Partner::model()->findAll(array('order' => 'company'));
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
<Configuration status="debug" name="your-project" packages=""> | |
<Appenders> | |
<!-- Console logging --> | |
<Console name="stdout" target="SYSTEM_OUT"> | |
<!-- Console logging pattern --> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %p %m%n"/> | |
</Console> | |
<!-- Rolling file logging with a new folder for each new month --> |
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
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var argv = require('minimist')(process.argv); | |
var prompt = require('gulp-prompt'); | |
var rsync = require('gulp-rsync'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var browserSync = require('browser-sync'); | |
var useref = require('gulp-useref'); |
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
/** | |
* Detect outside clicks | |
* @param node - The node to detect outside clicks. The callback will be executed when outside of this node click is detected | |
* @param callback - The callback to execute when an outside click is detected | |
* @param excludes - The ids of the nodes to exclude from the outside click detection | |
*/ | |
export function outsideClick( | |
node: Node, |