#1577: Getting raw params from a query
-----------------------------------+----------------------------------------
Reporter: jphilip | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: 1.0.4
Component: Query/Hydration | Version: 1.0.3
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
The getParams method (In Astract_Query) returns a
flattened param array and the setParams method requires the original
_param form:
{{{
public function getParams($params = array())
{
return array_merge($params, $this->_params['join'], $this-
>_params['set'], $this->_params['where'], $this->_params['having']);
}
public function setParams(array $params = array())
{
$this->_params = $params;
}
}}}
In order to manipulate the params in a Dql event and pass them back to the
query we would need another method to get the _params array like:
{{{
public function getRawParams()
{
return $this->_params;
}
}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1577>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---