public function findByUrl($url, Syj_Model_Path $path) {
$select = $this->_select();
$select->where('id = ?', (int)$url)->orWhere('urlcomp = ?', (string)$url);
return $this->_fetchItem($select, $path);
}
public function findByUrl($url, Syj_Model_Path $path) {
$select = $this->_select();
$select->where('id = ?', (int)$url)->orWhere('urlcomp = ?', (string)$url);
return $this->_fetchItem($select, $path);
}