Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Press Class Reference
Inheritance diagram for Press:
Context DataObject

Public Member Functions

 getAssocType ()
 
 getPageHeaderLogo ()
 
 getPageHeaderTitle ()
 
 hasRequiredOnixHeaderFields ()
 
 Press ()
 
- Public Member Functions inherited from Context
 Context ()
 
 getAcronym ($locale)
 
 getAssocType ()
 
 getContactEmail ()
 
 getContactName ()
 
 getDefaultMetricType ()
 
 getDescription ($locale=null)
 
 getEnabled ()
 
 getLocalizedAcronym ()
 
 getLocalizedDescription ()
 
 getLocalizedName ($preferredLocale=null)
 
getLocalizedSetting ($name)
 
 getMetrics ($metricType=null, $columns=array(), $filter=array(), $orderBy=array(), $range=null)
 
 getMetricTypes ($withDisplayNames=false)
 
 getName ($locale=null)
 
 getPath ()
 
 getPrimaryLocale ()
 
 getSequence ()
 
getSetting ($name, $locale=null)
 
getSettings ()
 
 getSupportedFormLocaleNames ()
 
 getSupportedFormLocales ()
 
 getSupportedLocaleNames ()
 
 getSupportedLocales ()
 
 getSupportedSubmissionLocaleNames ()
 
 getSupportedSubmissionLocales ()
 
 getViews ()
 
 setContactEmail ($contactEmail)
 
 setContactName ($contactName)
 
 setDescription ($description, $locale=null)
 
 setEnabled ($enabled)
 
 setName ($name, $locale=null)
 
 setPath ($path)
 
 setPrimaryLocale ($primaryLocale)
 
 setSequence ($sequence)
 
 updateSetting ($name, $value, $type=null, $isLocalized=false)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
 getSupportedExtractionAdapters ()
 
 getSupportedInjectionAdapters ()
 
 getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata ($metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
 upcastTo ($targetObject)
 

Static Public Member Functions

static getDAO ()
 
static getSettingsDAO ()
 
- Static Public Member Functions inherited from Context
static getDAO ()
 
static getSettingsDAO ()
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing a press.

See Also
PressDAO

Definition at line 23 of file Press.inc.php.

Member Function Documentation

Press::getAssocType ( )

Get the association type for this context.

Returns
int

Definition at line 82 of file Press.inc.php.

static Press::getDAO ( )
static

Get the DAO for this context object.

Returns
DAO

Definition at line 98 of file Press.inc.php.

References DAORegistry\getDAO().

Press::getPageHeaderLogo ( )

Get "localized" press page logo (if applicable).

Returns
string

Definition at line 57 of file Press.inc.php.

References AppLocale\getLocale(), AppLocale\getPrimaryLocale(), and Context\getSetting().

Press::getPageHeaderTitle ( )

Get "localized" press page title (if applicable). param $home boolean get homepage title

Returns
string

Definition at line 36 of file Press.inc.php.

References AppLocale\getLocale(), AppLocale\getPrimaryLocale(), and Context\getSetting().

static Press::getSettingsDAO ( )
static

Get the settings DAO for this context object.

Returns
DAO

Definition at line 90 of file Press.inc.php.

References DAORegistry\getDAO().

Press::hasRequiredOnixHeaderFields ( )

Returns true if this press contains the fields required for creating valid ONIX export metadata.

Returns
boolean

Definition at line 70 of file Press.inc.php.

References Context\getSetting().

Press::Press ( )

Constructor

Definition at line 27 of file Press.inc.php.


The documentation for this class was generated from the following file: