API docs     >     Files     >     Views

Views->get

Description

get ( $viewId )
Gets basic information about the specified View

Parameters

$viewId
int
View Id

Returns

array|false
Array containing information about this File or FALSE in case of an error
  1. Array(
  2.     [ID] => 1                   int Property Id (versioned Object Id)
  3.     [OBJECTID] => 1             int Id
  4.     [FOLDER] => 1               int 1 if folder, 0 if not
  5.     [IDENTIFIER] => 'NONE'      string Identifier
  6.     [WIDTH] => 0                int Width in pixels
  7.     [HEIGHT] => 0               int Height in pixels
  8.     [HIDDEN] => 0               int 1 if hidden, 0 if not
  9.     [NAME] => 'File Views'      string Name
  10.     [WIDTHCROP] => 0            int 1 if image width should be cropped, 0 if not
  11.     [HEIGHTCROP] => 0           int 1 if image height should be cropped, 0 if not
  12.     [CONSTRAINWIDTH] => 0       int 1 if image width should be constrained, 0 if not
  13.     [CONSTRAINHEIGHT] => 0      int 1 if image height should be constrained, 0 if not
  14. )