protected function setSpecialProperties(array &$context)
    {
        if ($this->application) {
            $context['application'] = $this->application;
        }

        if ( ! array_key_exists('category', $context) && $this->defaultCategory) {
            $context['category'] = $this->defaultCategory;
        }
    }
protected function setSpecialProperties(array &$context)
    {
        if ($this->application) {
            $context['application'] = $this->application;
        }

        if ( ! array_key_exists('category', $context) && $this->defaultCategory) {
            $context['category'] = $this->defaultCategory;
        }
    }
protected function setSpecialProperties ( array & $ context ) { if ( $ this -> application ) { $ context [ 'application' ] = $ this -> application ; } if ( ! array_key_exists ( 'category' , $ context ) && $ this -> defaultCategory ) { $ context [ 'category' ] = $ this -> defaultCategory ; } }
Updates the array with special properties if required.

@param array $context    by reference
Updates the array with special properties if required .