/** * Uses the _default_where_conditions_strategy set during __construct() to get * default where conditions on all get_all, update, and delete queries done by this model. * Use the same syntax as client code. Eg on the Event model, use array('Event.EVT_post_type'=>'esp_event'), * NOT array('Event_CPT.post_type'=>'esp_event'). * @param string $model_relation_path eg, path from Event to Payment is "Registration.Transaction.Payment." * @return array like EEM_Base::get_all's $query_params[0] (where conditions) */ private function _get_default_where_conditions($model_relation_path = null) { if ($this->_ignore_where_strategy) { return array(); } return $this->_default_where_conditions_strategy->get_default_where_conditions($model_relation_path); }