예제 #1
0
 /**
  * Returns the location in POST that this field's content was pulled from.
  *
  * @return string|null
  */
 protected function getContentPostLocation()
 {
     if (isset($this->element) && isset($this->model)) {
         $elementContentPostLocation = $this->element->getContentPostLocation();
         if ($elementContentPostLocation) {
             return $elementContentPostLocation . '.' . $this->model->handle;
         }
     }
 }