Skip to content

Instantly share code, notes, and snippets.

@AmyStephen
AmyStephen / email.php
Last active August 29, 2015 13:57
What pattern does this use?
<?php
class Email implements EmailInterface
{
/**
* Email Handler
*
* @var object
* @since 1.0
*/
protected $handler;
@AmyStephen
AmyStephen / Reflection.php
Last active August 29, 2015 14:05
Creates @Covers statements for class methods
<?php
$class = new ReflectionClass('Molajo\Controller\DateController');
$methods = $class->getMethods();
foreach ($methods as $method) {
echo ' * @covers ' . $method->class . '::' . $method->name . PHP_EOL;
}
@AmyStephen
AmyStephen / TareikArtis.md
Last active September 24, 2015 17:28
Questions regarding Tareik Artis Shooting

Tareik Artis

My name is Amy Stephen. I am a long time Nebraska resident with questions for the media and Lincoln Police about the September 22, 2014, Tareik Artis shooting by the Metro Fugitive Task Force. I am a citizen sharing questions I have regarding the information shared - and not yet shared - on this shooting. I am not an attorney or a public official.

Condition

Question: What is Tareik condition? Is he still in critical condition? Has his family been able to visit him? Has his statement been taken? Have statements from the driver and other passenger been taken? Have they been arrested? If so, why? Please publish any available information from Tareik and those who were with him in the car.

Probable cause for detaining Tareik Artis

@AmyStephen
AmyStephen / 1. Molajo.php
Created April 29, 2011 19:38
Site Primary Controller: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version controller.php
* @package Molajo
* @subpackage Things Controller
* @copyright Copyright (C) 2011 Molajo. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
@AmyStephen
AmyStephen / 1. Molajo.xml
Created April 29, 2011 22:15
Site Menu Item: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<metadata>
<layout
title="COM_THINGS_THINGS_VIEW_BLOG_LAYOUT_TITLE"
option="COM_THINGS_THINGS_VIEW_BLOG_LAYOUT_OPTION"
>
<help
key = "JHELP_MENUS_MENU_ITEM_THINGS_VIEW_BLOG_LAYOUT"
/>
<message>
<![CDATA[COM_THINGS_THINGS_VIEW_BLOG_LAYOUT_DESC]]>
@AmyStephen
AmyStephen / 1. Molajo.php
Created April 29, 2011 21:03
Site Content Helper Route: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version $id: route.php
* @package Molajo
* @subpackage Route Helper
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
@AmyStephen
AmyStephen / 1. Molajo.php
Created April 29, 2011 22:06
Site Multiple Model: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version $id: things.php
* @package Molajo
* @subpackage Multiple Model
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
@AmyStephen
AmyStephen / 1. Molajo.php
Created April 29, 2011 22:35
Site Router: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version $id: router.php
* @package Molajo
* @subpackage Router
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
@AmyStephen
AmyStephen / 1. Molajo.php
Created April 30, 2011 01:21
Administrator Multiple View: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version $id: view.html.php
* @package Molajo
* @subpackage Multiple View
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;
@AmyStephen
AmyStephen / 1. Molajo.php
Created April 29, 2011 22:03
Site Single Model: Molajo (Top) comparison to Joomla! 1.6 (Bottom)
<?php
/**
* @version $id: com_thing
* @package Molajo
* @subpackage Single Model
* @copyright Copyright (C) 2011 Individual Molajo Contributors. All rights reserved.
* @license GNU General Public License Version 2, or later http://www.gnu.org/licenses/gpl.html
*/
defined('MOLAJO') or die;