src/Subjects/AbstractProductSubject.php
public function getLinkTypeColumnCallback($columnName)
    {

        // query whether or not a callback mapping is available
        if (isset($this->linkTypeAttributeColumnToCallbackMapping[$columnName])) {
            // load it from the array with the mappings
            list (, $callbackName) = $this->linkTypeAttributeColumnToCallbackMapping[$columnName];
            // prepare and return the callback
            return array($this, $callbackName);
        }

        // return the default callback
        return array($this, 'explode');
    }
public function getLinkTypeColumnCallback($columnName)
    {

        // query whether or not a callback mapping is available
        if (isset($this->linkTypeAttributeColumnToCallbackMapping[$columnName])) {
            // load it from the array with the mappings
            list (, $callbackName) = $this->linkTypeAttributeColumnToCallbackMapping[$columnName];
            // prepare and return the callback
            return array($this, $callbackName);
        }

        // return the default callback
        return array($this, 'explode');
    }
public function getLinkTypeColumnCallback ( $ columnName ) { // query whether or not a callback mapping is available if ( isset ( $ this -> linkTypeAttributeColumnToCallbackMapping [ $ columnName ] ) ) { // load it from the array with the mappings list ( , $ callbackName ) = $ this -> linkTypeAttributeColumnToCallbackMapping [ $ columnName ] ; // prepare and return the callback return array ( $ this , $ callbackName ) ; } // return the default callback return array ( $ this , 'explode' ) ; }
Returns the callback method used to extract the value of the passed
column to create the link type attribute value with.

@param string $columnName The column name to create the callback for

@return callable The callback
Returns the callback method used to extract the value of the passed column to create the link type attribute value with .