public function isAdmin($user) { $adminRole = Configure::read('AuthRoles.admin');return $user['access_level'] >= $adminRole;
$user = null
$adminRole = (int) 90
User::isAdmin() - APP/Model/User.php, line 65
AppController::beforeFilter() - APP/Controller/AppController.php, line 73
RecipesController::beforeFilter() - APP/Controller/RecipesController.php, line 23
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): Trying to access array offset on value of type null [APP/Model/User.php, line 70]
public function isEditor($user) { $editorRole = Configure::read('AuthRoles.editor');return $user['access_level'] >= $editorRole;
$user = null
$editorRole = (int) 60
User::isEditor() - APP/Model/User.php, line 70
AppController::beforeFilter() - APP/Controller/AppController.php, line 74
RecipesController::beforeFilter() - APP/Controller/RecipesController.php, line 23
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 677
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): Trying to access array offset on value of type null [APP/Model/User.php, line 70]
public function isEditor($user) { $editorRole = Configure::read('AuthRoles.editor');return $user['access_level'] >= $editorRole;
$user = null
$editorRole = (int) 60
User::isEditor() - APP/Model/User.php, line 70
RecipesController::view() - APP/Controller/RecipesController.php, line 145
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: etagMatches [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171]
compact - [internal], line ??
CakeResponse::checkNotModified() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171
RequestHandlerComponent::beforeRender() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/RequestHandlerComponent.php, line 285
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 936
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: timeMatches [APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171]
compact - [internal], line ??
CakeResponse::checkNotModified() - APP/Vendor/cakephp/cakephp/lib/Cake/Network/CakeResponse.php, line 1171
RequestHandlerComponent::beforeRender() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Component/RequestHandlerComponent.php, line 285
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 936
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Recipes/view.ctp',
(int) 1 => '<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 474
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 474
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 524
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 524
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 932
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 932
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction',
(int) 2 => 'Session'
)
$result = null
$name = 'Html'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction',
(int) 2 => 'Session'
)
$result = null
$name = 'Fraction'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/amcguire/mcguireclan.org/phprecipebook/View/Layouts/default.ctp',
(int) 1 => '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
PHPRecipeBook:
Recipes </title>
<link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="icon"/><link href="/phprecipebook/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/toastr.min.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/jquery.qtip.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/rateit.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/cake.generic.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/default.css"/><link rel="stylesheet" type="text/css" href="/phprecipebook/css/print.css"/><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/jquery-ui.min.js"></script><script type="text/javascript" src="/phprecipebook/js/toastr.min.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.qtip.js"></script><script type="text/javascript" src="/phprecipebook/js/jquery.rateit.min.js"></script><script type="text/javascript" src="/phprecipebook/js/default.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
initApplication("/phprecipebook/");
});
// Global Variables
var applicationContext = "recipes"; // Default context
</script>
<div id="container">
<div id="header">
</div>
<div id="recipeLinkBoxContainer"></div>
<div id="main" class="constrain borderStyle">
<nav id="navigation-menu">
<ul>
<li><a href="/phprecipebook/recipes" class="ajaxNavigation"
title="Browse your recipes">Recipes</a></li>
<li><a href="/phprecipebook/restaurants" class="ajaxNavigation higherRes"
title="List of your restaurants">Restaurants</a></li>
<li><div id="searchHolder">
<form id="searchEverythingForm">
<span>
<input type="text" class="searchTextBox" placeholder="Search Recipes" />
<img src="/phprecipebook/img/clearBtn.png" class="cancelBtn"/>
</span>
</form>
</li>
<li>
<a href="/phprecipebook/users/login" id="signInButton"
title="Sign in with your existing account">Sign in</a>
</li>
</ul>
</nav>
<div id="content">
<script type="text/javascript">
$(function() {
$('#qtipSource').qtip({ // Grab some elements to apply the tooltip to
content: {
text: $('#qtipSourceData').html()
},
style: { classes: 'qtip-dark' }
});
$('#viewRefresh').click(function() {
var newServings = $('#viewServings').val();
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('#doubleRefresh').click(function() {
var newServings = $('#viewServings').val() * 2;
ajaxNavigate("recipes/view/27/" + newServings);
return false;
})
$('.rateit').rateit();
});
function loadImage(imageUrl, caption) {
$('#selectedRecipeImage img').attr('src', imageUrl).attr('title', caption);
return false;
}
</script>
<div class="recipes view">
<h2>Samosas - Beef</h2>
<div class="rateit"
data-rateit-value="0"
title="0 out of 5 stars"
data-rateit-ispreset="true"
data-rateit-readonly="true">
</div>
<a href="/phprecipebook/reviews/index/27">0 Review(s)</a> <div class="actions">
<ul>
<li><a href="#" onclick="window.print();">Print</a></li>
</ul>
<div style="display: none;">
<ul id="moreActionLinksContent">
<li><a href="/phprecipebook/import" class="ajaxNavigation">Import</a> </li>
<li><a href="/phprecipebook/export/edit" class="ajaxNavigation">Export</a> </li>
</ul>
</div>
</div>
<dl class="float50Section">
<dt>Ethnicity</dt>
<dd>
Middle Eastern
</dd>
<dt>Base Type</dt>
<dd>
Beef
</dd>
<dt>Course</dt>
<dd>
Side Dish
</dd>
<dt>Preparation Time</dt>
<dd>
30-60 Minutes
</dd>
<dt>Difficulty</dt>
<dd>
Intermediate
</dd>
<dt>Serving Size</dt>
<dd>
<input type="text" id="viewServings" value="21"/>
<a id="viewRefresh" href="#">Refresh</a> /
<a id="doubleRefresh" href="#">Double it</a>
</dd>
</dl>
<dl class="float50Section">
<dt>Comments</dt>
<dd>
Very good. Not like the ones in Swaziland.
</dd>
<dt>Source</dt>
<dd>
<a href="#" onclick="return false;" id="qtipSource"></a>
<div id="qtipSourceData" class="hide">
</div>
</dd>
<dt>Source Description</dt>
<dd>
</dd>
<dt>Last Modified</dt>
<dd>
2011-01-03
</dd>
<dt>User</dt>
<dd>
Joyce McGuire </dd>
</dl>
<div class="clear"/><br/>
<hr/>
<br/>
<div style="width: 100%;"> <b>Ingredients</b>
<pre>
<div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large, peeled and diced Potato, baking <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 c</div> peas, frozen <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div> oil, vegetable <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> cumin seeds <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div>crushed Bay leaf <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 ea</div>large chopped onion, white <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 lb</div> ground beef <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 T</div>minced fresh ginger root <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> black pepper <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 1/2 t</div> salt <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> cumin <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> coriander, ground <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> turmeric powder <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 t</div> curry powder, Indian <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> ground cinnamon <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> Cardamom, ground <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped fresh cilantro <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 T</div>chopped Pepper, serrano <i>(optional)</i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 q</div> Frying oil <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 pk</div>room tempurature Wonton Wrappers <i></i></div><br/> </pre>
</div>
<div class="float50Section" id="imagePreview">
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Boil potatoes until soft but not mushy. Drain and add frozen peas. Set aside.
Heat vegetable oil. Brown cumin seeds and bay leaf. Mix in onions and hamburger, cooking until onions are soft and hamburger is cooked. Mix in spices except for cilantro and serrano pepper if using. Add potatoes and peas. Taste and adjust seasoning if needed. Cool.
Heat frying oil in large pan over high heat.
Place about 1 Tablespoon mixture in wonton wrappers, wet edges with water and seal well.
Fry carefully until golden brown.
Best eaten warm. Reheat in oven if needed to keep crisp.
Can be frozen if needed.
Fry any leftover wonton wrappers in oil and sprinkle with cinnamon sugar for easy elephant ears.</pre>
</div>
<div class="clear"/><br/>
<div class="relatedRecipe">
<span>
<a href="/phprecipebook/recipes/view/26" class="ajaxNavigationLink">Samosa - Dough</a> (optional)
</span>
<div class="float50Section">
<b>Ingredients</b>
<pre><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1 ea</div> egg <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>3/10 c</div> water <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>2 c</div> flour, all purpose <i></i></div><br/><div class='ingredientViewItem'><div class='ingredientViewQuantity'>1/2 t</div> salt <i></i></div><br/></pre>
</div>
<div class="float50Section">
<!-- placeholder for related recipe image -->
</div>
<div class="clear"/><br/>
<div style="width: 100%;">
<b>Directions</b>
<pre>Beat egg, mix in water. Combine flour and salt, then mix liquids into dry ingredients. Add extra water as needed.
Knead dough until elastic, cut into 2 balls and cover for 10 minutes with damp cloth.
Roll into thin rectangles and use in place of wonton wrappers.</pre>
</div>
</div>
</pre>
</div>
</div>
<div id="footer">
</div>
</div>
</div>
<div id="editIngredientDialog" class="dialog" width="600" height="610" title="Ingredient"/>
<div id="editLocationDialog" class="dialog" width="600" height="240" title="Location"/>
<div id="editUnitDialog" class="dialog" width="600" height="400" title="Unit"/>
<div id="editRestaurantDialog" class="dialog" width="600" height="800" title="Restaurant"/>
<div id="editPriceRangesDialog" class="dialog" width="600" height="200" title="Price Ranges"/>
<div id="editEthnicityDialog" class="dialog" width="600" height="200" title="Ethnicity"/>
<div id="editBaseTypeDialog" class="dialog" width="600" height="200" title="Base Type"/>
<div id="editCourseDialog" class="dialog" width="600" height="200" title="Course"/>
<div id="editPrepTimeDialog" class="dialog" width="600" height="200" title="Preparation Time"/>
<div id="editPrepMethodDialog" class="dialog" width="600" height="200" title="Preparation Method"/>
<div id="editDifficultyDialog" class="dialog" width="600" height="200" title="Difficulty"/>
<div id="editSourceDialog" class="dialog" width="600" height="500" title="Source"/>
<div id="editMealDialog" class="dialog" width="700" height="500" title="Meal"/>
<div id="editProductDialog" class="dialog" width="600" height="400" title="Product"/>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Fraction',
(int) 2 => 'Session'
)
$result = null
$name = 'Session'
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::_render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 938
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 546
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 548
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 548
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112
Notice (8): compact() [function.compact]: Undefined variable: subject [APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128]
compact - [internal], line ??
ObjectCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - APP/Vendor/cakephp/cakephp/lib/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 548
View::render() - APP/Vendor/cakephp/cakephp/lib/Cake/View/View.php, line 481
Controller::render() - APP/Vendor/cakephp/cakephp/lib/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - APP/Vendor/cakephp/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112