www.gusucode.com > Aycms自媒体建站系统PHP版 v1.0.1源码程序 > Aycms_v1.0.1/vendor/electrolinux/phpquery/phpQuery/phpQuery/plugins/Scripts/example.php

    <?php
/**
 * Example script for phpQuery Script plugin
 *
 * Avaible are 4 variables:
 * - $self Represents $this
 * - $params Represents parameters passed to script() method (without script name)
 * - $return If not null, will be used as method result
 * - $config Content of __config.php file
 *
 * By default each script returns $self aka $this.
 */
$return = $self->find($params[0]);
?>