* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
-
class FollowEveryonePlugin extends Plugin
{
/**
* @return boolean hook value
*
*/
-
function onEndUserRegister(&$newProfile, &$newUser)
{
$otherUser = new User();
*
* @return boolean hook value; true means continue processing, false means stop.
*/
-
function onCheckSchema()
{
$schema = Schema::get();
*
* @return boolean hook value; true means continue processing, false means stop.
*/
-
function onAutoload($cls)
{
$dir = dirname(__FILE__);
*
* @return boolean hook value
*/
-
function onEndProfileFormData($action)
{
$user = common_current_user();
*
* @return boolean hook value
*/
-
function onEndProfileSaveForm($action)
{
$user = common_current_user();
* @return boolean hook value
*
*/
-
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'FollowEveryone',
*
* @see DB_DataObject
*/
-
class User_followeveryone_prefs extends Memcached_DataObject
{
public $__table = 'user_followeveryone_prefs'; // table name
* @param mixed $v Value to lookup
*
* @return User_followeveryone_prefs object found, or null for no hits
- *
*/
function staticGet($k, $v=null)
{