コード例 #1
0
ファイル: Paragraph.php プロジェクト: hcvcastro/pxp
 /**
  * Get indentation
  *
  * @return int
  */
 public function getIndent()
 {
     if ($this->indentation !== null) {
         return $this->indentation->getLeft();
     } else {
         return null;
     }
 }
コード例 #2
0
ファイル: Paragraph.php プロジェクト: kaantunc/MYK-BOR
 /**
  * Get indentation
  *
  * @return int
  */
 public function getIndent()
 {
     if (!is_null($this->indentation)) {
         return $this->indentation->getLeft();
     }
 }