Skip to content

Instantly share code, notes, and snippets.

View grizzm0's full-sized avatar

Kristofer Karlsson grizzm0

  • Gents AB
  • Helsingborg, Sweden
View GitHub Profile
@grizzm0
grizzm0 / designer.html
Created March 17, 2015 19:31
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
@grizzm0
grizzm0 / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {
@grizzm0
grizzm0 / Foo.php
Last active August 9, 2021 14:13
Best practice form/input-filter setup for ZF3
<?php
namespace Application\Entity;
/**
* Class Foo
*
* @package Application\Entity
*/
class Foo
{
<?php
namespace Module\View\Helper;
use Module\Form\FooForm;
use Zend\View\Helper\AbstractHelper;
use Zend\View\Model\ViewModel;
class FooFormHelper extends AbstractHelper
{
protected $fooForm;