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
Sublime Text 2 - Default shortcuts cheatsheet (PC keyboard) | |
----------------- | |
General | |
----------------- | |
* Go to file (CTRL + P) | |
* Go to project (CTRL + ALT + P) | |
* Go to methods (CTRL + R) | |
* Go to line (CTRL + G) | |
* Toggle side bar (CTRL + KB) |
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
/** | |
* Get criteria to limit query to match any of tags specified | |
* @access private | |
* @param array $tags | |
* @return CDbCriteria | |
*/ | |
protected function getFindByAnyTagsCriteria($tags) { | |
$criteria = new CDbCriteria(); | |
$pk = $this->getOwner()->tableSchema->primaryKey; |