Code |
Context$id = "34"
$vendor_id = null
$category = array(
"ProductCategory" => array(
"id" => "34",
"name" => "Bats",
"description" => "",
"parent_id" => "33",
"lft" => "33",
"rght" => "34",
"dir" => null,
"filename" => null,
"filesize" => null,
"mimetype" => null,
"created" => "2010-01-07 22:17:21",
"modified" => "2010-01-07 22:17:21"
)
)
$children = array()
$products = array(
array(
"Product" => array(),
"ProductCategory" => array(),
"Vendor" => array(),
"Option" => array()
)
)
$_vendors = array(
"Akadema, Inc.",
"Fitzgeralds Sports",
"Mad Dog Bats",
"Pocket Radar",
"Real Geese",
"Southbat",
"Superior Bat Company"
)
$i = array(
"Product" => array(
"id" => "132",
"vendor_id" => null,
"product_category_id" => "34",
"name" => "The Insider Bat",
"description" => "The insider bat™ is a revolutionary baseball/softball muscle memory training tool that promotes proper grip, hand placement and proper swing path before, during and after contact is made. The unique design allows for only one way to make contact with the ball……the CORRECT way! This is the tool to help hitters develop a short compact swing and stay "inside" the baseball with their hands. Helps eliminate sweeping ,casting ,and dragging the bat through the hitting zone.
The insider bat™ is manufactured with aircraft 6061 grade aluminum and stainless steel. The shaft and “sweet spot” are powder coat painted, finished with a high gloss clear coat. The handle is high quality injection molded polypro copolymer with a comfortable polyolefin coating.
“Muscle memory” is a term used to describe a learned movement, pattern or habit. By performing the same movement pattern repeatedly, more effective nerve/muscle connections are made. These connections that are made repeat more effectively each time used. After developing muscle memory, the new action is automatic and will be performed without conscious thought. (i.e. walking)
If used properly the insider bat™ will assist in creating positive muscle memory for a fundamentally correct swing.
Not to be used with real baseballs,designed for use with plastic wiffle ball or tennis balls. For tee work and soft toss drills.
8" is Typically for Very Large hands
7" is Typically for 12 yrs old and up
6" is Typically for 7 – 11 yrs old
5" is Typically for 4 – 7 yr olds
",
"status" => "In Stock",
"price" => "55.00",
"uom" => "EA",
"weight" => "5.000",
"option" => "Sizes",
"dir" => "img/products",
"filename" => "insider.jpg",
"filesize" => "50421",
"mimetype" => "image/jpeg",
"parent_id" => null,
"lft" => "67",
"rght" => "68",
"created" => "2010-01-07 22:21:41",
"modified" => "2010-01-08 04:38:40"
),
"ProductCategory" => array(
"id" => "34",
"name" => "Bats",
"description" => "",
"parent_id" => "33",
"lft" => "33",
"rght" => "34",
"dir" => null,
"filename" => null,
"filesize" => null,
"mimetype" => null,
"created" => "2010-01-07 22:17:21",
"modified" => "2010-01-07 22:17:21"
),
"Vendor" => array(
"id" => null,
"name" => null,
"address" => null,
"city" => null,
"state" => null,
"zip" => null,
"email" => null,
"website" => null,
"telephone" => null,
"fax" => null,
"account_number" => null,
"contact_name" => null,
"contact_title" => null,
"created" => null,
"modified" => null
),
"Option" => array(
array(),
array(),
array(),
array()
)
)
$_vendors = $this->Vendor->find('list', array('fields' => array('id', 'name'), 'order' => 'name'));
foreach($products as $i) {
$vendors[$i['Product']['vendor_id']] = $_vendors[$i['Product']['vendor_id']];
ProductCategoriesController::view() - APP/controllers/product_categories_controller.php, line 28
Object::dispatchMethod() - /opt/cake_1.2.5/cake/libs/object.php, line 118
Dispatcher::_invoke() - /opt/cake_1.2.5/cake/dispatcher.php, line 227
Dispatcher::dispatch() - /opt/cake_1.2.5/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88