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
/** | |
* Simple sql format date | |
* | |
* @param string $format | |
* @return string | |
*/ | |
function now($dayOnly=false) | |
{ | |
return date($dayOnly ? 'Y-m-d' : 'Y-m-d H:i:s'); | |
} |
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
<?php | |
class Trollweb_Kreditor_IndexController extends Mage_Core_Controller_Front_Action | |
{ | |
public function indexAction() | |
{ | |
die('yeah!'); | |
} | |
} |
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
<?php | |
$mainTable = new Zend_Db_Expr('(' . $collection->getSelect() . ')'); | |
$collection->getSelect() | |
->reset() | |
->from($mainTable); | |
$this->setCollection($collection); | |
return parent::_prepareCollection(); |
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
Mage_Core_Model_Resource_Store_Collection: 1 | |
Mage_Core_Model_Resource_Website_Collection: 1 | |
Mage_Core_Model_Resource_Store_Group_Collection: 1 | |
Mage_Catalog_Model_Resource_Product_Attribute_Collection: 0 | |
Mage_Catalog_Model_Resource_Product_Option_Collection: 0 | |
Mage_Catalog_Model_Resource_Product_Link_Product_Collection: 0 | |
Mage_Reports_Model_Resource_Product_Index_Viewed_Collection: 0 | |
Mage_Poll_Model_Resource_Poll_Answer_Collection: 0 |
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
<?xml version="1.0"?> | |
<!-- | |
/** | |
* @package Made_Cache | |
* @author [email protected] | |
* @copyright Copyright (c) 2012 Made People AB. (http://www.madepeople.se/) | |
*/ | |
--> | |
<layout version="0.1.0"> | |
<default> |
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
package controllers; | |
import play.*; | |
import play.mvc.*; | |
import play.data.*; | |
import views.html.login.*; | |
import models.*; | |
public class Authentication extends Controller { |
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
@(loginForm: Form[User]) | |
Test test |
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
<?php | |
class Module | |
{ | |
public function getAutoloaderConfig() | |
{ | |
return array( | |
'Zend\Loader\ClassMapAutoloader' => array( | |
__DIR__ . '/autoload_classmap.php', | |
), |
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
<block type="core/text" name="js_stuff"> | |
<action method="setText"> | |
<text><![CDATA[<script type="text/javascript" src="http://whatevs"></script>]]></text> | |
</action> | |
</block> |
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
A java.lang.IllegalStateException exception has occurred. | |
Please report this at http://www.netbeans.org/community/issues.html, | |
including a copy of your messages.log file as an attachment. | |
The messages.log file is located in your /Users/js/Library/Application Support/NetBeans/7.2/var/log folder. | |
--------------------------------------------------------------------------- | |
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.openide.util.actions.ActionInvoker$2 | |
java.lang.IllegalStateException: Current state = FLUSHED, new state = CODING_END | |
at java.nio.charset.CharsetEncoder.throwIllegalStateException(CharsetEncoder.java:951) |
OlderNewer