7.1
Table Of Contents
- Introduction
- How to
- Common Tasks
- Company Tasks
- Publication Type and Document Tasks
- Add publication types
- Modify the publication type properties
- Delete a publication type folder
- Adding documents to a publication type
- Delete documents from a publication type
- Edit document properties
- Manage production settings
- Output options
- Manage linked files
- Setting up web forms
- Define file upload settings
- Setting up pricing
- Image Collection Tasks
- Order Manager Tasks
- Ordering workflow
- Settings
- General Settings
- Pricing and Ordering
- Production
- Modules
- Enabling B2C (Business to Customer)
- Introduction to Regular Expressions
//Attach the softproof pdf of each document/job to the message:
foreach ($this->jobs as $key => $job) {
$id = $job[id];
$this->addAttachment("application/pdf","/files/jobs/$this->companyid/” . $id . “/” . $id . “_lr.pdf");
}
• getString: Returns the given string from the language strings.
$this->getString(cNo);
$this->setSubject("$this->getString(cYourAccountDetails)")
• replaceString: Replaces the value of a string based on a match in the second parameter (array). The
result is returned.
$this->replaceString($this->rush, array(0=>$this->getString(cNo), 1=>$this->getString(cYes))
• skipEmpty: Use this function to skip a specific value in case it is empty. The second parameter is
optional and defines the string that will be inserted when the input string is not empty. If this parameter
is omitted the input string will be returned.
<?php echo $this->skipEmpty($this->shippingaddress2,$this->shippingaddress2 . "<br />"); ?>
<?php echo $this->skipEmpty($this->shippingaddress2); ?>.
E-mail - Managing E-mail Templates
Objectif Lune Inc. © 2010 144