public function loadByKey($key) { $sql = Komento::getSql(); $sql->select('#__komento_hashkeys')->where('key', $key); $data = $sql->loadObject(); return parent::bind($data); }
public function loadComposite($component, $ip) { $sql = Komento::getSql(); $sql->select('#__komento_ipfilter')->where('component', $component)->where('ip', $ip); $data = $sql->loadObject(); return parent::bind($data); }