code/libraries/joomlatools/library/database/behavior/sluggable.php
protected function _createFilter()
    {
        $config = array();
        $config['separator'] = $this->_separator;

        if (!isset($this->_length)) {
            $config['length'] = $this->getTable()->getColumn('slug')->length;
        } else {
            $config['length'] = $this->_length;
        }

        return $this->getObject('filter.factory')->createChain($this->_filter, $config);
    }
protected function _createFilter()
    {
        $config = array();
        $config['separator'] = $this->_separator;

        if (!isset($this->_length)) {
            $config['length'] = $this->getTable()->getColumn('slug')->length;
        } else {
            $config['length'] = $this->_length;
        }

        return $this->getObject('filter.factory')->createChain($this->_filter, $config);
    }
protected function _createFilter ( ) { $ config = array ( ) ; $ config [ 'separator' ] = $ this -> _separator ; if ( ! isset ( $ this -> _length ) ) { $ config [ 'length' ] = $ this -> getTable ( ) -> getColumn ( 'slug' ) -> length ; } else { $ config [ 'length' ] = $ this -> _length ; } return $ this -> getObject ( 'filter.factory' ) -> createChain ( $ this -> _filter , $ config ) ; }
Create a sluggable filter

@return KFilterInterface
Create a sluggable filter