public function summarize($words) 
    {
        //argument 1 must be an integer
        Eden_String_Argument::i()->test(1, 'int');

        $this->data = explode(' ', strip_tags($this->data), $words);
        array_pop($this->data);
        $this->data = implode(' ', $this->data);

        return $this;
    }
public function summarize($words) 
    {
        //argument 1 must be an integer
        Eden_String_Argument::i()->test(1, 'int');

        $this->data = explode(' ', strip_tags($this->data), $words);
        array_pop($this->data);
        $this->data = implode(' ', $this->data);

        return $this;
    }
public function summarize ( $ words ) { //argument 1 must be an integer Eden_String_Argument :: i ( ) -> test ( 1 , 'int' ) ; $ this -> data = explode ( ' ' , strip_tags ( $ this -> data ) , $ words ) ; array_pop ( $ this -> data ) ; $ this -> data = implode ( ' ' , $ this -> data ) ; return $ this ; }
Summarizes a text

@param *int $words Number of words

@return Eden_String_Index
Summarizes a text