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 | |
$ext_dir = pathinfo(dirname(dirname(__FILE__)), PATHINFO_BASENAME); | |
eval('function ' . $ext_dir . '_ContentActionHandler(&$module, &$http, &$objectID){$a = new stdClass; var_dump($a);}'); | |
// myextension_ContentActionHandler(new stdClass, new stdClass, new stdClass); |
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 ezcMvcXsltViewHandler implements ezcMvcViewHandler | |
{ | |
/** | |
* Contains the template object | |
* | |
* @var XSLTProcessor | |
*/ | |
protected $template; |
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 | |
/** | |
* ezpMobileDeviceRegexpFilter but with no redirection | |
*/ | |
class ezpMobileDeviceRegexpFilterWithoutRedirection extends ezpMobileDeviceRegexpFilter | |
{ | |
/** | |
* A redirect function which don't redirect | |
*/ | |
public function redirect(){} |
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
%form{ :method=>'post', :action=>$action } | |
%h1.maincontentheader = $title | |
- foreach ($warnings as $warning) | |
.warning[$warning] | |
%h2 = $warning->message | |
%ul | |
%li = $warning->hint | |
- foreach ($fields as $field) |
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
WITH RECURSIVE ezcontentobject_ancestors(node_id, parent_node_id) AS ( | |
SELECT node_id, parent_node_id | |
FROM ezcontentobject_tree | |
WHERE parent_node_id > 0 | |
UNION | |
SELECT parents.node_id, ancestors.parent_node_id | |
FROM ezcontentobject_tree as parents, ezcontentobject_ancestors as ancestors | |
WHERE parents.parent_node_id = ancestors.node_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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Geek Koder</title> | |
<script> | |
/** | |
* @description Geek Code Decoder (originally written Extension for Firefox ) | |
* @author Bhasker V Kode | |
* @date hacked up in the early hours of Feb 23,2007 . |
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 | |
/** | |
* @author Charles-Edouard Coste | |
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License | |
*/ | |
include_once 'ezc/Base/ezc_bootstrap.php'; | |
$soap_request = <<<EOD |
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
FadeTransitionRegion = Backbone.Marionette.Region.extend | |
show: (view)-> | |
@ensureEl() | |
view.render() | |
@close -> | |
return if @currentView and @currentView isnt view | |
@currentView = view |
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
# Backbone.js 1.0.0 | |
# (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc. | |
# (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
# Backbone may be freely distributed under the MIT license. | |
# For all details and documentation: | |
# http:#backbonejs.org | |
(-> |
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 Table | |
{ | |
private $name; | |
public function __construct( $name ) | |
{ | |
$this->name = $name; | |
} |