code/libraries/joomlatools/library/controller/behavior/editable.php
protected function _lockReferrer(KControllerContextInterface $context)
    {
        $cookie = $this->getObject('lib:http.cookie', array(
            'name'   => $this->_cookie_name.'_locked',
            'value'  => true,
            'path'   => $this->_cookie_path
        ));

        $context->response->headers->addCookie($cookie);
    }
protected function _lockReferrer(KControllerContextInterface $context)
    {
        $cookie = $this->getObject('lib:http.cookie', array(
            'name'   => $this->_cookie_name.'_locked',
            'value'  => true,
            'path'   => $this->_cookie_path
        ));

        $context->response->headers->addCookie($cookie);
    }
protected function _lockReferrer ( KControllerContextInterface $ context ) { $ cookie = $ this -> getObject ( 'lib:http.cookie' , array ( 'name' => $ this -> _cookie_name . '_locked' , 'value' => true , 'path' => $ this -> _cookie_path ) ) ; $ context -> response -> headers -> addCookie ( $ cookie ) ; }
Lock the referrer from updates

@param  KControllerContextInterface  $context A controller context object
@return void
Lock the referrer from updates