Addressbook
"]="'".$this->parent."'"; $criteria["object"]["implements"]["="]="'address'"; if ($search_property && $search_value) { switch($search_property) { case 'name': $criteria["name"]["value"]["LIKE"]="'%".AddSlashes($search_value)."%'"; break; default: $criteria["address"][AddSlashes($search_property)]["LIKE"]="'%".AddSlashes($search_value)."%'"; break; } $this->find(".",$criteria,"show.card.html",compact("search_property", "search_value")); } ?>