|
|
File: g:\Work\WWW\php\tbox\lib/cimagefield.phps
PHP Documentation - PHP/Toolbox::Table
CImageField
CSnippet | +-- CField | +-- CImageField
The table field that provides scaled image representation.
|
private class CImageField extends CField
The table field that provides scaled image representation.
| new CImageField(array(
| "size" => ...,
| "attrs" => "align=left",
| ...
| ))
|
|
|
Methods inherited from CField |
cfield |
|
|
|
Private Method Summary |
void |
process(mixed &$value)Special processing for image fields. *No additional comments. |
|
Fields inherited from CSnippet |
$id |
|
Private Field Summary |
integer |
$sizeIf it is set image is fitted to square area |
unknown |
$widthThe image area width. * |
unknown |
$heightThe image area height. * |
|
Public Method Details |
CImageField |
public void CImageField( $args )
|
|
No additional comments.
|
Parameter |
|
|
$args |
|
|
No additional comments. |
|
Returns |
void |
|
|
Private Method Details |
process |
private void process( mixed &$value )
|
|
Special processing for image fields. *
No additional comments.
|
Parameter |
|
mixed |
&$value |
|
|
- inout value. |
|
Returns |
void |
|
|
Private Field Details |
$size |
private integer $size
>>100 <<
If it is set image is fitted to square area
[size x size].
|
|
$width |
private unknown $width
>> <<
The image area width. *
|
|
$height |
private unknown $height
>> <<
The image area height. *
|
|
|
|
|
PHPDoc 1.0beta |