From b69fca14e76a2f5db0cd0924fe5e7056e94771b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 15:49:37 -0800 Subject: initial doco --- doc/html/include_2photos_8php.html | 377 +++++++++++++++++++++++++++++++++++++ 1 file changed, 377 insertions(+) create mode 100644 doc/html/include_2photos_8php.html (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html new file mode 100644 index 000000000..2778c9507 --- /dev/null +++ b/doc/html/include_2photos_8php.html @@ -0,0 +1,377 @@ + + + + + + +The Red Project: include/photos.php File Reference + + + + + + + + + + + + + +
+
+ + + + + + + +
+
The Red Project +
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+ +
+
photos.php File Reference
+
+
+ + + + + + + + + + + + + + + + +

+Functions

 photo_upload ($channel, $observer, $args)
 
 photos_albums_list ($channel, $observer)
 
 photos_album_widget ($channelx, $observer, $albums=null)
 
 photos_album_exists ($channel_id, $album)
 
 photos_album_rename ($channel_id, $oldname, $newname)
 
 photos_album_get_db_idstr ($channel_id, $album, $remote_xchan= '')
 
 photos_create_item ($channel, $creator_hash, $photo, $visible=false)
 
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
photo_upload ( $channel,
 $observer,
 $args 
)
+
+

Determine the album to use

+

We create a wall item for every photo, but we don't want to overwhelm the data stream with a hundred newly uploaded photos. So we will make the first photo uploaded to this album in the last several hours visible by default, the rest will become visible over time when and if they acquire comments, likes, dislikes, and/or tags

+ +

Referenced by photos_post(), and wall_upload_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
photos_album_exists ( $channel_id,
 $album 
)
+
+ +

Referenced by photos_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
photos_album_get_db_idstr ( $channel_id,
 $album,
 $remote_xchan = '' 
)
+
+ +

Referenced by photos_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
photos_album_rename ( $channel_id,
 $oldname,
 $newname 
)
+
+ +

Referenced by photos_post().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
photos_album_widget ( $channelx,
 $observer,
 $albums = null 
)
+
+ +

Referenced by photos_init().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
photos_albums_list ( $channel,
 $observer 
)
+
+ +

Referenced by photos_album_widget(), and photos_init().

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
photos_create_item ( $channel,
 $creator_hash,
 $photo,
 $visible = false 
)
+
+ +

Referenced by photos_post().

+ +
+
+
+
+ + + + -- cgit v1.2.3 From 0ee1e83a3c6bb48064789a622f5eb7331733cb64 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 26 Feb 2013 16:04:28 -0800 Subject: small doco update --- doc/html/include_2photos_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 2778c9507..e9d8e727d 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -368,7 +368,7 @@ Functions - - - - + -- cgit v1.2.3 From 9e22ec928b9534ea9db0d18bf685fb0d357fbad2 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 18 Apr 2013 21:06:31 -0700 Subject: more umbilical cutting --- doc/html/include_2photos_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index d57f4bdf4..87ce5542c 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -28,7 +28,7 @@ - + -- cgit v1.2.3 From 5e4b9d7766ceffd19785f14443cc1b4d4f675d4e Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 14 May 2013 21:25:58 -0700 Subject: disable pcss when installing since modules don't yet work and pcss uses the view module, plus weekly doc update --- doc/html/include_2photos_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 274ffe18c..e5a94c69d 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -28,7 +28,7 @@
The Red Project
-- cgit v1.2.3 From 34526e82531c67995e25cf04abce0d927ce22ffd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 May 2013 03:59:11 -0700 Subject: doc cleanup --- doc/html/include_2photos_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 87ce5542c..274ffe18c 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -4,7 +4,7 @@ -The Red Project: include/photos.php File Reference +The Red Matrix: include/photos.php File Reference @@ -30,7 +30,7 @@
-
The Red Project +
The Red Matrix
- + + + @@ -318,7 +320,7 @@ Functions
The Red Matrix
-- cgit v1.2.3 From 6cafab10e6e168da73a9916c04e54fa43e2ae85b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 3 Jun 2013 16:29:33 -0700 Subject: fix pager, doc update --- doc/html/include_2photos_8php.html | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index e5a94c69d..927fa57bf 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -118,6 +118,8 @@ Functions
 
 photos_album_widget ($channelx, $observer, $albums=null)
 
 photos_list_photos ($channel, $observer, $album= '')
 
 photos_album_exists ($channel_id, $album)
 
 photos_album_rename ($channel_id, $oldname, $newname)
@@ -360,6 +362,40 @@ Functions

Referenced by photos_post().

+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
photos_list_photos ( $channel,
 $observer,
 $album = '' 
)
+
+ +

Referenced by api_photos().

+
-- cgit v1.2.3 From 8cd9a2c3a944e804c72ef461df801116c6b44ac7 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 28 Nov 2013 19:37:39 -0800 Subject: doc updates --- doc/html/include_2photos_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 927fa57bf..677c57517 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -28,7 +28,7 @@ - +
The Red Matrix
-- cgit v1.2.3 From 916f3e9afc0dcf7f4255bac917ed6236595c7e07 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Dec 2013 01:39:05 -0800 Subject: doc updates --- doc/html/include_2photos_8php.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 677c57517..00b54891d 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -292,7 +292,7 @@ Functions
-

Referenced by photos_init().

+

Referenced by widget_photo_albums().

@@ -320,7 +320,7 @@ Functions -- cgit v1.2.3 From 3298768d957421743eaa56dec5381141ab094d53 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 Jan 2014 00:47:40 -0800 Subject: directory creation error, display localtimes on cloud webpage, doc updates --- doc/html/include_2photos_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/include_2photos_8php.html') diff --git a/doc/html/include_2photos_8php.html b/doc/html/include_2photos_8php.html index 00b54891d..2e9d67da2 100644 --- a/doc/html/include_2photos_8php.html +++ b/doc/html/include_2photos_8php.html @@ -320,7 +320,7 @@ Functions -- cgit v1.2.3