WURFL/UserAgentHandlerChain.php
public function addUserAgentHandler(WURFL_Handlers_Handler $handler)
    {
        $size = count($this->_userAgentHandlers);
        if ($size > 0) {
            $this->_userAgentHandlers[$size-1]->setNextHandler($handler);
        }
        $this->_userAgentHandlers[] = $handler;
        return $this;
    }
public function addUserAgentHandler(WURFL_Handlers_Handler $handler)
    {
        $size = count($this->_userAgentHandlers);
        if ($size > 0) {
            $this->_userAgentHandlers[$size-1]->setNextHandler($handler);
        }
        $this->_userAgentHandlers[] = $handler;
        return $this;
    }
public function addUserAgentHandler ( WURFL_Handlers_Handler $ handler ) { $ size = count ( $ this -> _userAgentHandlers ) ; if ( $ size > 0 ) { $ this -> _userAgentHandlers [ $ size - 1 ] -> setNextHandler ( $ handler ) ; } $ this -> _userAgentHandlers [ ] = $ handler ; return $ this ; }
Adds a WURFL_Handlers_Handler to the chain

@param WURFL_Handlers_Handler $handler
@return WURFL_UserAgentHandlerChain $this
Adds a WURFL_Handlers_Handler to the chain