public function termCreate($term)
    {
        $this->dispatchHooks('BeforeTermCreateScope', $term);
        $this->parseEntityFields('taxonomy_term', $term);
        $saved = $this->getDriver()->createTerm($term);
        $this->dispatchHooks('AfterTermCreateScope', $saved);
        $this->terms[] = $saved;
        return $saved;
    }
public function termCreate($term)
    {
        $this->dispatchHooks('BeforeTermCreateScope', $term);
        $this->parseEntityFields('taxonomy_term', $term);
        $saved = $this->getDriver()->createTerm($term);
        $this->dispatchHooks('AfterTermCreateScope', $saved);
        $this->terms[] = $saved;
        return $saved;
    }
public function termCreate ( $ term ) { $ this -> dispatchHooks ( 'BeforeTermCreateScope' , $ term ) ; $ this -> parseEntityFields ( 'taxonomy_term' , $ term ) ; $ saved = $ this -> getDriver ( ) -> createTerm ( $ term ) ; $ this -> dispatchHooks ( 'AfterTermCreateScope' , $ saved ) ; $ this -> terms [ ] = $ saved ; return $ saved ; }
Create a term.

@return object
The created term.
Create a term .