Overview

Packages

  • admin
  • classes
    • media
  • CodeIgniter
    • Libraries
  • core
  • functions
  • JSMin
  • None
  • OpenID
  • PHP
  • PHPMailer
  • plugins
    • admin
    • development
    • feed
    • mail
    • media
    • misc
    • seo
    • spam
    • uploader
    • users
    • zenpage
    • zenphoto
      • news
  • Services
    • JSON

Classes

  • AlbumZip
  • crop_image
  • defaultCodeblocks
  • DownloadList
  • galleryArticles
  • tweet

Functions

  • defaultCodeblocks_codebox
  • getdownloadList
  • getDownloadURL
  • printDownloadAlbumZipURL
  • printdownloadList
  • printDownloadURL
  • wordpress_import_button
  • wp_prefix
  • wp_query_full_array
  • wpimport_TryAgainError
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class tweet

Standard options interface

Package: plugins\misc
Author: Stephen
Located at zp-extensions/tweet_news.php
Methods summary
public
# __construct( )
public
# getOptionsSupported( )

supported options

public
# handleOption( string $option, mixed $currentValue )

place holder

Parameters

$option
$currentValue
public static
# newZenpageObject( string $msg, object $article )

filter for new news articles

Parameters

$msg
$article
public static
# published( object $obj )

filter for the setShow() methods

Parameters

$obj
public static string
# scan( string $script, boolean $valid = true )

filter which checks if there are any matured tweets to be sent

Parameters

$script
$valid
will be false if the object is not found (e.g. there will be a 404 error);

Returns

string
public static
# errorsOnOverview( string $side )

filter which will display tweet errors on the admin overview page

Parameters

$side
public static
# errorsOnAdmin( string $tab, string $subtab )

filter to display tweet errors on an admin page

Parameters

$tab
$subtab
public static
# tweeter( string $before, object $object, integer $prefix = NULL )

filter to place tweet action on object edit pages

Parameters

$before
$object
$prefix
public static
# tweeterExecute( object $object, string $prefix )

processes the image and album tweet request

Parameters

$object
$prefix
public static
# tweeterZenpageExecute( unknown_type $custom, unknown_type $object )

filter to process zenpage tweet requests

Parameters

$custom
$object
Zenphoto doc API documentation generated by ApiGen