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 | |
/** | |
* This is the model class for table "reply". | |
* | |
* The followings are the available columns: | |
* @property string $id | |
* @property string $threadId | |
* @property string $alias | |
* @property string $subject |
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 | |
Yii::setPathOfAlias('Coalmine', __DIR__ . '/../lib/Coalmine'); | |
/** | |
* Coalmine error handler. | |
* | |
* Example configuration: | |
* | |
* 'errorHandler' => array( |
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 WeightBehavior extends CActiveRecordBehavior | |
{ | |
/** | |
* @var string the name of the weight attribute. | |
*/ | |
public $weightAttribute = 'weight'; | |
/** |
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 Crisu83\PhpExpression; | |
/** | |
* Class that represents a php expression. | |
*/ | |
class Expression | |
{ | |
/** |
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 | |
ini_set('display_errors', 1); | |
ini_set('error_reporting', E_ALL); | |
require_once(__DIR__ . '/src/Crisu83/PhpExpression/Expression.php'); | |
require_once(__DIR__ . '/src/Crisu83/PhpExpression/Exception/NotSafe.php'); | |
require_once(__DIR__ . '/src/Crisu83/PhpExpression/Exception/Runtime.php'); | |
require_once(__DIR__ . '/src/Crisu83/PhpExpression/Exception/Syntax.php'); |
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 | |
/** | |
* 'filters' => array( | |
* 'myFilter' => array( | |
* array('thumbnail', 'width' => 120, 'height' => 90, 'mode' => 'inset'), | |
* ), | |
* ), | |
*/ | |
use Imagine\Filter\FilterInterface; |
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 | |
/** | |
* DeployCommand class file. | |
* @author Christoffer Niska <christoffer.niska@gmail.com> | |
* @copyright Copyright © Christoffer Niska 2013- | |
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License | |
* @package crisu83.yii-deploy.commands | |
*/ | |
/** |
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 | |
/** | |
* ProcessCommand class file. | |
* @author Christoffer Niska <christoffer.niska@gmail.com> | |
* @copyright Copyright © Christoffer Niska 2013- | |
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License | |
* @package crisu83.yii-deploymenttools.commands | |
*/ | |
/** |
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 | |
use Codeception\Util\Stub; | |
Yii::import('bootstrap.helpers.TbHtml'); | |
Yii::import('bootstrap.tests.unit.Dummy'); | |
class TbHtmlTest extends \Codeception\TestCase\Test | |
{ | |
/** | |
* @var \CodeGuy |
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 Codeception\Module; | |
class CodeHelper extends \Codeception\Module | |
{ | |
/** | |
* @param \Symfony\Component\DomCrawler\Crawler $node | |
* @param string $text | |
*/ | |
public function seeNodeText($node, $text) |