<?
$data = Zend_Json::encode(
array(
'site' => $this->site->getSiteId(),
'branch' => $this->site->getBranchBasename()
)
);
// if we have a callback we're doing jsonp otherwise
// simply return the json encoded data
print $this->callback
? $this->callback . '(' . $data . ');'
: $data;
# |
Change |
User |
Description |
Committed |
|
#1
|
16170 |
perforce_software |
Move Chronicle files to follow new path scheme for branching. |
|
|
//guest/perforce_software/chronicle/application/site/views/scripts/branch/switch.json.phtml |
#1
|
8972 |
Matt Attaway |
Initial add of the Chronicle source code |
|
|