diff options
author | friendica <info@friendica.com> | 2014-10-22 16:49:45 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-22 16:49:45 -0700 |
commit | e3943087b270399c6c2333f0bae877a8d0d62510 (patch) | |
tree | e5f0233f4a1d19872dbf47a73592cd9b41fe40f3 /doc/developer_function_primer.bb | |
parent | d7cb5c0436081214afefbd876a127173ebfa1b74 (diff) | |
parent | b27790302b104df7e788077e7a046561f072e762 (diff) | |
download | volse-hubzilla-e3943087b270399c6c2333f0bae877a8d0d62510.tar.gz volse-hubzilla-e3943087b270399c6c2333f0bae877a8d0d62510.tar.bz2 volse-hubzilla-e3943087b270399c6c2333f0bae877a8d0d62510.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'doc/developer_function_primer.bb')
-rw-r--r-- | doc/developer_function_primer.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/developer_function_primer.bb b/doc/developer_function_primer.bb index 3d5fe82a9..3db853b82 100644 --- a/doc/developer_function_primer.bb +++ b/doc/developer_function_primer.bb @@ -20,13 +20,13 @@ Returns the global app structure ($a). (App:: is usually assigned to the global $a), so $a->get_observer() or get_app()->get_observer() - returns an xchan structure representing the current viewer if authenticated (locally or remotely).
-[b]get_config($family,$key), get_pconfig($uid,$family,$key)[/b]
+[b]get_config($family,$key), get_pconfig($uid,$family,$key), get_xconfig($xchan_hash,$family,$key)[/b]
Returns the config setting for $family and $key or false if unset.
[b] set_config($family,$key,$value), set_pconfig($uid,$family,$key,$value)[/b]
-Sets the value of config setting for $family and $key to $value. Returns $value. The config versions operate on system-wide settings. The pconfig versions get/set the values for a specific integer uid (channel_id).
+Sets the value of config setting for $family and $key to $value. Returns $value. The config versions operate on system-wide settings. The pconfig versions get/set the values for a specific integer uid (channel_id). The xconfig version get/sets the value for a specific xchan hash - generally used for remote users.
[b]dbesc()[/b]
|