Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
https://joomla.stackexchange.com/q/26382/12352
बनाया गया
7 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
10 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
41 लाइनें
सभी को कॉपी करें
6 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
39 लाइनें
सभी को कॉपी करें
class BookstoreRouter extends JComponentRouterView
class BookstoreRouter extends JComponentRouterView
{
{
public function __construct($app = null, $menu = null)
public function __construct($app = null, $menu = null)
{
{
$books = new JComponentRouterViewconfiguration('books');
$books = new JComponentRouterViewconfiguration('books');
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
$books->setNestable();
$this->registerView($books);
$this->registerView($books);
$book = new JComponentRouterViewconfiguration('book');
$book = new JComponentRouterViewconfiguration('book');
$book->setKey('id')->setParent($books);
$book->setKey('id')->setParent($books);
$this->registerView($book);
$this->registerView($book);
parent::__construct($app, $menu);
parent::__construct($app, $menu);
$this->attachRule(new JComponentRouterRulesMenu($this));
$this->attachRule(new JComponentRouterRulesMenu($this));
$this->attachRule(new JComponentRouterRulesStandard($this));
$this->attachRule(new JComponentRouterRulesStandard($this));
$this->attachRule(new JComponentRouterRulesNomenu($this));
$this->attachRule(new JComponentRouterRulesNomenu($this));
}
}
public function getBookSegment($id, $query)
public function getBookSegment($id, $query)
{
{
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (
!
strpos($
id
, ':')
)
if (
strpos($
query['id']
, ':')
=== false)
{
{
$db = JFactory::getDbo();
$db = JFactory::getDbo();
$dbquery = $db->getQuery(true);
$dbquery = $db->getQuery(true);
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
$dbquery->select($
dbquery->qn
('alias'))
$dbquery->select($
db->quoteName
('alias'))
->from($
dbquery->qn
('#__bookstore_books'))
->from($
db->quoteName
('#__bookstore_books'))
->where('id = ' . $
dbquery->q
($id));
->where('id = ' . $
db->quote
($id));
$db->setQuery($dbquery);
$db->setQuery($dbquery);
$id .= ':' . $db->loadResult();
$id .= ':' . $db->loadResult();
}
}
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
return array((int)
$id => $id);
return array((int)
$id => $id);
}
}
public function getBookId($segment, $query)
public function getBookId($segment, $query)
{
{
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
return (int)
$segment;
return (int)
$segment;
}
}
}
}
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
class BookstoreRouter extends JComponentRouterView { public function __construct($app = null, $menu = null) { $books = new JComponentRouterViewconfiguration('books'); $books->setNestable(); $this->registerView($books); $book = new JComponentRouterViewconfiguration('book'); $book->setKey('id')->setParent($books); $this->registerView($book); parent::__construct($app, $menu); $this->attachRule(new JComponentRouterRulesMenu($this)); $this->attachRule(new JComponentRouterRulesStandard($this)); $this->attachRule(new JComponentRouterRulesNomenu($this)); } public function getBookSegment($id, $query) { if (!strpos($id, ':')) { $db = JFactory::getDbo(); $dbquery = $db->getQuery(true); $dbquery->select($dbquery->qn('alias')) ->from($dbquery->qn('#__bookstore_books')) ->where('id = ' . $dbquery->q($id)); $db->setQuery($dbquery); $id .= ':' . $db->loadResult(); } return array((int) $id => $id); } public function getBookId($segment, $query) { return (int) $segment; } }
परिवर्तित टेक्स्ट
फ़ाइल खोलें
class BookstoreRouter extends JComponentRouterView { public function __construct($app = null, $menu = null) { $books = new JComponentRouterViewconfiguration('books'); $this->registerView($books); $book = new JComponentRouterViewconfiguration('book'); $book->setKey('id')->setParent($books); $this->registerView($book); parent::__construct($app, $menu); $this->attachRule(new JComponentRouterRulesMenu($this)); $this->attachRule(new JComponentRouterRulesStandard($this)); $this->attachRule(new JComponentRouterRulesNomenu($this)); } public function getBookSegment($id, $query) { if (strpos($query['id'], ':') === false) { $db = JFactory::getDbo(); $dbquery = $db->getQuery(true); $dbquery->select($db->quoteName('alias')) ->from($db->quoteName('#__bookstore_books')) ->where('id = ' . $db->quote($id)); $db->setQuery($dbquery); $id .= ':' . $db->loadResult(); } return array((int)$id => $id); } public function getBookId($segment, $query) { return (int)$segment; } }
अंतर खोजें