|
|
|
File: c:/web/jpeto2/jpeto/jpeto_picture.php
JPETo - James's Publishing & Edition Tool - jpeto_objects
jpeto_picture
jpeto_core | +-- jpeto_object | +-- jpeto_picture
This class provides the picture object
|
private class jpeto_picture extends jpeto_object
This class provides the picture object
|
| |
|
Methods inherited from jpeto_object |
| jpeto_object, getfields, getsubtype, getjpetotypedetails, getjpetotype, getjoin, isonline, get_jpeto_object, numchildren, isexpired, islocked, lock, unlock, striplastlinebreak, get_next_jpeto_object, mapfields, maptypefields, newuniqueid, debug, delete, getonlinestatusimage, getfromurlkey, gettourlkey, addadminlink, iscached, getcachefilename, tocache, getcache, purgecache, store, addsubobject, isrestricted, todetailhtml, xmlformat, xmlelement, toxml, getboundary, getcontentid, toplaintext, upgrade, getorigin |
|
|
|
|
|
Private Method Summary |
| string |
getIcon()Returns a complete img-tag for the searchresultWarning: documentation is missing. |
| void |
assignContent(string $Object)Assigns the different Objects to the 2 slots, according to their JpetoTypeWarning: documentation is missing. |
| void |
mapObjectFields(array $Recordset)Maps the fields of the given recordset to theWarning: documentation is missing. |
| void |
createAdminInterface(int &$AdminInterface)sets the editable properties in the AdminInterfaceWarning: documentation is missing. |
| string |
getMimeType()returns the MimeType of the current picture |
| string |
getAbsoluteURL()returns the absolute URL of the current picture |
| string |
readBinData()reads the binary image data from the file system |
| string |
getHexData()returns the hex representation of the binary image data |
| void |
restore()restores the Hex-Image to the file system |
| boolean |
saveAs(string $location)copies the current picture to a different location |
| string |
getMailData()Converts the current picture to mail conform dataWarning: documentation is missing. |
| void |
updateObject()updates the current object in the subtableWarning: documentation is missing. |
| void |
insertObject()inserts the current object in the subtableWarning: documentation is missing. |
| void |
getDefaultValues()gets default Values for (not set) parametersWarning: documentation is missing. |
| void |
toHTML()returns the current object rendered as htmlWarning: documentation is missing. |
|
Fields inherited from jpeto_object |
| $j_uniqueid, $o_uniqueid, $o_language, $o_version, $j_jpetotype, $j_onlinestart, $j_onlineend, $j_isonline, $j_owner, $j_createdon, $j_lastmodified, $j_comments, $j_expires, $j_restrictions, $j_lockedby, $j_lockstart, $j_name, $j_classname, $j_subtable, $j_accesslevel, $j_enabled, $j_timeless, $j_project, $extraquery, $j_sortpos, $j_prevjpetotype, $j_nextjpetotype, $cachefile, $content, $order, $p_recordset, $p_pointer |
|
Fields inherited from jpeto_core |
| $j_language, $j_version, $j_jpetotype, $o_jpetotype, $adminmode, $islast, $isfirst, $recordset, $pointer, $subtype, $j_parentobject |
|
|
|
|
|
|
|
|
|
Public Method Details |
jpeto_picture |
|
public void jpeto_picture( [ string $Language, string $Version ] )
|
| |
Constructor for jpeto_picture
|
| Parameter |
|
| string |
$Language |
= >>"DE"<< |
|
sets the current language (Default: DE) |
|
|
| string |
$Version |
= >>"O"<< |
|
sets the current version (Default: O = Online) |
|
| Returns |
void |
|
|
Private Method Details |
getIcon |
|
private string getIcon( )
|
| |
Returns a complete img-tag for the searchresult
Warning: documentation is missing.
|
| Returns |
string $html |
|
assignContent |
|
private void assignContent( string $Object )
|
| |
Assigns the different Objects to the 2 slots, according to their JpetoType
Warning: documentation is missing.
|
| Parameter |
|
| string |
$Object |
|
|
is a jpeto_object, not a string (phpdoc...) |
|
| Returns |
void |
|
mapObjectFields |
|
private void mapObjectFields( array $Recordset )
|
| |
Maps the fields of the given recordset to the
class variables
Warning: documentation is missing.
|
| Parameter |
|
| array |
$Recordset |
|
|
the Recordset given to map to the variables |
|
| Returns |
void |
|
createAdminInterface |
|
private void createAdminInterface( int &$AdminInterface )
|
| |
sets the editable properties in the AdminInterface
Warning: documentation is missing.
|
| Parameter |
|
| int |
&$AdminInterface |
|
|
erface &$AdminInterface |
|
| Returns |
void |
|
getMimeType |
|
private string getMimeType( )
|
| |
returns the MimeType of the current picture
|
| Returns |
string $MimeType |
|
getAbsoluteURL |
|
private string getAbsoluteURL( )
|
| |
returns the absolute URL of the current picture
|
| Returns |
string $AbsoluteURL |
|
readBinData |
|
private string readBinData( )
|
| |
reads the binary image data from the file system
|
| Returns |
string $BinData |
|
getHexData |
|
private string getHexData( )
|
| |
returns the hex representation of the binary image data
|
| Returns |
string $HexData |
|
restore |
|
private void restore( )
|
| |
restores the Hex-Image to the file system
|
| Returns |
void |
|
saveAs |
|
private boolean saveAs( string $location )
|
| |
copies the current picture to a different location
|
| Parameter |
|
|
| Returns |
boolean $success |
|
getMailData |
|
private string getMailData( )
|
| |
Converts the current picture to mail conform data
Warning: documentation is missing.
|
| Returns |
string $MailData |
|
updateObject |
|
private void updateObject( )
|
| |
updates the current object in the subtable
Warning: documentation is missing.
|
| Returns |
void |
|
insertObject |
|
private void insertObject( )
|
| |
inserts the current object in the subtable
Warning: documentation is missing.
|
| Returns |
void |
|
getDefaultValues |
|
private void getDefaultValues( )
|
| |
gets default Values for (not set) parameters
Warning: documentation is missing.
|
| Returns |
void |
|
toHTML |
|
private void toHTML( )
|
| |
returns the current object rendered as html
This is just a dummy that has to be overwritten by the extending class,depending on the way of presentation
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Field Details |
$j_Title |
|
private string $j_Title
>>""<<
current Title
|
|
$j_URL |
|
private string $j_URL
>>""<<
current URL
|
|
$j_Width |
|
private integer $j_Width
>><<
current Width
|
|
$j_Height |
|
private integer $j_Height
>><<
current Height
|
|
$j_HexData |
|
private string $j_HexData
>>""<<
current HexData
|
|
$minWidth |
|
private integer $minWidth
>><<
minimum width
|
|
$maxWidth |
|
private integer $maxWidth
>><<
maximum width
|
|
$minHeight |
|
private integer $minHeight
>><<
minimum height
|
|
$maxHeight |
|
private integer $maxHeight
>><<
maximum height
|
|
$outputBuffer |
|
private string $outputBuffer
>>""<<
Buffer for output control
|
|
|
|
|
|
|
|
| PHPDoc 1.0beta |