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 Controller_Foo extends Controller | |
{ | |
public function index() | |
{ | |
return 'You got me!'; | |
} | |
public function save() |
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
$ phpunit --debug -c phpunit.xml test/unit/lib/model/FieldStoryTest.php | |
PHPUnit 3.5.15 by Sebastian Bergmann. | |
Starting test 'FieldStoryTest::testFilter with data set #0 (3, Team 1, Team Leader, NULL)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #1 (1, Team 1, Team Leader, Foo)'. | |
. | |
Starting test 'FieldStoryTest::testFilter with data set #2 (2, Team 1, Team Leader, Bar)'. | |
. |
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
javascript:(function(){var s = document.createElement('script');s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js');s.setAttribute('onload', 'removejustification()');document.getElementsByTagName('head')[0].appendChild(s);$('*').filter(function (index) {return $(this).css('text-align') == 'justify';}).css('text-align', 'left');})(); |
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
/* @group header core */ | |
#topBar{ | |
background-color: #4C94EA; | |
height: 53px !important; | |
border-bottom: 1px solid #ccc; | |
} |
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
for i in `ls .vim/colors/*.vim | cut -d/ -f3 | cut -d. -f1`; do echo "colorscheme $i" >> ~/.vimrc; echo "----"; echo $i; vim ~/app/lib/model/FieldUserPeer.php; read; done |
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
512 Query INSERT INTO field_role_permission | |
(role_id, permission_id, bottom_group_offset) | |
SELECT | |
role.id, | |
permission.id, | |
0 | |
FROM field_role AS role | |
LEFT JOIN field_permission AS permission ON (permission.name = 'group_editGoals') | |
LEFT JOIN field_role_permission AS rp ON (rp.role_id = role.id AND rp.permission_id = permission.id) |
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
1 Query CREATE TABLE `sf_guard_group_permission` | |
( | |
`group_id` INTEGER NOT NULL, | |
`permission_id` INTEGER NOT NULL, | |
PRIMARY KEY (`group_id`,`permission_id`), | |
CONSTRAINT `sf_guard_group_permission_FK_1` | |
FOREIGN KEY (`group_id`) | |
REFERENCES `sf_guard_group` (`id`) | |
ON DELETE CASCADE, | |
INDEX `sf_guard_group_permission_FI_2` (`permission_id`), |
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
1 Query CREATE TABLE `sf_guard_group_permission` | |
( | |
`group_id` INTEGER NOT NULL, | |
`permission_id` INTEGER NOT NULL, | |
PRIMARY KEY (`group_id`,`permission_id`), | |
CONSTRAINT `sf_guard_group_permission_FK_1` | |
FOREIGN KEY (`group_id`) | |
REFERENCES `sf_guard_group` (`id`) | |
ON DELETE CASCADE, | |
INDEX `sf_guard_group_permission_FI_2` (`permission_id`), |
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
1 Query CREATE TABLE `sf_guard_group_permission` | |
( | |
`group_id` INTEGER NOT NULL, | |
`permission_id` INTEGER NOT NULL, | |
PRIMARY KEY (`group_id`,`permission_id`), | |
CONSTRAINT `sf_guard_group_permission_FK_1` | |
FOREIGN KEY (`group_id`) | |
REFERENCES `sf_guard_group` (`id`) | |
ON DELETE CASCADE, | |
INDEX `sf_guard_group_permission_FI_2` (`permission_id`), |
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
1 Query CREATE TABLE `sf_guard_permission` | |
( | |
`id` INTEGER NOT NULL AUTO_INCREMENT, | |
`name` VARCHAR(255) NOT NULL, | |
`description` TEXT, | |
PRIMARY KEY (`id`), | |
UNIQUE KEY `sf_guard_permission_U_1` (`name`) | |
)Engine=InnoDB |