phpQueryObject::append PHP Method

append() public method

..
public append ( $content ) : phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
return phpQueryObject | QueryTemplatesSource | QueryTemplatesParse | QueryTemplatesSourceQuery
    public function append($content)
    {
        return $this->insert($content, __FUNCTION__);
    }

Usage Example

Esempio n. 1
0
 /**
  * Enter description here...
  *
  * @param phpQueryObject $self
  */
 public static function example($self, $arg1)
 {
     // this method can be called on any phpQuery object, like this:
     // pq('div')->example('$arg1 Value')
     // do something
     $self->append('Im just an example !');
     // change stack of result object
     return $self->find('div');
 }