Exemplo n.º 1
0
 public function loadByKey($key)
 {
     $sql = Komento::getSql();
     $sql->select('#__komento_hashkeys')->where('key', $key);
     $data = $sql->loadObject();
     return parent::bind($data);
 }
Exemplo n.º 2
0
 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);
 }