Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variables should be assigned by reference in /home/account/public_html/site.com/phrame/ActionController.php on line 122
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/HttpServletRequest.php on line 128
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
Notice: Only variable references should be returned by reference in /home/account/public_html/site.com/phrame/util/HashMap.php on line 95
_________________________________
line 95 is this. }
Code: Select all
#
*/
#
function &get($key, $default=PHRAME_HASHMAP_DEFAULT)
#
{
#
if ($this->containsKey($key)) {
#
return $this->_values[$key];
#
} else {
#
if (PHRAME_HASHMAP_DEFAULT != $default) {
#
return $default;
#
}
#
}
#
}
#
/**
#
* Returns true if this map contains no key-value mappings.
#
*
#
* @access public
#
* @return boolean
#
*/
#
function isEmpty()
#
{
-----------------------
Line 122 is this
$actionMapping =& $this->_mappings->findMapping($name);
Code: Select all
#
* @access private
#
* @param array $mappings
#
* @param array $request
#
* @return ActionMapping
#
*/
#
function &_processMapping()
#
{
#
$name = $this->_request->getAction();
#
$actionMapping =& $this->_mappings->findMapping($name);
#
if (!isset($actionMapping)) {
#
trigger_error("No mappings found for action '$name'");
#
return;
#
}
#
return $actionMapping;
;